@integrity-labs/agt-cli 0.28.1059 → 0.28.1060
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 +5 -5
- package/dist/{chunk-EWJ6A7AO.js → chunk-GOTLGDZJ.js} +4 -4
- package/dist/{chunk-VQITKTZU.js → chunk-JFLRDMGU.js} +27 -25
- package/dist/chunk-JFLRDMGU.js.map +1 -0
- package/dist/{chunk-E3XTUL7S.js → chunk-ROZAO2DB.js} +2 -2
- package/dist/{claude-pair-runtime-SRFW7LK5.js → claude-pair-runtime-VUKAG635.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/{persistent-session-3YXKX45E.js → persistent-session-VBDEAOEO.js} +3 -3
- package/dist/{responsiveness-probe-CJ4Y5IS2.js → responsiveness-probe-BN4VTJPH.js} +3 -3
- package/dist/{session-auth-dead-MKVXSMXZ.js → session-auth-dead-ONJMUXYK.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-VQITKTZU.js.map +0 -1
- /package/dist/{chunk-EWJ6A7AO.js.map → chunk-GOTLGDZJ.js.map} +0 -0
- /package/dist/{chunk-E3XTUL7S.js.map → chunk-ROZAO2DB.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SRFW7LK5.js.map → claude-pair-runtime-VUKAG635.js.map} +0 -0
- /package/dist/{persistent-session-3YXKX45E.js.map → persistent-session-VBDEAOEO.js.map} +0 -0
- /package/dist/{responsiveness-probe-CJ4Y5IS2.js.map → responsiveness-probe-BN4VTJPH.js.map} +0 -0
- /package/dist/{session-auth-dead-MKVXSMXZ.js.map → session-auth-dead-ONJMUXYK.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-GOTLGDZJ.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-ROZAO2DB.js";
|
|
49
49
|
import {
|
|
50
50
|
AnchorSessionClient,
|
|
51
51
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-JFLRDMGU.js";
|
|
83
83
|
import "../chunk-OCMJ5E6J.js";
|
|
84
84
|
import "../chunk-XWVM4KPK.js";
|
|
85
85
|
import "../chunk-EL5MWGGH.js";
|
|
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5474
5474
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5475
5475
|
import chalk18 from "chalk";
|
|
5476
5476
|
import ora16 from "ora";
|
|
5477
|
-
var cliVersion = true ? "0.28.
|
|
5477
|
+
var cliVersion = true ? "0.28.1060" : "dev";
|
|
5478
5478
|
async function fetchLatestVersion() {
|
|
5479
5479
|
const host2 = getHost();
|
|
5480
5480
|
if (!host2) return null;
|
|
@@ -6734,7 +6734,7 @@ function handleError(err) {
|
|
|
6734
6734
|
}
|
|
6735
6735
|
|
|
6736
6736
|
// src/bin/agt.ts
|
|
6737
|
-
var cliVersion2 = true ? "0.28.
|
|
6737
|
+
var cliVersion2 = true ? "0.28.1060" : "dev";
|
|
6738
6738
|
var program = new Command();
|
|
6739
6739
|
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");
|
|
6740
6740
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseEnvFileEntries,
|
|
17
17
|
parseEnvIntegrations,
|
|
18
18
|
shellQuote
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ROZAO2DB.js";
|
|
20
20
|
import {
|
|
21
21
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
22
22
|
INTEGRATIONS_SECTION_END,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
sessionTranscriptDir,
|
|
80
80
|
worseConnectivityOutcome,
|
|
81
81
|
wrapScheduledTaskPrompt
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-JFLRDMGU.js";
|
|
83
83
|
import {
|
|
84
84
|
classifyUnanswerablePane,
|
|
85
85
|
isConsumerTermsDialogVisible,
|
|
@@ -7122,7 +7122,7 @@ function exchangeFailureKind(err) {
|
|
|
7122
7122
|
}
|
|
7123
7123
|
|
|
7124
7124
|
// src/lib/api-client.ts
|
|
7125
|
-
var agtCliVersion = true ? "0.28.
|
|
7125
|
+
var agtCliVersion = true ? "0.28.1060" : "dev";
|
|
7126
7126
|
var lastConfigHash = null;
|
|
7127
7127
|
function setConfigHash(hash) {
|
|
7128
7128
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -12089,4 +12089,4 @@ export {
|
|
|
12089
12089
|
managerInstallSystemUnitCommand,
|
|
12090
12090
|
managerUninstallSystemUnitCommand
|
|
12091
12091
|
};
|
|
12092
|
-
//# sourceMappingURL=chunk-
|
|
12092
|
+
//# sourceMappingURL=chunk-GOTLGDZJ.js.map
|
|
@@ -680,6 +680,7 @@ later tick:
|
|
|
680
680
|
\u2014 missing access, credential failure, tool error.
|
|
681
681
|
- **No longer needed** (there's no "cancelled" status): \`kanban_done\` with a \`result\`
|
|
682
682
|
saying why. Do this generously \u2014 it tells the user you consciously stood it down.
|
|
683
|
+
Not for a denied, expired or cancelled approval: that is \`status="failed"\`.
|
|
683
684
|
- **\`kanban_update\` with notes** if blocked but maybe unblockable later; leave it
|
|
684
685
|
\`in_progress\` and pick up other work.
|
|
685
686
|
|
|
@@ -1494,42 +1495,43 @@ and channel rules live in \`CHARTER.md\`.
|
|
|
1494
1495
|
|
|
1495
1496
|
${guardrailsSection}${agentRulesSection}## Approval acknowledgements
|
|
1496
1497
|
|
|
1497
|
-
This applies to **any** deferred-approval tool
|
|
1498
|
+
This applies to **any** deferred-approval tool: anything returning \`pending\` that
|
|
1498
1499
|
resolves later via a notification (AWS access grants, channel posts needing a human
|
|
1499
1500
|
OK, deploy gates, budget overrides, any future broker of the same shape).
|
|
1500
1501
|
|
|
1501
|
-
**
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
the prod-data account to pull that report
|
|
1506
|
-
moment it lands"). Save the returned id, return
|
|
1507
|
-
|
|
1502
|
+
1. **On \`pending\`.** If the tool result says the card was posted in the conversation
|
|
1503
|
+
you are replying in (e.g. a Direct Chat card with buttons), the card is the
|
|
1504
|
+
acknowledgement: post nothing, and in Direct Chat end with \`direct_chat_consume\`.
|
|
1505
|
+
Otherwise post a brief, jargon-free one-liner naming the task and what's being
|
|
1506
|
+
waited on ("Requesting access to the prod-data account to pull that report,
|
|
1507
|
+
pinged an admin, will resume the moment it lands"). Save the returned id, return
|
|
1508
|
+
control, **do not poll**.
|
|
1508
1509
|
|
|
1509
1510
|
2. **When the resolution notification arrives** (in direct-chat, with an
|
|
1510
1511
|
\`Original conversation:\` line naming the thread the request started in):
|
|
1511
1512
|
before you call any follow-up tool, post one short line **in that original
|
|
1512
1513
|
conversation**:
|
|
1513
|
-
- On approve:
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1514
|
+
- On approve: "Approval came through, kicking off <the task> now."
|
|
1515
|
+
- On deny, expiry or cancel: one factual line, then stop. Use its \`Decided by:\`
|
|
1516
|
+
line: "Not sent, you denied it." if the decider is the person you are talking
|
|
1517
|
+
to, else "Not sent, <name> denied it." or "Not sent, it expired." Add a reason
|
|
1518
|
+
only if one was typed. **Never guess why**, and never send the user to "the
|
|
1519
|
+
approver" when they decided it.
|
|
1520
|
+
|
|
1521
|
+
No \`Original conversation:\` line \u2192 fall back to direct-chat.
|
|
1518
1522
|
|
|
1519
|
-
|
|
1520
|
-
|
|
1523
|
+
3. **Kanban card for a denied, expired or cancelled action:** \`kanban_move\`
|
|
1524
|
+
\`status="failed"\` with a note, **never \`kanban_done\`** (done means it worked).
|
|
1521
1525
|
|
|
1522
1526
|
**Across all approval flows:**
|
|
1523
1527
|
|
|
1524
|
-
- No broker vocabulary in user messages
|
|
1525
|
-
"approval_request_id", "STS", any underlying tool name stay out
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
- Going silent between request and resolution, or between resolution and work,
|
|
1532
|
-
defeats the human-in-the-loop signal \u2014 lead with the outcome before acting.
|
|
1528
|
+
- No broker vocabulary in user messages: "grant_id", "secret_ref",
|
|
1529
|
+
"approval_request_id", "STS", any underlying tool name stay out. Never paste a
|
|
1530
|
+
request/grant UUID into user-facing prose (it's operator metadata users can't act on).
|
|
1531
|
+
- \`notification_status: failed\` means no human was paged: surface that as its own
|
|
1532
|
+
problem, don't assume approval will arrive.
|
|
1533
|
+
- Going silent when the card is somewhere the user cannot see defeats the
|
|
1534
|
+
human-in-the-loop signal: lead with the outcome before acting.
|
|
1533
1535
|
|
|
1534
1536
|
## Integration trust calibration
|
|
1535
1537
|
|
|
@@ -16006,4 +16008,4 @@ export {
|
|
|
16006
16008
|
peekCurrentSession,
|
|
16007
16009
|
readDailySessionPin
|
|
16008
16010
|
};
|
|
16009
|
-
//# sourceMappingURL=chunk-
|
|
16011
|
+
//# sourceMappingURL=chunk-JFLRDMGU.js.map
|