@integrity-labs/agt-cli 0.28.2 → 0.28.3
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-ZBMZTL7G.js → chunk-CPJ4TFUO.js} +40 -2
- package/dist/chunk-CPJ4TFUO.js.map +1 -0
- package/dist/{chunk-K2HIV5DB.js → chunk-LIB6VTH3.js} +2 -2
- package/dist/{chunk-I6QV3IE7.js → chunk-NS4G4HHD.js} +15 -1
- package/dist/{chunk-I6QV3IE7.js.map → chunk-NS4G4HHD.js.map} +1 -1
- package/dist/{claude-pair-runtime-H73LQ5AR.js → claude-pair-runtime-OACH27NE.js} +2 -2
- package/dist/lib/manager-worker.js +30 -9
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-QXLGGGO2.js → persistent-session-DSG4HI4R.js} +3 -3
- package/dist/{responsiveness-probe-3BUUOZZO.js → responsiveness-probe-GX5W4ZMI.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-ZBMZTL7G.js.map +0 -1
- /package/dist/{chunk-K2HIV5DB.js.map → chunk-LIB6VTH3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-H73LQ5AR.js.map → claude-pair-runtime-OACH27NE.js.map} +0 -0
- /package/dist/{persistent-session-QXLGGGO2.js.map → persistent-session-DSG4HI4R.js.map} +0 -0
- /package/dist/{responsiveness-probe-3BUUOZZO.js.map → responsiveness-probe-GX5W4ZMI.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
success,
|
|
34
34
|
table,
|
|
35
35
|
warn
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-CPJ4TFUO.js";
|
|
37
37
|
import {
|
|
38
38
|
CHANNEL_REGISTRY,
|
|
39
39
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
renderTemplate,
|
|
61
61
|
resolveChannels,
|
|
62
62
|
serializeManifestForSlackCli
|
|
63
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-NS4G4HHD.js";
|
|
64
64
|
|
|
65
65
|
// src/bin/agt.ts
|
|
66
66
|
import { join as join21 } from "path";
|
|
@@ -4773,7 +4773,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4773
4773
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4774
4774
|
import chalk18 from "chalk";
|
|
4775
4775
|
import ora16 from "ora";
|
|
4776
|
-
var cliVersion = true ? "0.28.
|
|
4776
|
+
var cliVersion = true ? "0.28.3" : "dev";
|
|
4777
4777
|
async function fetchLatestVersion() {
|
|
4778
4778
|
const host2 = getHost();
|
|
4779
4779
|
if (!host2) return null;
|
|
@@ -5696,7 +5696,7 @@ function handleError(err) {
|
|
|
5696
5696
|
}
|
|
5697
5697
|
|
|
5698
5698
|
// src/bin/agt.ts
|
|
5699
|
-
var cliVersion2 = true ? "0.28.
|
|
5699
|
+
var cliVersion2 = true ? "0.28.3" : "dev";
|
|
5700
5700
|
var program = new Command();
|
|
5701
5701
|
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");
|
|
5702
5702
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
registerFramework,
|
|
15
15
|
resolveAvatarEnvUrl,
|
|
16
16
|
wrapScheduledTaskPrompt
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NS4G4HHD.js";
|
|
18
18
|
|
|
19
19
|
// ../../packages/core/dist/integrations/registry.js
|
|
20
20
|
var INTEGRATION_REGISTRY = [
|
|
@@ -4342,6 +4342,36 @@ function deployArtifactsToProject(codeName, provisionDir) {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
} catch {
|
|
4344
4344
|
}
|
|
4345
|
+
const workflowsDir = join4(provisionDir, ".claude", "workflows");
|
|
4346
|
+
const destWorkflowsDir = join4(projectDir, ".claude", "workflows");
|
|
4347
|
+
try {
|
|
4348
|
+
const sourceWorkflowFiles = existsSync5(workflowsDir) ? new Set(readdirSync(workflowsDir).filter((f) => f.endsWith(".js"))) : /* @__PURE__ */ new Set();
|
|
4349
|
+
if (existsSync5(destWorkflowsDir)) {
|
|
4350
|
+
for (const destFile of readdirSync(destWorkflowsDir)) {
|
|
4351
|
+
if (!destFile.endsWith(".js"))
|
|
4352
|
+
continue;
|
|
4353
|
+
if (sourceWorkflowFiles.has(destFile))
|
|
4354
|
+
continue;
|
|
4355
|
+
try {
|
|
4356
|
+
rmSync(join4(destWorkflowsDir, destFile));
|
|
4357
|
+
} catch {
|
|
4358
|
+
}
|
|
4359
|
+
}
|
|
4360
|
+
}
|
|
4361
|
+
for (const workflowFile of sourceWorkflowFiles) {
|
|
4362
|
+
const srcPath = join4(workflowsDir, workflowFile);
|
|
4363
|
+
const destPath = join4(destWorkflowsDir, workflowFile);
|
|
4364
|
+
const srcContent = readFileSync5(srcPath, "utf-8");
|
|
4365
|
+
try {
|
|
4366
|
+
if (existsSync5(destPath) && readFileSync5(destPath, "utf-8") === srcContent)
|
|
4367
|
+
continue;
|
|
4368
|
+
} catch {
|
|
4369
|
+
}
|
|
4370
|
+
mkdirSync4(destWorkflowsDir, { recursive: true });
|
|
4371
|
+
writeFileSync5(destPath, srcContent);
|
|
4372
|
+
}
|
|
4373
|
+
} catch {
|
|
4374
|
+
}
|
|
4345
4375
|
const agentMcpPath = join4(getAgentDir(codeName), "provision", ".mcp.json");
|
|
4346
4376
|
const projectMcpPath = join4(projectDir, ".mcp.json");
|
|
4347
4377
|
try {
|
|
@@ -5647,6 +5677,14 @@ description: ${JSON.stringify(description)}
|
|
|
5647
5677
|
${sections}`
|
|
5648
5678
|
});
|
|
5649
5679
|
}
|
|
5680
|
+
for (const workflow of input.workflows ?? []) {
|
|
5681
|
+
if (!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(workflow.name))
|
|
5682
|
+
continue;
|
|
5683
|
+
artifacts.push({
|
|
5684
|
+
relativePath: `.claude/workflows/${workflow.name}.js`,
|
|
5685
|
+
content: workflow.script
|
|
5686
|
+
});
|
|
5687
|
+
}
|
|
5650
5688
|
artifacts.push({ relativePath: ".git-hooks/pre-commit", content: PRE_COMMIT_HOOK });
|
|
5651
5689
|
return artifacts;
|
|
5652
5690
|
},
|
|
@@ -8237,4 +8275,4 @@ export {
|
|
|
8237
8275
|
managerInstallSystemUnitCommand,
|
|
8238
8276
|
managerUninstallSystemUnitCommand
|
|
8239
8277
|
};
|
|
8240
|
-
//# sourceMappingURL=chunk-
|
|
8278
|
+
//# sourceMappingURL=chunk-CPJ4TFUO.js.map
|