@integrity-labs/agt-cli 0.28.118 → 0.28.119
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-HOSOEXRD.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.119" : "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.119" : "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) => {
|
|
@@ -3401,6 +3401,14 @@ ${desc}
|
|
|
3401
3401
|
|
|
3402
3402
|
## \u26A0\uFE0F FIRST ACTION on every channel message: triage
|
|
3403
3403
|
|
|
3404
|
+
**The delivery rule, true of every reply below:** the ONLY way a channel user
|
|
3405
|
+
(Slack, Telegram, Microsoft Teams, Direct Chat) receives anything from you is a
|
|
3406
|
+
channel reply tool call - \`slack.reply\`, \`telegram.reply\`, \`teams.reply\`,
|
|
3407
|
+
or \`direct_chat.reply\`. Plain text you write in your turn is NOT delivered to
|
|
3408
|
+
the user; it goes only to your local session log. So always reply on the channel
|
|
3409
|
+
the message arrived on, and never answer a channel message with plain text
|
|
3410
|
+
alone: if you did not call a reply tool, the user received nothing.
|
|
3411
|
+
|
|
3404
3412
|
This is the highest-priority instruction in this document. Before anything
|
|
3405
3413
|
else when you receive an inbound \`<channel>\` tag (Slack/Telegram/Direct
|
|
3406
3414
|
Chat), decide:
|
|
@@ -3412,7 +3420,7 @@ refreshes, multi-skill activations, or anything you'd reasonably want to
|
|
|
3412
3420
|
acknowledge before you start.
|
|
3413
3421
|
|
|
3414
3422
|
- **FAST (< 60s):** handle inline. Reply via the channel tool
|
|
3415
|
-
(slack.reply / telegram.reply /
|
|
3423
|
+
(slack.reply / telegram.reply / direct_chat.reply) and end your turn.
|
|
3416
3424
|
|
|
3417
3425
|
- **SLOW (\u2265 60s):** acknowledge first, then handle inline.
|
|
3418
3426
|
1. Send a one-line acknowledgement via the channel tool \u2014 short, warm,
|
|
@@ -3423,7 +3431,7 @@ acknowledge before you start.
|
|
|
3423
3431
|
need (MCP, skills, file reads, etc.) \u2014 your parent session has the
|
|
3424
3432
|
full MCP surface bound.
|
|
3425
3433
|
3. Reply with the result via the channel tool (\`slack.reply\` /
|
|
3426
|
-
\`telegram.reply\` / \`
|
|
3434
|
+
\`telegram.reply\` / \`direct_chat.reply\`), addressing the same thread
|
|
3427
3435
|
/ chat / conversation you acknowledged in step 1.
|
|
3428
3436
|
|
|
3429
3437
|
> **Why inline and not sub-agent dispatch right now:** there is an
|
|
@@ -3539,8 +3547,9 @@ diving into slow work (sub-agent dispatch for channel replies is
|
|
|
3539
3547
|
currently disabled due to an upstream Claude Code bug; see the FIRST
|
|
3540
3548
|
ACTION section for the full rationale).
|
|
3541
3549
|
|
|
3542
|
-
For fast requests,
|
|
3543
|
-
|
|
3550
|
+
For fast requests, reply with \`slack.reply\` (see the delivery rule in the
|
|
3551
|
+
FIRST ACTION section: a plain-text turn does NOT reach Slack - only a
|
|
3552
|
+
\`slack.reply\` call does). You can also proactively use:
|
|
3544
3553
|
|
|
3545
3554
|
- **slack.reply** \u2014 reply to a message in a channel/thread
|
|
3546
3555
|
- **slack.react** \u2014 add an emoji reaction to a message (use sparingly \u2014 see taxonomy below)
|
|
@@ -7632,7 +7641,7 @@ function requireHost() {
|
|
|
7632
7641
|
}
|
|
7633
7642
|
|
|
7634
7643
|
// src/lib/api-client.ts
|
|
7635
|
-
var agtCliVersion = true ? "0.28.
|
|
7644
|
+
var agtCliVersion = true ? "0.28.119" : "dev";
|
|
7636
7645
|
var lastConfigHash = null;
|
|
7637
7646
|
function setConfigHash(hash) {
|
|
7638
7647
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8929,4 +8938,4 @@ export {
|
|
|
8929
8938
|
managerInstallSystemUnitCommand,
|
|
8930
8939
|
managerUninstallSystemUnitCommand
|
|
8931
8940
|
};
|
|
8932
|
-
//# sourceMappingURL=chunk-
|
|
8941
|
+
//# sourceMappingURL=chunk-HOSOEXRD.js.map
|