@integrity-labs/agt-cli 0.28.456 → 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-UIUYOGPK.js → chunk-KAIH24HZ.js} +37 -4
- package/dist/chunk-KAIH24HZ.js.map +1 -0
- package/dist/{chunk-FNEUIWJJ.js → chunk-QIQQ46NH.js} +60 -22
- package/dist/{chunk-FNEUIWJJ.js.map → chunk-QIQQ46NH.js.map} +1 -1
- package/dist/{claude-pair-runtime-PHAR4IF4.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 +22 -0
- package/dist/mcp/origami.js +245 -76
- package/dist/mcp/slack-channel.js +22 -0
- package/dist/mcp/telegram-channel.js +22 -0
- package/dist/{persistent-session-Z2UQ4VVF.js → persistent-session-EVLWDI3I.js} +2 -2
- package/dist/{responsiveness-probe-WCF2QEVT.js → responsiveness-probe-EGP2F3WD.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-UIUYOGPK.js.map +0 -1
- /package/dist/{claude-pair-runtime-PHAR4IF4.js.map → claude-pair-runtime-CVCPBJOZ.js.map} +0 -0
- /package/dist/{persistent-session-Z2UQ4VVF.js.map → persistent-session-EVLWDI3I.js.map} +0 -0
- /package/dist/{responsiveness-probe-WCF2QEVT.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) => {
|
|
@@ -929,6 +929,12 @@ var integration_metadata_v1_default = {
|
|
|
929
929
|
description: "Optional query-string shape with `{arg}` placeholders.",
|
|
930
930
|
additionalProperties: { type: "string" }
|
|
931
931
|
},
|
|
932
|
+
headers_template: {
|
|
933
|
+
type: "object",
|
|
934
|
+
description: 'Optional request-header shape with `{arg}` placeholders (e.g. `{ "x-origami-project": "{project_id}" }`). A header whose template resolves to empty is dropped rather than sent blank, and args consumed only by a header template are excluded from a `{$body}` expansion.',
|
|
935
|
+
propertyNames: { pattern: "^[A-Za-z0-9!#$%&'*+.^_`|~-]+$" },
|
|
936
|
+
additionalProperties: { type: "string" }
|
|
937
|
+
},
|
|
932
938
|
idempotency_key_header: {
|
|
933
939
|
type: "string",
|
|
934
940
|
minLength: 1,
|
|
@@ -5126,10 +5132,20 @@ function getOAuthProvider(definitionId) {
|
|
|
5126
5132
|
// ../../packages/core/dist/integrations/connectivity-probe.js
|
|
5127
5133
|
var CONNECTIVITY_SEVERITY = {
|
|
5128
5134
|
ok: 0,
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5135
|
+
unverified: 1,
|
|
5136
|
+
transient_error: 2,
|
|
5137
|
+
degraded: 3,
|
|
5138
|
+
down: 4
|
|
5132
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
|
+
}
|
|
5133
5149
|
function worseConnectivityOutcome(a, b) {
|
|
5134
5150
|
return CONNECTIVITY_SEVERITY[b.status] > CONNECTIVITY_SEVERITY[a.status] ? b : a;
|
|
5135
5151
|
}
|
|
@@ -10027,6 +10043,22 @@ var FLAG_REGISTRY = [
|
|
|
10027
10043
|
// registry-only (ADR-0022). NOT `public`: it is resolved server-side only, so it
|
|
10028
10044
|
// must never be serialized into the browser map.
|
|
10029
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
|
|
10030
10062
|
}
|
|
10031
10063
|
];
|
|
10032
10064
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -14320,6 +14352,7 @@ export {
|
|
|
14320
14352
|
DEPLOYMENT_TEMPLATES,
|
|
14321
14353
|
getTemplate,
|
|
14322
14354
|
StreamEncoder,
|
|
14355
|
+
bestConnectivityEvidence,
|
|
14323
14356
|
worseConnectivityOutcome,
|
|
14324
14357
|
resolveConnectivityProbe,
|
|
14325
14358
|
probeMcpHttp,
|
|
@@ -14440,4 +14473,4 @@ export {
|
|
|
14440
14473
|
stopAllSessionsAndWait,
|
|
14441
14474
|
getProjectDir
|
|
14442
14475
|
};
|
|
14443
|
-
//# sourceMappingURL=chunk-
|
|
14476
|
+
//# sourceMappingURL=chunk-KAIH24HZ.js.map
|