@integrity-labs/agt-cli 0.28.457 → 0.28.458
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 +4 -4
- package/dist/{chunk-QFBCK4ZH.js → chunk-KAIH24HZ.js} +31 -4
- package/dist/chunk-KAIH24HZ.js.map +1 -0
- package/dist/{chunk-WMGMLOPB.js → chunk-QIQQ46NH.js} +60 -22
- package/dist/{chunk-WMGMLOPB.js.map → chunk-QIQQ46NH.js.map} +1 -1
- package/dist/{claude-pair-runtime-QNOUSTW3.js → claude-pair-runtime-CVCPBJOZ.js} +2 -2
- package/dist/lib/manager-worker.js +18 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +16 -0
- package/dist/mcp/origami.js +16 -0
- package/dist/mcp/slack-channel.js +16 -0
- package/dist/mcp/telegram-channel.js +16 -0
- package/dist/{persistent-session-LEWM6BKO.js → persistent-session-EVLWDI3I.js} +2 -2
- package/dist/{responsiveness-probe-U6DPVIDD.js → responsiveness-probe-EGP2F3WD.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-QFBCK4ZH.js.map +0 -1
- /package/dist/{claude-pair-runtime-QNOUSTW3.js.map → claude-pair-runtime-CVCPBJOZ.js.map} +0 -0
- /package/dist/{persistent-session-LEWM6BKO.js.map → persistent-session-EVLWDI3I.js.map} +0 -0
- /package/dist/{responsiveness-probe-U6DPVIDD.js.map → responsiveness-probe-EGP2F3WD.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-QIQQ46NH.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
requiredMcpWildcard,
|
|
72
72
|
resolveChannels,
|
|
73
73
|
serializeManifestForSlackCli
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-KAIH24HZ.js";
|
|
75
75
|
import "../chunk-XWVM4KPK.js";
|
|
76
76
|
|
|
77
77
|
// src/bin/agt.ts
|
|
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4830
4830
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4831
4831
|
import chalk18 from "chalk";
|
|
4832
4832
|
import ora16 from "ora";
|
|
4833
|
-
var cliVersion = true ? "0.28.
|
|
4833
|
+
var cliVersion = true ? "0.28.458" : "dev";
|
|
4834
4834
|
async function fetchLatestVersion() {
|
|
4835
4835
|
const host2 = getHost();
|
|
4836
4836
|
if (!host2) return null;
|
|
@@ -6002,7 +6002,7 @@ function handleError(err) {
|
|
|
6002
6002
|
}
|
|
6003
6003
|
|
|
6004
6004
|
// src/bin/agt.ts
|
|
6005
|
-
var cliVersion2 = true ? "0.28.
|
|
6005
|
+
var cliVersion2 = true ? "0.28.458" : "dev";
|
|
6006
6006
|
var program = new Command();
|
|
6007
6007
|
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");
|
|
6008
6008
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5132,10 +5132,20 @@ function getOAuthProvider(definitionId) {
|
|
|
5132
5132
|
// ../../packages/core/dist/integrations/connectivity-probe.js
|
|
5133
5133
|
var CONNECTIVITY_SEVERITY = {
|
|
5134
5134
|
ok: 0,
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5135
|
+
unverified: 1,
|
|
5136
|
+
transient_error: 2,
|
|
5137
|
+
degraded: 3,
|
|
5138
|
+
down: 4
|
|
5138
5139
|
};
|
|
5140
|
+
var EVIDENCE_STRENGTH = {
|
|
5141
|
+
none: 0,
|
|
5142
|
+
record_only: 1,
|
|
5143
|
+
handshake: 2,
|
|
5144
|
+
live_call: 3
|
|
5145
|
+
};
|
|
5146
|
+
function bestConnectivityEvidence(a, b) {
|
|
5147
|
+
return EVIDENCE_STRENGTH[b] > EVIDENCE_STRENGTH[a] ? b : a;
|
|
5148
|
+
}
|
|
5139
5149
|
function worseConnectivityOutcome(a, b) {
|
|
5140
5150
|
return CONNECTIVITY_SEVERITY[b.status] > CONNECTIVITY_SEVERITY[a.status] ? b : a;
|
|
5141
5151
|
}
|
|
@@ -10033,6 +10043,22 @@ var FLAG_REGISTRY = [
|
|
|
10033
10043
|
// registry-only (ADR-0022). NOT `public`: it is resolved server-side only, so it
|
|
10034
10044
|
// must never be serialized into the browser map.
|
|
10035
10045
|
defaultValue: false
|
|
10046
|
+
},
|
|
10047
|
+
{
|
|
10048
|
+
key: "ninjafy-brand",
|
|
10049
|
+
description: 'Present the product under the Ninjafy brand instead of Augmented Team (ENG-8250). This is the UMBRELLA brand gate, not a one-off nav toggle: every subsequent rebrand surface (page titles, email templates, marketing-facing copy) reads THIS key rather than adding its own flag, so the whole rebrand keeps a single kill switch. First surface is the left-hand nav wordmark \u2014 ON replaces the human+robot mark and the "augmented.team" text with italic lowercase "ninjafy"; OFF renders exactly what shipped before. Scope is USER-FACING BRAND TEXT ONLY: it must never gate a code identifier, package name, env var or CLI name, which stay `Augmented`/`agt` per the CLAUDE.md naming contract (the deep code rename is workstream C of docs/runbooks/rebrand-ninjafy-migration.md and is out of scope here). Set the stage-wide default to flip a whole environment, or add a feature_flag_overrides row to pilot one organization while every other org still sees Augmented. Ships dark.',
|
|
10050
|
+
flagType: "boolean",
|
|
10051
|
+
// Declared safe value is `false`: the pre-rebrand brand. `false` is also the
|
|
10052
|
+
// fail-closed direction — if the flag DB is unreachable we must show the brand
|
|
10053
|
+
// that is currently live and contractually correct, never leak an unannounced
|
|
10054
|
+
// rebrand to every customer at once.
|
|
10055
|
+
defaultValue: false,
|
|
10056
|
+
// Read CLIENT-SIDE: sidebar.tsx is a "use client" component and resolves this
|
|
10057
|
+
// via usePublicBooleanFlag, so the key must be in the browser-exposed public
|
|
10058
|
+
// map. Unlike onboarding-msteams-channel above there is no wrong-org hazard —
|
|
10059
|
+
// the sidebar renders inside the active-org cookie's scope, which is exactly
|
|
10060
|
+
// the org whose brand should be shown.
|
|
10061
|
+
public: true
|
|
10036
10062
|
}
|
|
10037
10063
|
];
|
|
10038
10064
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -14326,6 +14352,7 @@ export {
|
|
|
14326
14352
|
DEPLOYMENT_TEMPLATES,
|
|
14327
14353
|
getTemplate,
|
|
14328
14354
|
StreamEncoder,
|
|
14355
|
+
bestConnectivityEvidence,
|
|
14329
14356
|
worseConnectivityOutcome,
|
|
14330
14357
|
resolveConnectivityProbe,
|
|
14331
14358
|
probeMcpHttp,
|
|
@@ -14446,4 +14473,4 @@ export {
|
|
|
14446
14473
|
stopAllSessionsAndWait,
|
|
14447
14474
|
getProjectDir
|
|
14448
14475
|
};
|
|
14449
|
-
//# sourceMappingURL=chunk-
|
|
14476
|
+
//# sourceMappingURL=chunk-KAIH24HZ.js.map
|