@integrity-labs/agt-cli 0.28.512 → 0.28.513

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 CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-Z7DMKSCU.js";
43
+ } from "../chunk-PZ3RIMNA.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-M3ICTPSG.js";
74
+ } from "../chunk-MDEA3PIS.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.512" : "dev";
4833
+ var cliVersion = true ? "0.28.513" : "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.512" : "dev";
6005
+ var cliVersion2 = true ? "0.28.513" : "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) => {
@@ -826,6 +826,11 @@ var integration_metadata_v1_default = {
826
826
  pattern: "^https://",
827
827
  description: "Absolute HTTPS URL the broker uses as the vendor API root. Required when any tool descriptor relies on http_templater (i.e. whenever `tools[]` is non-empty)."
828
828
  },
829
+ auth_scheme: {
830
+ type: "string",
831
+ pattern: "^[A-Za-z0-9!#$%&'*+.^_`|~-]+$",
832
+ description: "Authorization scheme word placed before the credential, e.g. `Key` for Higgsfield's `Authorization: Key KEY_ID:KEY_SECRET` (ENG-8440). Omit for the `Bearer` default. Constrained to a single RFC 7230 token because it is concatenated straight into a header value."
833
+ },
829
834
  runtime_scopes: {
830
835
  type: "object",
831
836
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -6718,16 +6723,43 @@ var INTEGRATION_REGISTRY = [
6718
6723
  id: "higgsfield",
6719
6724
  name: "Higgsfield",
6720
6725
  category: "media",
6721
- 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.",
6722
- // Same OAuth pattern as Granola: Claude Code brokers the browser
6723
- // sign-in at runtime; nothing for the manager API to provision.
6724
- supported_auth_types: ["none"],
6726
+ description: "Generative media \u2014 Soul text-to-image with style presets and trained-character consistency, DoP image-to-video with motion presets, and lip-synced talking video. Uses Higgsfield's REST API with your own API key.",
6727
+ // ENG-8440: api_key, NOT the host-brokered MCP this used to be.
6728
+ //
6729
+ // Higgsfield MCP (`https://mcp.higgsfield.ai/mcp`) cannot be completed from
6730
+ // the console, and that is a vendor constraint rather than a gap in our
6731
+ // plumbing. Its `oauth-protected-resource` metadata offers two flows and
6732
+ // names the clients each is for: the redirect flow lists
6733
+ // ["anthropic","claude","claude-ai","claude-code"] and the device-code flow
6734
+ // lists ["openclaw","hermes","memoclaw"]. Our console appears in neither,
6735
+ // and the device authorization server
6736
+ // (`fnf-device-auth.higgsfield.ai/.well-known/oauth-authorization-server`)
6737
+ // still returns 404, so there is no discovery document to probe either.
6738
+ // The only client Higgsfield permits is Claude Code on the agent's own
6739
+ // host, driven by an operator in tmux — no console work removes that step.
6740
+ //
6741
+ // The REST API (`platform.higgsfield.ai`) has none of those constraints: a
6742
+ // static key pair the customer creates in their own Higgsfield account,
6743
+ // sent as `Authorization: Key KEY_ID:KEY_SECRET`. That makes this an
6744
+ // ordinary paste-a-key integration, and it means WE hold the credential —
6745
+ // storable, rotatable, revocable and auditable, none of which was true
6746
+ // under the MCP.
6747
+ //
6748
+ // Bring-your-own-key: generations bill to the customer's own Higgsfield
6749
+ // account, so an install is never metered by Augmented Team.
6750
+ //
6751
+ // NOTE: this entry carries no `remoteMcp`, so it contributes nothing to
6752
+ // `registryRemoteMcpKeys` and cannot prune the `higgsfield` key an older
6753
+ // host already wrote to `.mcp.json`. That pruning is why `'higgsfield'` is
6754
+ // a literal in `integrationDerivedKeys` in the claudecode adapter — do not
6755
+ // drop it while any host may still be carrying the retired MCP entry.
6756
+ supported_auth_types: ["api_key"],
6725
6757
  capabilities: [
6726
- { 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" },
6727
- { 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" },
6728
- { id: "higgsfield:read-history", name: "Read History", description: "Browse generation history for iterative workflows; reuse prior outputs as references.", access: "read" }
6758
+ { id: "higgsfield:generate-image", name: "Generate Image", description: "Create stills with Soul \u2014 style presets, plus trained-character consistency for a repeated face or product.", access: "write" },
6759
+ { id: "higgsfield:generate-video", name: "Generate Video", description: "Animate a still into a short clip with DoP motion presets, or lip-sync a talking video from an image plus audio.", access: "write" },
6760
+ { id: "higgsfield:read-jobs", name: "Poll Jobs & Presets", description: "Poll asynchronous generations to completion, and list the style and motion presets the generate tools accept.", access: "read" }
6729
6761
  ],
6730
- docs_url: "https://higgsfield.ai/mcp",
6762
+ docs_url: "https://docs.higgsfield.ai/",
6731
6763
  beta: true
6732
6764
  },
6733
6765
  {
@@ -11124,9 +11156,6 @@ function buildRemoteMcpEntry(definitionId, dbSpec, connectionKey) {
11124
11156
  }
11125
11157
  };
11126
11158
  }
11127
- function buildHostBrokeredRemoteMcpEntry(url) {
11128
- return { type: "http", url };
11129
- }
11130
11159
  function extractHeaderVarName(value) {
11131
11160
  const m = /^\$\{([A-Za-z_][A-Za-z0-9_]*)\}$/.exec(value.trim());
11132
11161
  return m ? m[1] : null;
@@ -14821,7 +14850,6 @@ export {
14821
14850
  remoteMcpEnvPrefix,
14822
14851
  remoteMcpConnectionScopedEnvVar,
14823
14852
  buildRemoteMcpEntry,
14824
- buildHostBrokeredRemoteMcpEntry,
14825
14853
  buildLiveHeaderRemoteMcpProxyEntry,
14826
14854
  buildOAuthRemoteMcpProxyEntry,
14827
14855
  buildNativeMcpEntry,
@@ -14980,4 +15008,4 @@ export {
14980
15008
  stopAllSessionsAndWait,
14981
15009
  getProjectDir
14982
15010
  };
14983
- //# sourceMappingURL=chunk-M3ICTPSG.js.map
15011
+ //# sourceMappingURL=chunk-MDEA3PIS.js.map