@integrity-labs/agt-cli 0.27.19 → 0.27.20

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/bin/agt.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  success,
28
28
  table,
29
29
  warn
30
- } from "../chunk-OUPCUHJZ.js";
30
+ } from "../chunk-42X4APXP.js";
31
31
  import {
32
32
  CHANNEL_REGISTRY,
33
33
  DEPLOYMENT_TEMPLATES,
@@ -4643,7 +4643,7 @@ import { execFileSync, execSync } from "child_process";
4643
4643
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4644
4644
  import chalk18 from "chalk";
4645
4645
  import ora16 from "ora";
4646
- var cliVersion = true ? "0.27.19" : "dev";
4646
+ var cliVersion = true ? "0.27.20" : "dev";
4647
4647
  async function fetchLatestVersion() {
4648
4648
  const host2 = getHost();
4649
4649
  if (!host2) return null;
@@ -5175,7 +5175,7 @@ function handleError(err) {
5175
5175
  }
5176
5176
 
5177
5177
  // src/bin/agt.ts
5178
- var cliVersion2 = true ? "0.27.19" : "dev";
5178
+ var cliVersion2 = true ? "0.27.20" : "dev";
5179
5179
  var program = new Command();
5180
5180
  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");
5181
5181
  program.hook("preAction", (thisCommand) => {
@@ -6910,4 +6910,4 @@ export {
6910
6910
  managerInstallSystemUnitCommand,
6911
6911
  managerUninstallSystemUnitCommand
6912
6912
  };
6913
- //# sourceMappingURL=chunk-OUPCUHJZ.js.map
6913
+ //# sourceMappingURL=chunk-42X4APXP.js.map
@@ -15,7 +15,7 @@ import {
15
15
  provisionOrientHook,
16
16
  provisionStopHook,
17
17
  requireHost
18
- } from "../chunk-OUPCUHJZ.js";
18
+ } from "../chunk-42X4APXP.js";
19
19
  import {
20
20
  getProjectDir as getProjectDir2,
21
21
  getReadyTasks,
@@ -3166,7 +3166,7 @@ var cachedFrameworkVersion = null;
3166
3166
  var lastVersionCheckAt = 0;
3167
3167
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
3168
3168
  var lastResponsivenessProbeAt = 0;
3169
- var agtCliVersion = true ? "0.27.19" : "dev";
3169
+ var agtCliVersion = true ? "0.27.20" : "dev";
3170
3170
  function resolveBrewPath(execFileSync4) {
3171
3171
  try {
3172
3172
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
package/dist/mcp/index.js CHANGED
@@ -21771,7 +21771,12 @@ server.tool(
21771
21771
  "schedule_update",
21772
21772
  // Lead with user phrasings the agent should match against, then explain
21773
21773
  // the two modes. Order matters for tool selection.
21774
- 'Update an existing scheduled task. USE THIS TOOL when the user says: "change the schedule for X", "run the daily report at 10am instead of 9am", "pause the standup schedule", "move the weekly digest to Mondays", "make this report more concise", "add a section about X to the daily summary", "tell the Y schedule to also cover Z", "post these to the Customer Success channel from now on". Two modes: (1) DIRECT FIELD UPDATES \u2014 set cron_expression/interval/timezone/delivery_channel/delivery_to/enabled/name/prompt to change those values directly. (2) LLM DESCRIPTION REWRITE \u2014 pass description_feedback to have the platform rewrite the task prompt based on natural-language feedback (e.g. "make this more concise" or "add a section about the team backlog"). Default for LLM rewrites is preview-then-apply: call once to get the proposed rewrite, show the diff to the user, call again with auto_apply=true on confirmation. Direct field updates apply immediately. The two modes are mutually exclusive \u2014 one request is EITHER a field update OR a description rewrite.\n\nIMPORTANT \u2014 `delivery_to` requires a Slack channel ID (e.g. `C0123ABC456`), NOT a human channel name. If the user references a channel by its name ("the Customer Success channel"), call `mcp__slack__slack.list_channels` first with `query: "customer success"` to get the matching `id`, then pass that id as `delivery_to` here. Do not guess channel ids.',
21774
+ // CR PR #1601: field names + delivery_to shape brought into line with the
21775
+ // actual zod schema below. The prior copy referenced `cron_expression` /
21776
+ // `interval` (which the schema doesn't accept) and described
21777
+ // `delivery_to` as a raw channel ID (it's a structured DeliveryTargetSchema
21778
+ // object). Agents reading the old wording were producing invalid calls.
21779
+ 'Update an existing scheduled task. USE THIS TOOL when the user says: "change the schedule for X", "run the daily report at 10am instead of 9am", "pause the standup schedule", "move the weekly digest to Mondays", "make this report more concise", "add a section about X to the daily summary", "tell the Y schedule to also cover Z", "post these to the Customer Success channel from now on". Two modes: (1) DIRECT FIELD UPDATES \u2014 set schedule_expr/schedule_every/schedule_at/timezone/delivery_channel/delivery_to/enabled/name/prompt to change those values directly (pair the expression field with the matching schedule_kind: cron/every/at). (2) LLM DESCRIPTION REWRITE \u2014 pass description_feedback to have the platform rewrite the task prompt based on natural-language feedback (e.g. "make this more concise" or "add a section about the team backlog"). Default for LLM rewrites is preview-then-apply: call once to get the proposed rewrite, show the diff to the user, call again with auto_apply=true on confirmation. Direct field updates apply immediately. The two modes are mutually exclusive \u2014 one request is EITHER a field update OR a description rewrite.\n\nIMPORTANT \u2014 `delivery_to` is a structured target object, not a human channel name. If the user references a Slack channel by name ("the Customer Success channel"), call `mcp__slack__slack.list_channels` first with `query: "customer success"` to get the matching `id`, then pass `delivery_to: { kind: "channel", provider: "slack", channel_id: "<id>" }`. Do not guess channel ids.',
21775
21780
  {
21776
21781
  task_id: external_exports.string().describe("The task ID to update (from schedule_list)"),
21777
21782
  // Direct-field mode
@@ -22279,32 +22284,46 @@ async function forwardToolCall(toolName, args) {
22279
22284
  FORWARD_TOOL_CALL_TIMEOUT_MS
22280
22285
  );
22281
22286
  }
22287
+ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
22288
+ "kanban_list",
22289
+ "kanban_add",
22290
+ "kanban_move",
22291
+ "kanban_update",
22292
+ "kanban_progress",
22293
+ "kanban_done",
22294
+ "status_standup",
22295
+ "status_update",
22296
+ "drift_report",
22297
+ "token_refresh",
22298
+ "acpx_prompt",
22299
+ "acpx_exec",
22300
+ "acpx_spawn",
22301
+ "acpx_cancel",
22302
+ "acpx_status",
22303
+ "acpx_close",
22304
+ "schedule_list",
22305
+ "schedule_create",
22306
+ "schedule_delete",
22307
+ "schedule_update",
22308
+ "knowledge_list",
22309
+ "knowledge_add",
22310
+ "knowledge_update",
22311
+ "knowledge_delete",
22312
+ "plugin_list",
22313
+ "plugin_improve",
22314
+ "dashboards_list",
22315
+ "dashboards_show",
22316
+ "dashboards_upsert",
22317
+ "dashboards_request_refresh",
22318
+ "dashboards_pending_refreshes",
22319
+ "dashboards_persist_widget",
22320
+ "projects_list",
22321
+ "projects_get",
22322
+ "projects_get_source_chunk"
22323
+ ]);
22282
22324
  async function registerForwardedApiTools() {
22283
22325
  const apiTools = await discoverApiTools();
22284
- const localToolNames = /* @__PURE__ */ new Set([
22285
- "kanban_list",
22286
- "kanban_add",
22287
- "kanban_move",
22288
- "kanban_update",
22289
- "kanban_progress",
22290
- "kanban_done",
22291
- "status_standup",
22292
- "status_update",
22293
- "drift_report",
22294
- "token_refresh",
22295
- "acpx_prompt",
22296
- "acpx_exec",
22297
- "acpx_spawn",
22298
- "acpx_cancel",
22299
- "knowledge_list",
22300
- "knowledge_search",
22301
- "knowledge_read",
22302
- "knowledge_add",
22303
- "knowledge_update",
22304
- "knowledge_delete",
22305
- "plugin_list",
22306
- "plugin_improve"
22307
- ]);
22326
+ const localToolNames = LOCAL_TOOL_NAMES;
22308
22327
  let registered = 0;
22309
22328
  let skipped = 0;
22310
22329
  for (const tool of apiTools) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.27.19",
3
+ "version": "0.27.20",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {