@integrity-labs/agt-cli 0.28.889 → 0.28.891
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-SQZYQ3KY.js → chunk-2IVLMJXQ.js} +4 -4
- package/dist/{chunk-7LIBFSX6.js → chunk-BH5RFBUM.js} +38 -13
- package/dist/chunk-BH5RFBUM.js.map +1 -0
- package/dist/{chunk-OMRYKBFE.js → chunk-SXYTFXPO.js} +139 -3
- package/dist/chunk-SXYTFXPO.js.map +1 -0
- package/dist/{claude-pair-runtime-5UINWQ52.js → claude-pair-runtime-TCDKO2CZ.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/mcp/direct-chat-channel.js +31 -7
- package/dist/mcp/index.js +1384 -1345
- package/dist/mcp/origami.js +31 -7
- package/dist/mcp/slack-channel.js +31 -7
- package/dist/mcp/telegram-channel.js +31 -7
- package/dist/{persistent-session-RFQKA2H5.js → persistent-session-ZDZSEODJ.js} +15 -3
- package/dist/{responsiveness-probe-65AHLKWV.js → responsiveness-probe-7CY5VZMG.js} +3 -3
- package/dist/{session-auth-dead-LXGSDCB7.js → session-auth-dead-65TG2DLW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-7LIBFSX6.js.map +0 -1
- package/dist/chunk-OMRYKBFE.js.map +0 -1
- /package/dist/{chunk-SQZYQ3KY.js.map → chunk-2IVLMJXQ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-5UINWQ52.js.map → claude-pair-runtime-TCDKO2CZ.js.map} +0 -0
- /package/dist/{persistent-session-RFQKA2H5.js.map → persistent-session-ZDZSEODJ.js.map} +0 -0
- /package/dist/{responsiveness-probe-65AHLKWV.js.map → responsiveness-probe-7CY5VZMG.js.map} +0 -0
- /package/dist/{session-auth-dead-LXGSDCB7.js.map → session-auth-dead-65TG2DLW.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-2IVLMJXQ.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-SXYTFXPO.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-BH5RFBUM.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.891" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6658,7 +6658,7 @@ function handleError(err) {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
|
|
6660
6660
|
// src/bin/agt.ts
|
|
6661
|
-
var cliVersion2 = true ? "0.28.
|
|
6661
|
+
var cliVersion2 = true ? "0.28.891" : "dev";
|
|
6662
6662
|
var program = new Command();
|
|
6663
6663
|
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");
|
|
6664
6664
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseEnvIntegrations,
|
|
17
17
|
shellQuote,
|
|
18
18
|
summarizeUnanswerablePane
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SXYTFXPO.js";
|
|
20
20
|
import {
|
|
21
21
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
22
22
|
INTEGRATIONS_SECTION_END,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
sessionTranscriptDir,
|
|
77
77
|
worseConnectivityOutcome,
|
|
78
78
|
wrapScheduledTaskPrompt
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-BH5RFBUM.js";
|
|
80
80
|
import {
|
|
81
81
|
parsePsRows
|
|
82
82
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6841,7 +6841,7 @@ function exchangeFailureKind(err) {
|
|
|
6841
6841
|
}
|
|
6842
6842
|
|
|
6843
6843
|
// src/lib/api-client.ts
|
|
6844
|
-
var agtCliVersion = true ? "0.28.
|
|
6844
|
+
var agtCliVersion = true ? "0.28.891" : "dev";
|
|
6845
6845
|
var lastConfigHash = null;
|
|
6846
6846
|
function setConfigHash(hash) {
|
|
6847
6847
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11451,4 +11451,4 @@ export {
|
|
|
11451
11451
|
managerInstallSystemUnitCommand,
|
|
11452
11452
|
managerUninstallSystemUnitCommand
|
|
11453
11453
|
};
|
|
11454
|
-
//# sourceMappingURL=chunk-
|
|
11454
|
+
//# sourceMappingURL=chunk-2IVLMJXQ.js.map
|
|
@@ -5130,6 +5130,11 @@ function findRunMarker(content) {
|
|
|
5130
5130
|
return found;
|
|
5131
5131
|
}
|
|
5132
5132
|
|
|
5133
|
+
// ../../packages/core/dist/claude-code-usage/transcript-location.js
|
|
5134
|
+
function encodeClaudeProjectPath(projectDir) {
|
|
5135
|
+
return "-" + projectDir.replace(/^\//, "").replace(/[/.]/g, "-");
|
|
5136
|
+
}
|
|
5137
|
+
|
|
5133
5138
|
// ../../packages/core/dist/loops/kanban-check.js
|
|
5134
5139
|
var KANBAN_CHECK_COMMAND = "kanban_list \u2014 pick up any actionable items if you are free.";
|
|
5135
5140
|
var KANBAN_NUDGE_ACTIONABLE_STATUSES = ["todo", "in_progress"];
|
|
@@ -6785,14 +6790,38 @@ var FLAG_REGISTRY = [
|
|
|
6785
6790
|
},
|
|
6786
6791
|
{
|
|
6787
6792
|
key: "agent-unified-screen",
|
|
6788
|
-
description: 'Unified agent screen redesign (ENG-8478 epic / ENG-8480). When ON, the webapp renders the new single-screen "viewing is editing" agent surface (stripped-back hero, working agent switcher, inline-editable profile, embedded operational panels + a live direct-chat drawer) in place of the separate agent view/edit pages; when OFF, the current view/edit pages are unchanged. Additive UI gate \u2014 no data-model change: each panel reads the same existing endpoints the current pages use. Composes independently with app-top-nav-shell (the two flags are reconciled in ENG-8488).
|
|
6793
|
+
description: 'Unified agent screen redesign (ENG-8478 epic / ENG-8480). When ON, the webapp renders the new single-screen "viewing is editing" agent surface (stripped-back hero, working agent switcher, inline-editable profile, embedded operational panels + a live direct-chat drawer) in place of the separate agent view/edit pages; when OFF, the current view/edit pages are unchanged. Additive UI gate \u2014 no data-model change: each panel reads the same existing endpoints the current pages use. Composes independently with app-top-nav-shell (the two flags are reconciled in ENG-8488). NO LONGER DARK: ENG-9832 cutover step 1 flipped the default to true, so an org with no override now gets the unified screen. The key survives only until cutover step 2 deletes it \u2014 which is blocked on ENG-8547 and ENG-8559, because the flag-off branch is still the only home for the /edit tabs.',
|
|
6789
6794
|
flagType: "boolean",
|
|
6790
|
-
//
|
|
6791
|
-
//
|
|
6792
|
-
|
|
6793
|
-
//
|
|
6794
|
-
// so
|
|
6795
|
-
//
|
|
6795
|
+
// ENG-9832 (cutover step 1): flipped `false` -> `true`. The comment this
|
|
6796
|
+
// replaces called `false` the safe direction — "the current view/edit
|
|
6797
|
+
// pages", never "a half-built redesign". That was true while the redesign
|
|
6798
|
+
// was half built. It has been the shipped surface for the pilot orgs since
|
|
6799
|
+
// ENG-8481, so `false` now points at the pages being retired, not at safety.
|
|
6800
|
+
// The old rationale is recorded rather than deleted because it was correct
|
|
6801
|
+
// under a premise that has since expired.
|
|
6802
|
+
//
|
|
6803
|
+
// MIND THE SPLIT. This value is consulted by the API evaluator when it
|
|
6804
|
+
// builds the `GET /flags` map for an org with NO override. It is NOT the
|
|
6805
|
+
// fallback the webapp uses when that fetch fails: `getPublicBooleanFlagServer`
|
|
6806
|
+
// and `usePublicBooleanFlag` both return the argument passed at the CALL
|
|
6807
|
+
// SITE and never consult this registry. Three call sites carry `true` to
|
|
6808
|
+
// match — agents/[agentId]/page.tsx, agents/[agentId]/edit/page.tsx and
|
|
6809
|
+
// `useAgentUnifiedScreenEnabled` in lib/redesign-flags.ts. Flipping the
|
|
6810
|
+
// registry alone leaves the cutover half-applied with no error anywhere;
|
|
6811
|
+
// eng-9832-unified-fallback-parity.test.ts fails if any of the three drifts.
|
|
6812
|
+
defaultValue: true,
|
|
6813
|
+
// Read BOTH server-side (agents/[agentId]/page.tsx and its /edit sibling, via
|
|
6814
|
+
// getPublicBooleanFlagServer) and client-side (dashboard-sherlock-shell.tsx,
|
|
6815
|
+
// via usePublicBooleanFlag), so the key must be in the browser-exposed public
|
|
6816
|
+
// map. Additive viewer gate, resolved within the active-org cookie's scope
|
|
6817
|
+
// — not sensitive.
|
|
6818
|
+
//
|
|
6819
|
+
// `public` MUST STAY until step 2 deletes the key, and the reason reads
|
|
6820
|
+
// backwards: the server helper resolves against the very SAME public-filtered
|
|
6821
|
+
// `GET /flags` the browser uses (routes/flags.ts filters to
|
|
6822
|
+
// listPublicFlagKeys()). Drop `public` and the key is simply absent from the
|
|
6823
|
+
// map, so both server readers fall through to their call-site argument
|
|
6824
|
+
// forever — silently, with no error raised anywhere.
|
|
6796
6825
|
public: true
|
|
6797
6826
|
},
|
|
6798
6827
|
{
|
|
@@ -13362,11 +13391,6 @@ var UNKNOWN_TURN_FAILURE = Object.freeze({
|
|
|
13362
13391
|
maxAttempts: null
|
|
13363
13392
|
});
|
|
13364
13393
|
|
|
13365
|
-
// ../../packages/core/dist/claude-code-usage/transcript-location.js
|
|
13366
|
-
function encodeClaudeProjectPath(projectDir) {
|
|
13367
|
-
return "-" + projectDir.replace(/^\//, "").replace(/[/.]/g, "-");
|
|
13368
|
-
}
|
|
13369
|
-
|
|
13370
13394
|
// ../../packages/core/dist/claude-code-usage/occupancy-qualification.js
|
|
13371
13395
|
var DEFAULT_MIN_OUTPUT_TOKENS = 25;
|
|
13372
13396
|
var DEFAULT_NEIGHBOURHOOD_MS = 12e4;
|
|
@@ -14343,6 +14367,7 @@ export {
|
|
|
14343
14367
|
UNKNOWN_RATE_LIMIT,
|
|
14344
14368
|
pickNewerClassification,
|
|
14345
14369
|
classifyTranscriptRateLimit,
|
|
14370
|
+
encodeClaudeProjectPath,
|
|
14346
14371
|
DEFAULT_NEIGHBOURHOOD_MS,
|
|
14347
14372
|
extractQualifyingTurns,
|
|
14348
14373
|
isBucketQualified,
|
|
@@ -14394,4 +14419,4 @@ export {
|
|
|
14394
14419
|
peekCurrentSession,
|
|
14395
14420
|
readDailySessionPin
|
|
14396
14421
|
};
|
|
14397
|
-
//# sourceMappingURL=chunk-
|
|
14422
|
+
//# sourceMappingURL=chunk-BH5RFBUM.js.map
|