@integrity-labs/agt-cli 0.28.227 → 0.28.228
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
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
table,
|
|
40
40
|
warn
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-STDJAYQQ.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4826
4826
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4827
4827
|
import chalk18 from "chalk";
|
|
4828
4828
|
import ora16 from "ora";
|
|
4829
|
-
var cliVersion = true ? "0.28.
|
|
4829
|
+
var cliVersion = true ? "0.28.228" : "dev";
|
|
4830
4830
|
async function fetchLatestVersion() {
|
|
4831
4831
|
const host2 = getHost();
|
|
4832
4832
|
if (!host2) return null;
|
|
@@ -5840,7 +5840,7 @@ function handleError(err) {
|
|
|
5840
5840
|
}
|
|
5841
5841
|
|
|
5842
5842
|
// src/bin/agt.ts
|
|
5843
|
-
var cliVersion2 = true ? "0.28.
|
|
5843
|
+
var cliVersion2 = true ? "0.28.228" : "dev";
|
|
5844
5844
|
var program = new Command();
|
|
5845
5845
|
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");
|
|
5846
5846
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -648,6 +648,32 @@ you MUST use the Augmented MCP tools \u2014 never write to
|
|
|
648
648
|
this team
|
|
649
649
|
- **\`mcp__augmented__skill_improve\`** \u2014 propose targeted edits
|
|
650
650
|
|
|
651
|
+
### Proactively offer to codify repeated instructions
|
|
652
|
+
|
|
653
|
+
Do not wait to be asked. When a user's instruction shows a **codify-worthy
|
|
654
|
+
signal**, offer in the moment to turn it into a skill. You still never create
|
|
655
|
+
one silently - you *propose*, the human confirms scope, then you create it.
|
|
656
|
+
Signals:
|
|
657
|
+
|
|
658
|
+
- The same instruction or preference given across **two or more sessions**,
|
|
659
|
+
or asked of you **2+ times**.
|
|
660
|
+
- Standing-rule phrasing - "always", "every time", "from now on",
|
|
661
|
+
"going forward" - framing a durable rule, not a one-off ask.
|
|
662
|
+
- A **correction you have had to apply more than once**.
|
|
663
|
+
- A **formatting or procedure standard** stated as a rule (an email shell, a
|
|
664
|
+
signature block, a report layout, a review checklist).
|
|
665
|
+
|
|
666
|
+
When you spot one, say so - e.g. "You've asked for this a few times; want me
|
|
667
|
+
to codify it as a skill so it auto-applies every time instead of me redoing it
|
|
668
|
+
by hand?" - then on a yes, confirm scope (below) and \`skill_create\` it,
|
|
669
|
+
writing the skill's *description* so it auto-activates on the matching task
|
|
670
|
+
(e.g. "Use when drafting any email for <client>").
|
|
671
|
+
|
|
672
|
+
Skill vs memory: a **repeated procedure** (a how-to you keep re-applying)
|
|
673
|
+
belongs in a **skill** (auto-loads on the task); a one-off fact or preference
|
|
674
|
+
belongs in **memory** (recall). Route repeated procedures to skills, not just
|
|
675
|
+
memory. Either way the human approves first - you offer, they confirm.
|
|
676
|
+
|
|
651
677
|
### Always confirm scope before creating
|
|
652
678
|
|
|
653
679
|
Before invoking \`skill_create\`, ask the user: **"Should this skill be
|
|
@@ -5667,7 +5693,7 @@ function requireHost() {
|
|
|
5667
5693
|
}
|
|
5668
5694
|
|
|
5669
5695
|
// src/lib/api-client.ts
|
|
5670
|
-
var agtCliVersion = true ? "0.28.
|
|
5696
|
+
var agtCliVersion = true ? "0.28.228" : "dev";
|
|
5671
5697
|
var lastConfigHash = null;
|
|
5672
5698
|
function setConfigHash(hash) {
|
|
5673
5699
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7760,4 +7786,4 @@ export {
|
|
|
7760
7786
|
managerInstallSystemUnitCommand,
|
|
7761
7787
|
managerUninstallSystemUnitCommand
|
|
7762
7788
|
};
|
|
7763
|
-
//# sourceMappingURL=chunk-
|
|
7789
|
+
//# sourceMappingURL=chunk-STDJAYQQ.js.map
|