@integrity-labs/agt-cli 0.28.676 → 0.28.677
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-7Y54PSMR.js → chunk-F6CUSDJ6.js} +2 -2
- package/dist/{chunk-AJNES24H.js → chunk-GYYEUNTD.js} +26 -1
- package/dist/chunk-GYYEUNTD.js.map +1 -0
- package/dist/{chunk-S6TPCOGW.js → chunk-HTLUHAKN.js} +4 -4
- package/dist/{claude-pair-runtime-VAU7UXE4.js → claude-pair-runtime-MY5LMJVT.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/augmented-admin.js +34 -1
- package/dist/mcp/direct-chat-channel.js +25 -0
- package/dist/mcp/index.js +25 -0
- package/dist/mcp/origami.js +25 -0
- package/dist/mcp/slack-channel.js +25 -0
- package/dist/mcp/telegram-channel.js +25 -0
- package/dist/{persistent-session-F7JEOWHQ.js → persistent-session-TMOTEVV6.js} +3 -3
- package/dist/{responsiveness-probe-7465YNMN.js → responsiveness-probe-ZHE7S6G4.js} +3 -3
- package/dist/{session-auth-dead-GBC5QPH3.js → session-auth-dead-JCKENEY5.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-AJNES24H.js.map +0 -1
- /package/dist/{chunk-7Y54PSMR.js.map → chunk-F6CUSDJ6.js.map} +0 -0
- /package/dist/{chunk-S6TPCOGW.js.map → chunk-HTLUHAKN.js.map} +0 -0
- /package/dist/{claude-pair-runtime-VAU7UXE4.js.map → claude-pair-runtime-MY5LMJVT.js.map} +0 -0
- /package/dist/{persistent-session-F7JEOWHQ.js.map → persistent-session-TMOTEVV6.js.map} +0 -0
- /package/dist/{responsiveness-probe-7465YNMN.js.map → responsiveness-probe-ZHE7S6G4.js.map} +0 -0
- /package/dist/{session-auth-dead-GBC5QPH3.js.map → session-auth-dead-JCKENEY5.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-HTLUHAKN.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-F6CUSDJ6.js";
|
|
47
47
|
import {
|
|
48
48
|
AnchorSessionClient,
|
|
49
49
|
CHANNEL_REGISTRY,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
requiredMcpWildcard,
|
|
74
74
|
resolveChannels,
|
|
75
75
|
serializeManifestForSlackCli
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-GYYEUNTD.js";
|
|
77
77
|
import "../chunk-XWVM4KPK.js";
|
|
78
78
|
|
|
79
79
|
// src/bin/agt.ts
|
|
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4909
4909
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4910
4910
|
import chalk18 from "chalk";
|
|
4911
4911
|
import ora16 from "ora";
|
|
4912
|
-
var cliVersion = true ? "0.28.
|
|
4912
|
+
var cliVersion = true ? "0.28.677" : "dev";
|
|
4913
4913
|
async function fetchLatestVersion() {
|
|
4914
4914
|
const host2 = getHost();
|
|
4915
4915
|
if (!host2) return null;
|
|
@@ -6089,7 +6089,7 @@ function handleError(err) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
|
|
6091
6091
|
// src/bin/agt.ts
|
|
6092
|
-
var cliVersion2 = true ? "0.28.
|
|
6092
|
+
var cliVersion2 = true ? "0.28.677" : "dev";
|
|
6093
6093
|
var program = new Command();
|
|
6094
6094
|
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");
|
|
6095
6095
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
rotateDailySession,
|
|
18
18
|
sessionFileExists,
|
|
19
19
|
todayLocalIso
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GYYEUNTD.js";
|
|
21
21
|
import {
|
|
22
22
|
reapOrphanChannelMcps
|
|
23
23
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -4531,4 +4531,4 @@ export {
|
|
|
4531
4531
|
stopAllSessionsAndWait,
|
|
4532
4532
|
getProjectDir
|
|
4533
4533
|
};
|
|
4534
|
-
//# sourceMappingURL=chunk-
|
|
4534
|
+
//# sourceMappingURL=chunk-F6CUSDJ6.js.map
|
|
@@ -5621,6 +5621,28 @@ var FLAG_REGISTRY = [
|
|
|
5621
5621
|
// exactly the org whose brand should be shown.
|
|
5622
5622
|
public: true
|
|
5623
5623
|
},
|
|
5624
|
+
{
|
|
5625
|
+
key: "ninjafy-logo",
|
|
5626
|
+
description: "Which Ninjafy logo TREATMENT the console chrome renders (ENG-9365). This is a SUB-SELECTION under ninjafy-brand, not a second brand gate: it is consulted only once ninjafy-brand has already resolved ON, so with the brand off the value is inert and the half-branded state that flag's description calls unreachable stays unreachable. ninjafy-brand remains the single kill switch for the rebrand. It exists so candidate logo treatments can be put in front of a human and compared in the running console, rather than judged from a static export. lockup = mark and wordmark together, both in the brand blue \u2014 exactly what ENG-9298 shipped, so an unset flag is a no-op. two-tone = the mark in brand blue with the wordmark in the neutral text colour (the treatment of the blue-icon/black-wordmark artwork). wordmark = the word alone, no mark. Every treatment is composed from the ENG-9298 geometry \u2014 ENG-9312 pins that the lockup's blue path IS the mark subpath followed by the wordmark subpaths, byte for byte \u2014 so a new treatment is a composition, never a fresh trace, and the three drawings cannot drift apart. Surfaces are the dashboard sidebar and the top nav. The top nav shows the WORDMARK portion at every width whatever the treatment, because ENG-9342 decided that deliberately (a full lockup at the header's icon height crowds the team switcher on a phone) \u2014 so a treatment changes the word's colour there, never whether a mark appears. The admin sidebar (ENG-9323) is NOT wired to this key and always renders the mark; widening it is a separate decision. Resolved SERVER-SIDE in (dashboard)/layout.tsx via getPublicEnumFlagServer, beside ninjafy-brand and in the same single GET /flags round trip, then passed down as a required prop. That is not a style preference: the client hook starts at its default and updates after an async fetch, so a client read would paint one logo and swap it after hydration \u2014 the exact flash ENG-9227 removed from the wordmark and ENG-8858 removed from the palette. Org and team are the useful pilot grains, as for ninjafy-brand: the single consumer evaluates in the active-org cookie scope, so a host- or agent-scoped override row is accepted by the table but never reached by the console.",
|
|
5627
|
+
flagType: "enum",
|
|
5628
|
+
allowedValues: ["lockup", "two-tone", "wordmark"],
|
|
5629
|
+
// Declared safe value is `lockup` — what ENG-9298 shipped. This flag has no
|
|
5630
|
+
// "off" direction: it selects among presentations that are all live-safe, so
|
|
5631
|
+
// fail-safe here means "the treatment currently in production", not the
|
|
5632
|
+
// narrowest one. A flag-DB read error, an archived row, or a stored value
|
|
5633
|
+
// outside allowedValues all resolve here (evaluate.ts normalizeFlagValue),
|
|
5634
|
+
// which is what makes an experimental value impossible to strand.
|
|
5635
|
+
defaultValue: "lockup",
|
|
5636
|
+
// Same trap as ninjafy-brand, and it bites harder here because there are no
|
|
5637
|
+
// client readers of this key AT ALL — it is server-resolved by construction.
|
|
5638
|
+
// `public` does NOT mean "read by a browser"; it means "readable through the
|
|
5639
|
+
// public map". getPublicEnumFlagServer resolves against the same GET /flags
|
|
5640
|
+
// endpoint the browser uses, and that route filters to listPublicFlagKeys()
|
|
5641
|
+
// (routes/flags.ts). Drop `public` and the key is simply absent from the map,
|
|
5642
|
+
// so the helper falls through to its default and returns `lockup` FOREVER —
|
|
5643
|
+
// the dropdown appearing to do nothing, with no error raised anywhere.
|
|
5644
|
+
public: true
|
|
5645
|
+
},
|
|
5624
5646
|
{
|
|
5625
5647
|
key: "agent-recruit",
|
|
5626
5648
|
description: "The `recruit_agent` MCP tool (ENG-8159): lets an ordinary managed agent PROPOSE a new teammate in its own org. The proposal is filed under the `agent.recruit` approval verb and routed to an org owner as a server-rendered card, so this gates the ASK \u2014 nothing is created until a human taps Approve. Deliberately distinct from augmented-support-writes, which gates the concierge's own create_agent surface: the two requesters are separately controllable because an org may well want its support concierge to propose agents without giving every agent in the fleet the same power. Ships dark.",
|
|
@@ -10555,6 +10577,9 @@ var USER_PRINCIPAL_SCOPE_LABELS = {
|
|
|
10555
10577
|
[NOTES_WRITE_SCOPE]: "Create meeting notes as you, read the notes you own, and see the names of your organizations and agents so you can choose where a note goes"
|
|
10556
10578
|
};
|
|
10557
10579
|
|
|
10580
|
+
// ../../packages/core/dist/admin-debug/resume-precondition.js
|
|
10581
|
+
var DEFAULT_RESUME_LOOKBACK_MS = 14 * 24 * 60 * 60 * 1e3;
|
|
10582
|
+
|
|
10558
10583
|
// ../../packages/core/dist/admin-debug/index.js
|
|
10559
10584
|
var STUCK_RESTART_THRESHOLD_SECONDS = 15 * 60;
|
|
10560
10585
|
|
|
@@ -12498,4 +12523,4 @@ export {
|
|
|
12498
12523
|
minutesSinceLocalMidnight,
|
|
12499
12524
|
peekCurrentSession
|
|
12500
12525
|
};
|
|
12501
|
-
//# sourceMappingURL=chunk-
|
|
12526
|
+
//# sourceMappingURL=chunk-GYYEUNTD.js.map
|