@integrity-labs/agt-cli 0.28.129 → 0.28.130
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 +4 -4
- package/dist/{chunk-NCRDTQ54.js → chunk-RIT2OY5S.js} +29 -21
- package/dist/chunk-RIT2OY5S.js.map +1 -0
- package/dist/{chunk-KIHRKGQI.js → chunk-RTSX4A54.js} +26 -22
- package/dist/chunk-RTSX4A54.js.map +1 -0
- package/dist/{chunk-GNDZBP3I.js → chunk-XBF7ACI5.js} +2 -2
- package/dist/{claude-pair-runtime-DDIIKRDG.js → claude-pair-runtime-F5KZNGVO.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/{persistent-session-YPKC2K44.js → persistent-session-YU3FIAUK.js} +3 -3
- package/dist/{responsiveness-probe-43JLWBJI.js → responsiveness-probe-TN5JW2NM.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-KIHRKGQI.js.map +0 -1
- package/dist/chunk-NCRDTQ54.js.map +0 -1
- /package/dist/{chunk-GNDZBP3I.js.map → chunk-XBF7ACI5.js.map} +0 -0
- /package/dist/{claude-pair-runtime-DDIIKRDG.js.map → claude-pair-runtime-F5KZNGVO.js.map} +0 -0
- /package/dist/{persistent-session-YPKC2K44.js.map → persistent-session-YU3FIAUK.js.map} +0 -0
- /package/dist/{responsiveness-probe-43JLWBJI.js.map → responsiveness-probe-TN5JW2NM.js.map} +0 -0
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-RTSX4A54.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
renderTemplate,
|
|
65
65
|
resolveChannels,
|
|
66
66
|
serializeManifestForSlackCli
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-RIT2OY5S.js";
|
|
68
68
|
|
|
69
69
|
// src/bin/agt.ts
|
|
70
70
|
import { join as join22 } from "path";
|
|
@@ -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.130" : "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.130" : "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) => {
|
|
@@ -1930,20 +1930,33 @@ var charter_frontmatter_v1_default = {
|
|
|
1930
1930
|
},
|
|
1931
1931
|
tools: {
|
|
1932
1932
|
type: "object",
|
|
1933
|
-
description: "ENG-
|
|
1933
|
+
description: "ENG-6707: agent-driven skill authoring is governed by the SkillSpector scanner gate; tools.skills carries only the shared-scope kill switch.",
|
|
1934
1934
|
properties: {
|
|
1935
1935
|
skills: {
|
|
1936
1936
|
type: "object",
|
|
1937
1937
|
properties: {
|
|
1938
|
+
shared_authoring: {
|
|
1939
|
+
type: "boolean",
|
|
1940
|
+
default: true,
|
|
1941
|
+
description: "ENG-6707 kill switch for agent-driven shared-scope (team/organization) skill authoring. Default true (open): shared skills auto-publish on a clean SkillSpector scan, else land as drafts for operator review (fail-closed). Set false to revoke shared-scope authoring for a compromised agent; agent-scope authoring stays available."
|
|
1942
|
+
},
|
|
1938
1943
|
write_team: {
|
|
1939
1944
|
type: "boolean",
|
|
1940
1945
|
default: false,
|
|
1941
|
-
|
|
1946
|
+
deprecated: true,
|
|
1947
|
+
description: "DEPRECATED (ENG-6707): ignored. Superseded by the scanner gate + shared_authoring kill switch. Retained so charters written before the migration still validate."
|
|
1948
|
+
},
|
|
1949
|
+
write_organization: {
|
|
1950
|
+
type: "boolean",
|
|
1951
|
+
default: false,
|
|
1952
|
+
deprecated: true,
|
|
1953
|
+
description: "DEPRECATED (ENG-6707): ignored. Org-scope authoring is governed by the same scanner gate + shared_authoring kill switch as team scope. Retained so charters written before the migration still validate."
|
|
1942
1954
|
},
|
|
1943
1955
|
publish: {
|
|
1944
1956
|
type: "boolean",
|
|
1945
1957
|
default: false,
|
|
1946
|
-
|
|
1958
|
+
deprecated: true,
|
|
1959
|
+
description: "DEPRECATED (ENG-6707): ignored. Auto-publish is now driven by a clean SkillSpector scan, not this flag. Retained for back-compat."
|
|
1947
1960
|
}
|
|
1948
1961
|
},
|
|
1949
1962
|
additionalProperties: false
|
|
@@ -2488,13 +2501,16 @@ ${desc}
|
|
|
2488
2501
|
|
|
2489
2502
|
## Optional permissions
|
|
2490
2503
|
|
|
2491
|
-
|
|
2504
|
+
Agents may author skills at any scope by default. Shared-scope (team /
|
|
2505
|
+
organization) skills auto-publish on a clean SkillSpector scan and land as
|
|
2506
|
+
drafts for operator review otherwise. To REVOKE shared-scope authoring for a
|
|
2507
|
+
compromised agent, add the kill switch below to the YAML frontmatter above
|
|
2508
|
+
(agent-scope authoring stays available).
|
|
2492
2509
|
|
|
2493
2510
|
\`\`\`yaml
|
|
2494
2511
|
tools:
|
|
2495
2512
|
skills:
|
|
2496
|
-
|
|
2497
|
-
publish: false # ENG-4588: skip operator review for agent-authored skills
|
|
2513
|
+
shared_authoring: false # ENG-6707: revoke this agent's team/org skill authoring (default: true / open)
|
|
2498
2514
|
\`\`\`
|
|
2499
2515
|
`;
|
|
2500
2516
|
}
|
|
@@ -2613,22 +2629,14 @@ function runSemanticRules(file, charter) {
|
|
|
2613
2629
|
}
|
|
2614
2630
|
}
|
|
2615
2631
|
}
|
|
2616
|
-
|
|
2632
|
+
const skillsTools = charter.tools?.skills;
|
|
2633
|
+
if (skillsTools && (skillsTools.write_team !== void 0 || skillsTools.publish !== void 0 || skillsTools.write_organization !== void 0)) {
|
|
2617
2634
|
diagnostics.push({
|
|
2618
2635
|
file,
|
|
2619
|
-
code: "CHARTER.SEMANTIC.
|
|
2620
|
-
path: "tools.skills
|
|
2621
|
-
severity: "
|
|
2622
|
-
message: "
|
|
2623
|
-
});
|
|
2624
|
-
}
|
|
2625
|
-
if (charter.risk_tier === "High" && charter.tools?.skills?.write_team === true) {
|
|
2626
|
-
diagnostics.push({
|
|
2627
|
-
file,
|
|
2628
|
-
code: "CHARTER.SEMANTIC.HIGH_RISK_SKILL_WRITE_TEAM",
|
|
2629
|
-
path: "tools.skills.write_team",
|
|
2630
|
-
severity: "warning",
|
|
2631
|
-
message: "High-risk agents should not be granted tools.skills.write_team \u2014 they can pollute the shared team catalog"
|
|
2636
|
+
code: "CHARTER.SEMANTIC.SKILL_FLAGS_DEPRECATED",
|
|
2637
|
+
path: "tools.skills",
|
|
2638
|
+
severity: "info",
|
|
2639
|
+
message: "tools.skills.write_team / publish / write_organization are deprecated and ignored (ENG-6707). Agent-driven skill authoring is governed by the SkillSpector scan; set tools.skills.shared_authoring: false to revoke shared-scope authoring for a compromised agent."
|
|
2632
2640
|
});
|
|
2633
2641
|
}
|
|
2634
2642
|
return diagnostics;
|
|
@@ -5780,4 +5788,4 @@ export {
|
|
|
5780
5788
|
parseEnvIntegrations,
|
|
5781
5789
|
probeMcpEnvSubstitution
|
|
5782
5790
|
};
|
|
5783
|
-
//# sourceMappingURL=chunk-
|
|
5791
|
+
//# sourceMappingURL=chunk-RIT2OY5S.js.map
|