@integrity-labs/agt-cli 0.28.374 → 0.28.376

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
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-NSRSWHXX.js";
43
+ } from "../chunk-KHAXB7KJ.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -70,7 +70,7 @@ import {
70
70
  renderTemplate,
71
71
  resolveChannels,
72
72
  serializeManifestForSlackCli
73
- } from "../chunk-TRBANZZ4.js";
73
+ } from "../chunk-EZ5DJZ6Q.js";
74
74
  import "../chunk-XWVM4KPK.js";
75
75
 
76
76
  // src/bin/agt.ts
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
4829
4829
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4830
4830
  import chalk18 from "chalk";
4831
4831
  import ora16 from "ora";
4832
- var cliVersion = true ? "0.28.374" : "dev";
4832
+ var cliVersion = true ? "0.28.376" : "dev";
4833
4833
  async function fetchLatestVersion() {
4834
4834
  const host2 = getHost();
4835
4835
  if (!host2) return null;
@@ -6001,7 +6001,7 @@ function handleError(err) {
6001
6001
  }
6002
6002
 
6003
6003
  // src/bin/agt.ts
6004
- var cliVersion2 = true ? "0.28.374" : "dev";
6004
+ var cliVersion2 = true ? "0.28.376" : "dev";
6005
6005
  var program = new Command();
6006
6006
  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");
6007
6007
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -12130,4 +12130,4 @@ export {
12130
12130
  stopAllSessionsAndWait,
12131
12131
  getProjectDir
12132
12132
  };
12133
- //# sourceMappingURL=chunk-TRBANZZ4.js.map
12133
+ //# sourceMappingURL=chunk-EZ5DJZ6Q.js.map
@@ -25,7 +25,7 @@ import {
25
25
  resolveConnectivityProbe,
26
26
  worseConnectivityOutcome,
27
27
  wrapScheduledTaskPrompt
28
- } from "./chunk-TRBANZZ4.js";
28
+ } from "./chunk-EZ5DJZ6Q.js";
29
29
  import {
30
30
  parsePsRows
31
31
  } from "./chunk-XWVM4KPK.js";
@@ -753,6 +753,23 @@ belongs in a **skill** (auto-loads on the task); a one-off fact or preference
753
753
  belongs in **memory** (recall). Route repeated procedures to skills, not just
754
754
  memory. Either way the human approves first - you offer, they confirm.
755
755
 
756
+ ### Required frontmatter in every skill body
757
+
758
+ Every skill body passed to \`skill_create\` or \`skill_update\` **must** begin with a YAML frontmatter block that includes a non-empty \`description:\` field:
759
+
760
+ \`\`\`markdown
761
+ ---
762
+ name: "my-skill"
763
+ description: "One sentence that triggers auto-activation in CLAUDE.md - be specific about when to use the skill."
764
+ ---
765
+
766
+ # Skill body starts here
767
+ \`\`\`
768
+
769
+ **Why this matters:** the manager reads \`description:\` from the frontmatter (not from the \`description\` argument to \`skill_create\`) to build the CLAUDE.md skills index that drives auto-activation. A missing or empty \`description:\` causes the skill to appear as \`(no description)\` in the index and it will never auto-activate. The API enforces this: \`skill_create\` and \`skill_update\` return an error if \`body\` is supplied without valid frontmatter (ENG-7960).
770
+
771
+ The \`name:\` field is optional but recommended - it identifies the skill in the delivered SKILL.md for human readers.
772
+
756
773
  ### Always confirm scope before creating
757
774
 
758
775
  Before invoking \`skill_create\`, ask the user: **"Should this skill be
@@ -6166,7 +6183,7 @@ function requireHost() {
6166
6183
  }
6167
6184
 
6168
6185
  // src/lib/api-client.ts
6169
- var agtCliVersion = true ? "0.28.374" : "dev";
6186
+ var agtCliVersion = true ? "0.28.376" : "dev";
6170
6187
  var lastConfigHash = null;
6171
6188
  function setConfigHash(hash) {
6172
6189
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8612,4 +8629,4 @@ export {
8612
8629
  managerInstallSystemUnitCommand,
8613
8630
  managerUninstallSystemUnitCommand
8614
8631
  };
8615
- //# sourceMappingURL=chunk-NSRSWHXX.js.map
8632
+ //# sourceMappingURL=chunk-KHAXB7KJ.js.map