@integrity-labs/agt-cli 0.28.119 → 0.28.120
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
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
success,
|
|
38
38
|
table,
|
|
39
39
|
warn
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-O3NKAOGE.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -4777,7 +4777,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4777
4777
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4778
4778
|
import chalk18 from "chalk";
|
|
4779
4779
|
import ora16 from "ora";
|
|
4780
|
-
var cliVersion = true ? "0.28.
|
|
4780
|
+
var cliVersion = true ? "0.28.120" : "dev";
|
|
4781
4781
|
async function fetchLatestVersion() {
|
|
4782
4782
|
const host2 = getHost();
|
|
4783
4783
|
if (!host2) return null;
|
|
@@ -5791,7 +5791,7 @@ function handleError(err) {
|
|
|
5791
5791
|
}
|
|
5792
5792
|
|
|
5793
5793
|
// src/bin/agt.ts
|
|
5794
|
-
var cliVersion2 = true ? "0.28.
|
|
5794
|
+
var cliVersion2 = true ? "0.28.120" : "dev";
|
|
5795
5795
|
var program = new Command();
|
|
5796
5796
|
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");
|
|
5797
5797
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -917,28 +917,34 @@ function buildKnowledgeSection(knowledge) {
|
|
|
917
917
|
return "";
|
|
918
918
|
const orgEntries = knowledge.filter((k) => k.scope === "org");
|
|
919
919
|
const teamEntries = knowledge.filter((k) => k.scope === "team");
|
|
920
|
+
const globalEntries = knowledge.filter((k) => k.scope === "global");
|
|
920
921
|
const formatEntry = (k) => `- **${k.title}** \u2192 \`knowledge/${k.slug}.md\``;
|
|
921
|
-
|
|
922
|
+
const groups = [];
|
|
922
923
|
if (orgEntries.length) {
|
|
923
|
-
|
|
924
|
+
groups.push(`### Organization
|
|
924
925
|
|
|
925
926
|
${orgEntries.map(formatEntry).join("\n")}
|
|
926
|
-
|
|
927
|
-
}
|
|
928
|
-
if (orgEntries.length && teamEntries.length) {
|
|
929
|
-
body += "\n";
|
|
927
|
+
`);
|
|
930
928
|
}
|
|
931
929
|
if (teamEntries.length) {
|
|
932
|
-
|
|
930
|
+
groups.push(`### Team
|
|
933
931
|
|
|
934
932
|
${teamEntries.map(formatEntry).join("\n")}
|
|
935
|
-
|
|
933
|
+
`);
|
|
934
|
+
}
|
|
935
|
+
if (globalEntries.length) {
|
|
936
|
+
groups.push(`### Augmented Team
|
|
937
|
+
|
|
938
|
+
${globalEntries.map(formatEntry).join("\n")}
|
|
939
|
+
`);
|
|
936
940
|
}
|
|
941
|
+
const body = groups.join("\n");
|
|
937
942
|
return `
|
|
938
943
|
## Core Knowledge
|
|
939
944
|
|
|
940
|
-
|
|
941
|
-
|
|
945
|
+
The following knowledge is available to you (it may come from your team, your
|
|
946
|
+
organization, or Augmented Team). Read the relevant files when you need context
|
|
947
|
+
about who you work for or how to operate.
|
|
942
948
|
|
|
943
949
|
${body}`;
|
|
944
950
|
}
|
|
@@ -2769,28 +2775,34 @@ function buildKnowledgeSection2(knowledge) {
|
|
|
2769
2775
|
return "";
|
|
2770
2776
|
const orgEntries = knowledge.filter((k) => k.scope === "org");
|
|
2771
2777
|
const teamEntries = knowledge.filter((k) => k.scope === "team");
|
|
2778
|
+
const globalEntries = knowledge.filter((k) => k.scope === "global");
|
|
2772
2779
|
const formatEntry = (k) => `- **${k.title}**`;
|
|
2773
|
-
|
|
2780
|
+
const groups = [];
|
|
2774
2781
|
if (orgEntries.length) {
|
|
2775
|
-
|
|
2782
|
+
groups.push(`### Organization
|
|
2776
2783
|
|
|
2777
2784
|
${orgEntries.map(formatEntry).join("\n")}
|
|
2778
|
-
|
|
2779
|
-
}
|
|
2780
|
-
if (orgEntries.length && teamEntries.length) {
|
|
2781
|
-
body += "\n";
|
|
2785
|
+
`);
|
|
2782
2786
|
}
|
|
2783
2787
|
if (teamEntries.length) {
|
|
2784
|
-
|
|
2788
|
+
groups.push(`### Team
|
|
2785
2789
|
|
|
2786
2790
|
${teamEntries.map(formatEntry).join("\n")}
|
|
2787
|
-
|
|
2791
|
+
`);
|
|
2792
|
+
}
|
|
2793
|
+
if (globalEntries.length) {
|
|
2794
|
+
groups.push(`### Augmented Team
|
|
2795
|
+
|
|
2796
|
+
${globalEntries.map(formatEntry).join("\n")}
|
|
2797
|
+
`);
|
|
2788
2798
|
}
|
|
2799
|
+
const body = groups.join("\n");
|
|
2789
2800
|
return `## Core Knowledge
|
|
2790
2801
|
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2802
|
+
The following core knowledge is available to you via the \`core-knowledge\`
|
|
2803
|
+
skill (it may come from your team, your organization, or Augmented Team). It is
|
|
2804
|
+
automatically available; Claude Code will surface it when you need context. You
|
|
2805
|
+
do not need to read files manually.
|
|
2794
2806
|
|
|
2795
2807
|
${body}
|
|
2796
2808
|
`;
|
|
@@ -6033,7 +6045,7 @@ var claudeCodeAdapter = {
|
|
|
6033
6045
|
if (knowledgeEntries.length > 0 && includeFiles) {
|
|
6034
6046
|
const safeTitles = knowledgeEntries.map((k) => k.title.replace(/[\n\r"\\]/g, " ").trim().toLowerCase()).filter(Boolean);
|
|
6035
6047
|
const sections = knowledgeEntries.map((entry) => {
|
|
6036
|
-
const scopeLabel = entry.scope === "org" ? "Organization" : "Team";
|
|
6048
|
+
const scopeLabel = entry.scope === "org" ? "Organization" : entry.scope === "global" ? "Augmented Team" : "Team";
|
|
6037
6049
|
const safeTitle = entry.title.replace(/[\n\r]/g, " ").trim();
|
|
6038
6050
|
return `## ${safeTitle}
|
|
6039
6051
|
*${scopeLabel} knowledge*
|
|
@@ -7641,7 +7653,7 @@ function requireHost() {
|
|
|
7641
7653
|
}
|
|
7642
7654
|
|
|
7643
7655
|
// src/lib/api-client.ts
|
|
7644
|
-
var agtCliVersion = true ? "0.28.
|
|
7656
|
+
var agtCliVersion = true ? "0.28.120" : "dev";
|
|
7645
7657
|
var lastConfigHash = null;
|
|
7646
7658
|
function setConfigHash(hash) {
|
|
7647
7659
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8938,4 +8950,4 @@ export {
|
|
|
8938
8950
|
managerInstallSystemUnitCommand,
|
|
8939
8951
|
managerUninstallSystemUnitCommand
|
|
8940
8952
|
};
|
|
8941
|
-
//# sourceMappingURL=chunk-
|
|
8953
|
+
//# sourceMappingURL=chunk-O3NKAOGE.js.map
|