@integrity-labs/agt-cli 0.19.3 → 0.19.5
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 +3 -3
- package/dist/{chunk-CZGII2KB.js → chunk-IOTGOCC4.js} +33 -2
- package/dist/chunk-IOTGOCC4.js.map +1 -0
- package/dist/lib/manager-worker.js +52 -16
- package/dist/lib/manager-worker.js.map +1 -1
- package/mcp/index.js +134 -0
- package/package.json +1 -1
- package/dist/chunk-CZGII2KB.js.map +0 -1
package/dist/bin/agt.js
CHANGED
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
success,
|
|
51
51
|
table,
|
|
52
52
|
warn
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-IOTGOCC4.js";
|
|
54
54
|
|
|
55
55
|
// src/bin/agt.ts
|
|
56
56
|
import { join as join10 } from "path";
|
|
@@ -3734,7 +3734,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
3734
3734
|
import { existsSync as existsSync5, realpathSync } from "fs";
|
|
3735
3735
|
import chalk17 from "chalk";
|
|
3736
3736
|
import ora15 from "ora";
|
|
3737
|
-
var cliVersion = true ? "0.19.
|
|
3737
|
+
var cliVersion = true ? "0.19.5" : "dev";
|
|
3738
3738
|
async function fetchLatestVersion() {
|
|
3739
3739
|
const host2 = getHost();
|
|
3740
3740
|
if (!host2) return null;
|
|
@@ -4192,7 +4192,7 @@ function handleError(err) {
|
|
|
4192
4192
|
}
|
|
4193
4193
|
|
|
4194
4194
|
// src/bin/agt.ts
|
|
4195
|
-
var cliVersion2 = true ? "0.19.
|
|
4195
|
+
var cliVersion2 = true ? "0.19.5" : "dev";
|
|
4196
4196
|
var program = new Command();
|
|
4197
4197
|
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");
|
|
4198
4198
|
program.hook("preAction", (thisCommand) => {
|
|
@@ -2749,6 +2749,36 @@ ${lines.join("\n")}
|
|
|
2749
2749
|
|
|
2750
2750
|
Check \`.claude/skills/\` for detailed usage instructions for each integration.
|
|
2751
2751
|
|
|
2752
|
+
`;
|
|
2753
|
+
}
|
|
2754
|
+
function buildSkillAuthoringSection() {
|
|
2755
|
+
return `## Skill authoring
|
|
2756
|
+
|
|
2757
|
+
When the user asks you to **create**, **update**, or **author** a skill,
|
|
2758
|
+
you MUST use the Augmented MCP tools \u2014 never write to
|
|
2759
|
+
\`.claude/skills/<name>/SKILL.md\` yourself with \`Write\`/\`Edit\`.
|
|
2760
|
+
|
|
2761
|
+
- **\`mcp__augmented__skill_create\`** \u2014 author a brand-new skill
|
|
2762
|
+
- **\`mcp__augmented__skill_update\`** \u2014 modify an existing skill
|
|
2763
|
+
- **\`mcp__augmented__skill_read\`** \u2014 pull a skill's current contents
|
|
2764
|
+
before editing
|
|
2765
|
+
- **\`mcp__augmented__skill_list\`** \u2014 discover what skills exist for
|
|
2766
|
+
this team
|
|
2767
|
+
- **\`mcp__augmented__skill_improve\`** \u2014 propose targeted edits
|
|
2768
|
+
|
|
2769
|
+
Why this matters: skills authored via the MCP land in the team-scoped
|
|
2770
|
+
\`skill_definitions\` registry, so every agent on the team picks them
|
|
2771
|
+
up on next refresh, the manager re-provisions them on the agent's host,
|
|
2772
|
+
and operators see them in the webapp's pending-skills queue for review.
|
|
2773
|
+
Files written to local \`.claude/skills/\` get wiped the next time the
|
|
2774
|
+
manager rebuilds the provision tree, never reach other agents, and
|
|
2775
|
+
bypass the operator-review workflow entirely.
|
|
2776
|
+
|
|
2777
|
+
If your charter doesn't authorise team-scope skill writes
|
|
2778
|
+
(\`charter.tools.skills.write_team\` is false), the MCP call will be
|
|
2779
|
+
refused server-side \u2014 surface that error to the user rather than
|
|
2780
|
+
falling back to a local-disk write.
|
|
2781
|
+
|
|
2752
2782
|
`;
|
|
2753
2783
|
}
|
|
2754
2784
|
function buildPersonalitySection(seed) {
|
|
@@ -2835,6 +2865,7 @@ function generateClaudeMd(input) {
|
|
|
2835
2865
|
const memorySection = buildMemorySection(hasQmd);
|
|
2836
2866
|
const integrationsSection = buildIntegrationsSection(integrations);
|
|
2837
2867
|
const knowledgeSection = buildKnowledgeSection2(knowledge);
|
|
2868
|
+
const skillAuthoringSection = buildSkillAuthoringSection();
|
|
2838
2869
|
const personalitySection = buildPersonalitySection(personalitySeed);
|
|
2839
2870
|
const reportsToSection = buildReportsToSection2(reportsTo);
|
|
2840
2871
|
const teamSection = buildTeamSection(teamMembers);
|
|
@@ -2982,7 +3013,7 @@ first to load your recent board state. This gives you context about completed an
|
|
|
2982
3013
|
in-progress items so you can answer accurately.
|
|
2983
3014
|
|
|
2984
3015
|
${memorySection}
|
|
2985
|
-
${reportsToSection}${teamSection}${peopleSection}${integrationsSection}${knowledgeSection}## Dashboards
|
|
3016
|
+
${reportsToSection}${teamSection}${peopleSection}${integrationsSection}${knowledgeSection}${skillAuthoringSection}## Dashboards
|
|
2986
3017
|
|
|
2987
3018
|
You can publish your own dashboards inside the Augmented console. They are
|
|
2988
3019
|
**first-class platform artifacts** \u2014 KPI tiles, charts, refresh-on-demand \u2014
|
|
@@ -8150,4 +8181,4 @@ export {
|
|
|
8150
8181
|
managerInstallSystemUnitCommand,
|
|
8151
8182
|
managerUninstallSystemUnitCommand
|
|
8152
8183
|
};
|
|
8153
|
-
//# sourceMappingURL=chunk-
|
|
8184
|
+
//# sourceMappingURL=chunk-IOTGOCC4.js.map
|