@integrity-labs/agt-cli 0.28.166 → 0.28.168
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-DYW5QFTU.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEFAULT_FRAMEWORK,
|
|
@@ -4778,7 +4778,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4778
4778
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4779
4779
|
import chalk18 from "chalk";
|
|
4780
4780
|
import ora16 from "ora";
|
|
4781
|
-
var cliVersion = true ? "0.28.
|
|
4781
|
+
var cliVersion = true ? "0.28.168" : "dev";
|
|
4782
4782
|
async function fetchLatestVersion() {
|
|
4783
4783
|
const host2 = getHost();
|
|
4784
4784
|
if (!host2) return null;
|
|
@@ -5792,7 +5792,7 @@ function handleError(err) {
|
|
|
5792
5792
|
}
|
|
5793
5793
|
|
|
5794
5794
|
// src/bin/agt.ts
|
|
5795
|
-
var cliVersion2 = true ? "0.28.
|
|
5795
|
+
var cliVersion2 = true ? "0.28.168" : "dev";
|
|
5796
5796
|
var program = new Command();
|
|
5797
5797
|
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");
|
|
5798
5798
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -3798,6 +3798,15 @@ write one of these, stop and call the tool first.
|
|
|
3798
3798
|
**When in doubt, create a task.** Err on the side of tracking work rather than
|
|
3799
3799
|
doing it silently. Any work that takes more than ~30 seconds should be a kanban task.
|
|
3800
3800
|
|
|
3801
|
+
**Two situations always warrant a task, even when the work looks quick: (1) you
|
|
3802
|
+
are about to request an approval (any deferred-approval / broker tool, such as an
|
|
3803
|
+
access grant, deploy gate, or channel post that needs a human OK), or (2) you are
|
|
3804
|
+
about to run code (execute a script, run a shell command, or otherwise change a
|
|
3805
|
+
system). Create the kanban task FIRST, before you fire the approval request or the
|
|
3806
|
+
code runs, so the work is visible and tracked rather than happening invisibly.**
|
|
3807
|
+
If the request is fuzzy, clarify scope first per below, then create the task
|
|
3808
|
+
before requesting approval or running anything.
|
|
3809
|
+
|
|
3801
3810
|
But: **clarify before you commit.** A vague task on the board is worse than
|
|
3802
3811
|
no task \u2014 it bakes in the wrong scope and forces a rename later. If the
|
|
3803
3812
|
request is fuzzy, ask one or two sharp questions FIRST and create the task
|
|
@@ -7640,6 +7649,8 @@ These credentials are pre-loaded. Reference them by their environment variable n
|
|
|
7640
7649
|
|
|
7641
7650
|
The only things that don't need a task: one-line answers, yes/no questions, a simple lookup you can answer in a tool call or two (under ~30 seconds), or no-action acknowledgments ("thanks", "got it", "acknowledged", "will do") that require no further work. Everything else gets a task.
|
|
7642
7651
|
|
|
7652
|
+
**Two situations always warrant a task, even when the work looks quick: (1) you are about to request an approval (any deferred-approval / broker tool, such as an access grant, deploy gate, or channel post that needs a human OK), or (2) you are about to run code (execute a script, run a shell command, or otherwise change a system). Create the kanban task FIRST, before you fire the approval request or the code runs, so the work is visible and tracked rather than happening invisibly.** If the request is fuzzy, clarify scope first, then create the task before requesting approval or running anything.
|
|
7653
|
+
|
|
7643
7654
|
The cost of an unnecessary task is near zero. The cost of invisible work is confusion, duplication, and lost context.
|
|
7644
7655
|
|
|
7645
7656
|
**Always confirm task creation back to the requester via the same channel they reached you on.** When you create a kanban task in response to a Slack/direct-chat/email/etc. message, your *next* action MUST be to call that channel's send/reply tool with:
|
|
@@ -7948,7 +7959,7 @@ function requireHost() {
|
|
|
7948
7959
|
}
|
|
7949
7960
|
|
|
7950
7961
|
// src/lib/api-client.ts
|
|
7951
|
-
var agtCliVersion = true ? "0.28.
|
|
7962
|
+
var agtCliVersion = true ? "0.28.168" : "dev";
|
|
7952
7963
|
var lastConfigHash = null;
|
|
7953
7964
|
function setConfigHash(hash) {
|
|
7954
7965
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9253,4 +9264,4 @@ export {
|
|
|
9253
9264
|
managerInstallSystemUnitCommand,
|
|
9254
9265
|
managerUninstallSystemUnitCommand
|
|
9255
9266
|
};
|
|
9256
|
-
//# sourceMappingURL=chunk-
|
|
9267
|
+
//# sourceMappingURL=chunk-DYW5QFTU.js.map
|