@integrity-labs/agt-cli 0.28.71 → 0.28.73
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-36O7GO5B.js → chunk-AB57D3NN.js} +2 -2
- package/dist/{chunk-4FLPEG4D.js → chunk-BLW7YNYS.js} +56 -6
- package/dist/chunk-BLW7YNYS.js.map +1 -0
- package/dist/{chunk-Z2BMTZQK.js → chunk-PXMYLQWB.js} +13 -1
- package/dist/chunk-PXMYLQWB.js.map +1 -0
- package/dist/{claude-pair-runtime-XW57YWRZ.js → claude-pair-runtime-6KND4QS7.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/{persistent-session-JCVHOC2Q.js → persistent-session-VKRJVW7A.js} +3 -3
- package/dist/{responsiveness-probe-OTYU6IER.js → responsiveness-probe-2VTHIPLG.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4FLPEG4D.js.map +0 -1
- package/dist/chunk-Z2BMTZQK.js.map +0 -1
- /package/dist/{chunk-36O7GO5B.js.map → chunk-AB57D3NN.js.map} +0 -0
- /package/dist/{claude-pair-runtime-XW57YWRZ.js.map → claude-pair-runtime-6KND4QS7.js.map} +0 -0
- /package/dist/{persistent-session-JCVHOC2Q.js.map → persistent-session-VKRJVW7A.js.map} +0 -0
- /package/dist/{responsiveness-probe-OTYU6IER.js.map → responsiveness-probe-2VTHIPLG.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
success,
|
|
38
38
|
table,
|
|
39
39
|
warn
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-BLW7YNYS.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
renderTemplate,
|
|
65
65
|
resolveChannels,
|
|
66
66
|
serializeManifestForSlackCli
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-PXMYLQWB.js";
|
|
68
68
|
|
|
69
69
|
// src/bin/agt.ts
|
|
70
70
|
import { join as join22 } from "path";
|
|
@@ -4777,7 +4777,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4777
4777
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4778
4778
|
import chalk18 from "chalk";
|
|
4779
4779
|
import ora16 from "ora";
|
|
4780
|
-
var cliVersion = true ? "0.28.
|
|
4780
|
+
var cliVersion = true ? "0.28.73" : "dev";
|
|
4781
4781
|
async function fetchLatestVersion() {
|
|
4782
4782
|
const host2 = getHost();
|
|
4783
4783
|
if (!host2) return null;
|
|
@@ -5791,7 +5791,7 @@ function handleError(err) {
|
|
|
5791
5791
|
}
|
|
5792
5792
|
|
|
5793
5793
|
// src/bin/agt.ts
|
|
5794
|
-
var cliVersion2 = true ? "0.28.
|
|
5794
|
+
var cliVersion2 = true ? "0.28.73" : "dev";
|
|
5795
5795
|
var program = new Command();
|
|
5796
5796
|
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");
|
|
5797
5797
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMissingVar,
|
|
4
4
|
isClaudeFastMode,
|
|
5
5
|
probeMcpEnvSubstitution
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PXMYLQWB.js";
|
|
7
7
|
import {
|
|
8
8
|
reapOrphanChannelMcps
|
|
9
9
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1395,4 +1395,4 @@ export {
|
|
|
1395
1395
|
stopAllSessionsAndWait,
|
|
1396
1396
|
getProjectDir
|
|
1397
1397
|
};
|
|
1398
|
-
//# sourceMappingURL=chunk-
|
|
1398
|
+
//# sourceMappingURL=chunk-AB57D3NN.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveConnectivityProbe,
|
|
23
23
|
worseConnectivityOutcome,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PXMYLQWB.js";
|
|
26
26
|
|
|
27
27
|
// ../../packages/core/dist/integrations/registry.js
|
|
28
28
|
var INTEGRATION_REGISTRY = [
|
|
@@ -211,6 +211,22 @@ var INTEGRATION_REGISTRY = [
|
|
|
211
211
|
// validation before we drop the beta flag.
|
|
212
212
|
beta: true
|
|
213
213
|
},
|
|
214
|
+
{
|
|
215
|
+
id: "higgsfield",
|
|
216
|
+
name: "Higgsfield",
|
|
217
|
+
category: "media",
|
|
218
|
+
description: "Generative media \u2014 image (Soul, Nano Banana) and video (Kling, Veo, Seedance) generation, character training (Soul ID), and generation history. Remote streamable-HTTP MCP at https://mcp.higgsfield.ai/mcp.",
|
|
219
|
+
// Same OAuth pattern as Granola: Claude Code brokers the browser
|
|
220
|
+
// sign-in at runtime; nothing for the manager API to provision.
|
|
221
|
+
supported_auth_types: ["none"],
|
|
222
|
+
capabilities: [
|
|
223
|
+
{ id: "higgsfield:generate-image", name: "Generate Image", description: "Create images via Soul, Nano Banana, and other image models \u2014 up to 4K. Includes Soul ID character consistency.", access: "write" },
|
|
224
|
+
{ id: "higgsfield:generate-video", name: "Generate Video", description: "Create videos via Kling, Veo, Seedance \u2014 up to 15s. Includes UGC, product review, TV spot presets.", access: "write" },
|
|
225
|
+
{ id: "higgsfield:read-history", name: "Read History", description: "Browse generation history for iterative workflows; reuse prior outputs as references.", access: "read" }
|
|
226
|
+
],
|
|
227
|
+
docs_url: "https://higgsfield.ai/mcp",
|
|
228
|
+
beta: true
|
|
229
|
+
},
|
|
214
230
|
{
|
|
215
231
|
id: "qmd",
|
|
216
232
|
name: "QMD Memory Search",
|
|
@@ -3895,6 +3911,9 @@ function buildRemoteMcpEntry(definitionId) {
|
|
|
3895
3911
|
}
|
|
3896
3912
|
};
|
|
3897
3913
|
}
|
|
3914
|
+
function buildHostBrokeredRemoteMcpEntry(url) {
|
|
3915
|
+
return { type: "http", url };
|
|
3916
|
+
}
|
|
3898
3917
|
|
|
3899
3918
|
// ../../packages/core/dist/provisioning/native-mcp.js
|
|
3900
3919
|
function buildNativeMcpEntry(spec, ctx) {
|
|
@@ -5046,8 +5065,25 @@ function provisionOrientHook(codeName) {
|
|
|
5046
5065
|
"# answered. Replay-enabled hosts get re-delivery (answering from the",
|
|
5047
5066
|
"# details too would double-reply); replay-off hosts must act on the",
|
|
5048
5067
|
"# details above \u2014 nothing else will ever re-deliver.",
|
|
5068
|
+
"# ENG-6540: resolve EFFECTIVE channel-replay the same way",
|
|
5069
|
+
"# resolveHostBooleanFlag does post-ENG-6503 (env override > manager flags",
|
|
5070
|
+
"# cache > off), so a CENTRAL flag flip (no env var set) still picks the",
|
|
5071
|
+
"# re-delivery copy \u2014 otherwise a flag-only flip leaves this reading the",
|
|
5072
|
+
'# unset env, prints "act on the queue now", and the agent double-replies',
|
|
5073
|
+
"# (answers from the details AND replay re-delivers).",
|
|
5074
|
+
"REPLAY_ON=false",
|
|
5075
|
+
'case "${AGT_CHANNEL_REPLAY_ENABLED:-}" in',
|
|
5076
|
+
" true|1|yes|on) REPLAY_ON=true ;;",
|
|
5077
|
+
" false|0|no|off) REPLAY_ON=false ;;",
|
|
5078
|
+
" *)",
|
|
5079
|
+
' FLAGS_CACHE="$(dirname "$AGENT_DIR")/flags-cache.json"',
|
|
5080
|
+
` if [ -f "$FLAGS_CACHE" ] && [ "$(jq -r '.flags["channel-replay"] // empty' "$FLAGS_CACHE" 2>/dev/null || true)" = "true" ]; then`,
|
|
5081
|
+
" REPLAY_ON=true",
|
|
5082
|
+
" fi",
|
|
5083
|
+
" ;;",
|
|
5084
|
+
"esac",
|
|
5049
5085
|
'if [ "$pending_total" -gt 0 ]; then',
|
|
5050
|
-
' if [ "$
|
|
5086
|
+
' if [ "$REPLAY_ON" = "true" ]; then',
|
|
5051
5087
|
' echo "Respond \\"Ready.\\" once. The queued messages above will be re-delivered to you by the channel server within a few minutes \u2014 answer each as it arrives (acknowledge before tool use). Do not reply from the queue details directly; wait for the re-delivery."',
|
|
5052
5088
|
" else",
|
|
5053
5089
|
` echo "Respond \\"Ready.\\" once, then immediately work through the queued messages above, oldest first \u2014 they are real user messages from before this session started and will NOT be re-delivered. Use the addressing ids with the matching channel reply tool (slack.reply with channel + thread_ts, telegram.reply with chat_id, etc.). If a queue detail lacks the message content, first try the channel's thread/history tools to read the conversation (Slack threads can be re-read); only if the content is truly unrecoverable, say so honestly in your reply and ask the user to resend."`,
|
|
@@ -5567,6 +5603,10 @@ function buildMcpJson(input) {
|
|
|
5567
5603
|
}
|
|
5568
5604
|
};
|
|
5569
5605
|
}
|
|
5606
|
+
const hasHiggsfield = input.integrations?.some((i) => i.definition_id === "higgsfield");
|
|
5607
|
+
if (hasHiggsfield) {
|
|
5608
|
+
mcpServers["higgsfield"] = buildHostBrokeredRemoteMcpEntry("https://mcp.higgsfield.ai/mcp");
|
|
5609
|
+
}
|
|
5570
5610
|
if (hasXeroBroker) {
|
|
5571
5611
|
mcpServers["xero-broker"] = {
|
|
5572
5612
|
command: "npx",
|
|
@@ -5636,7 +5676,7 @@ function mapScheduledTasks(tasks) {
|
|
|
5636
5676
|
};
|
|
5637
5677
|
});
|
|
5638
5678
|
}
|
|
5639
|
-
function buildUrlMcpServerEntry(url, headers, type
|
|
5679
|
+
function buildUrlMcpServerEntry(url, headers, type) {
|
|
5640
5680
|
const hasHeaders = !!headers && Object.keys(headers).length > 0;
|
|
5641
5681
|
if (url.includes("composio.dev") && hasHeaders) {
|
|
5642
5682
|
return { type: "http", url, headers };
|
|
@@ -5659,7 +5699,10 @@ function buildUrlMcpServerEntry(url, headers, type = "http") {
|
|
|
5659
5699
|
};
|
|
5660
5700
|
}
|
|
5661
5701
|
if (hasHeaders) {
|
|
5662
|
-
return { type, url, headers };
|
|
5702
|
+
return { type: type ?? "http", url, headers };
|
|
5703
|
+
}
|
|
5704
|
+
if (type) {
|
|
5705
|
+
return { type, url };
|
|
5663
5706
|
}
|
|
5664
5707
|
return { command: "npx", args: ["-y", "mcp-remote", url, "--allow-http"] };
|
|
5665
5708
|
}
|
|
@@ -6585,6 +6628,13 @@ ${sections}`
|
|
|
6585
6628
|
});
|
|
6586
6629
|
}
|
|
6587
6630
|
}
|
|
6631
|
+
const hasHiggsfield = integrations.some((i) => i.definition_id === "higgsfield");
|
|
6632
|
+
if (hasHiggsfield) {
|
|
6633
|
+
this.writeMcpServer(codeName, "higgsfield", {
|
|
6634
|
+
url: "https://mcp.higgsfield.ai/mcp",
|
|
6635
|
+
type: "http"
|
|
6636
|
+
});
|
|
6637
|
+
}
|
|
6588
6638
|
if (hasXeroBroker) {
|
|
6589
6639
|
const brokerAgentId = resolveBrokerAgentId(codeName);
|
|
6590
6640
|
if (!brokerAgentId) {
|
|
@@ -7347,7 +7397,7 @@ function requireHost() {
|
|
|
7347
7397
|
}
|
|
7348
7398
|
|
|
7349
7399
|
// src/lib/api-client.ts
|
|
7350
|
-
var agtCliVersion = true ? "0.28.
|
|
7400
|
+
var agtCliVersion = true ? "0.28.73" : "dev";
|
|
7351
7401
|
var lastConfigHash = null;
|
|
7352
7402
|
function setConfigHash(hash) {
|
|
7353
7403
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8643,4 +8693,4 @@ export {
|
|
|
8643
8693
|
managerInstallSystemUnitCommand,
|
|
8644
8694
|
managerUninstallSystemUnitCommand
|
|
8645
8695
|
};
|
|
8646
|
-
//# sourceMappingURL=chunk-
|
|
8696
|
+
//# sourceMappingURL=chunk-BLW7YNYS.js.map
|