@integrity-labs/agt-cli 0.28.659 → 0.28.661

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,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-ACQZZIK6.js";
43
+ } from "../chunk-WDCI3FYP.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-LUIGOCT4.js";
46
+ } from "../chunk-5JAUM7J2.js";
47
47
  import {
48
48
  AnchorSessionClient,
49
49
  CHANNEL_REGISTRY,
@@ -73,7 +73,7 @@ import {
73
73
  requiredMcpWildcard,
74
74
  resolveChannels,
75
75
  serializeManifestForSlackCli
76
- } from "../chunk-NLCHGFD5.js";
76
+ } from "../chunk-SU2J2QRH.js";
77
77
  import "../chunk-XWVM4KPK.js";
78
78
 
79
79
  // src/bin/agt.ts
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
4909
4909
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4910
4910
  import chalk18 from "chalk";
4911
4911
  import ora16 from "ora";
4912
- var cliVersion = true ? "0.28.659" : "dev";
4912
+ var cliVersion = true ? "0.28.661" : "dev";
4913
4913
  async function fetchLatestVersion() {
4914
4914
  const host2 = getHost();
4915
4915
  if (!host2) return null;
@@ -6089,7 +6089,7 @@ function handleError(err) {
6089
6089
  }
6090
6090
 
6091
6091
  // src/bin/agt.ts
6092
- var cliVersion2 = true ? "0.28.659" : "dev";
6092
+ var cliVersion2 = true ? "0.28.661" : "dev";
6093
6093
  var program = new Command();
6094
6094
  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");
6095
6095
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -16,7 +16,7 @@ import {
16
16
  rotateDailySession,
17
17
  sessionFileExists,
18
18
  todayLocalIso
19
- } from "./chunk-NLCHGFD5.js";
19
+ } from "./chunk-SU2J2QRH.js";
20
20
  import {
21
21
  reapOrphanChannelMcps
22
22
  } from "./chunk-XWVM4KPK.js";
@@ -4322,4 +4322,4 @@ export {
4322
4322
  stopAllSessionsAndWait,
4323
4323
  getProjectDir
4324
4324
  };
4325
- //# sourceMappingURL=chunk-LUIGOCT4.js.map
4325
+ //# sourceMappingURL=chunk-5JAUM7J2.js.map
@@ -1856,6 +1856,69 @@ var INTEGRATION_REGISTRY = [
1856
1856
  args: ["mcp"]
1857
1857
  }
1858
1858
  },
1859
+ {
1860
+ // ENG-9244 / CS-1593. Framer is the first `cli_tool` integration whose CLI
1861
+ // does NOT authenticate from `env_key`, so read
1862
+ // `integrations/framer-credentials.ts` before changing anything here — the
1863
+ // env var below serves the SDK, and the CLI is served by a separate
1864
+ // `projects.json` the provisioner materialises.
1865
+ id: "framer",
1866
+ name: "Framer",
1867
+ category: "ui-generation",
1868
+ description: "Design, edit and publish a Framer website \u2014 update page copy and images, manage CMS collections, and publish deployments",
1869
+ supported_auth_types: ["api_key"],
1870
+ // Pre-1.0 on both halves (@framer/agent 0.0.44, framer-api 0.1.29) and
1871
+ // Framer bills the Server API itself as a preview. Expect churn.
1872
+ beta: true,
1873
+ installable: { category: "Website", authTypes: ["api_key"] },
1874
+ capabilities: [
1875
+ {
1876
+ id: "framer:read-site",
1877
+ name: "Read Site",
1878
+ description: "Read page text, structure, styles, fonts and CMS content",
1879
+ access: "read"
1880
+ },
1881
+ {
1882
+ id: "framer:edit-site",
1883
+ name: "Edit Site",
1884
+ description: "Update page text and images, create pages, manage CMS collections, redirects and localisation",
1885
+ access: "write"
1886
+ },
1887
+ {
1888
+ id: "framer:publish",
1889
+ name: "Publish",
1890
+ description: "Publish the site and promote a deployment to production",
1891
+ access: "write"
1892
+ }
1893
+ ],
1894
+ cli_tool: {
1895
+ package: "@framer/agent",
1896
+ // UPSTREAM HAZARD: the package's own bin name is `agent`. On a fleet whose
1897
+ // whole job is running agents, putting a global `agent` on PATH is asking
1898
+ // for a collision, so the binary we look for and invoke is the shimmed
1899
+ // `framer-agent`. `installer: 'script'` (rather than plain npm) is what
1900
+ // creates that shim — a bare `npm install -g @framer/agent` would publish
1901
+ // `agent` and we would have shipped the collision.
1902
+ binary: "framer-agent",
1903
+ // Serves the `framer-api` SDK, which DOES read this. The CLI does not —
1904
+ // see framer-credentials.ts for why that distinction matters.
1905
+ env_key: "FRAMER_API_KEY",
1906
+ skill_id: "framer",
1907
+ installer: "script",
1908
+ // The catalog is the trust boundary for this string (same contract as the
1909
+ // `gh` entry above). Installs into a private prefix and links ONLY the
1910
+ // renamed binary, so `agent` never lands on PATH.
1911
+ // VERSION IS PINNED ON PURPOSE. `framer-credentials.ts` mirrors this
1912
+ // CLI's pre-1.0 `projects.json` schema (already at version 2, with a
1913
+ // legacy credentials.json path still in its source — this format HAS
1914
+ // churned). An unpinned global install would let a future release land a
1915
+ // schema we do not write, leaving the CLI unauthenticated on a headless
1916
+ // host. Bump this only alongside a compatibility check of the config
1917
+ // format against the new release.
1918
+ script: "npm install -g --prefix /usr/local/framer-agent @framer/agent@0.0.44 && ln -sf /usr/local/framer-agent/bin/agent /usr/local/bin/framer-agent"
1919
+ },
1920
+ docs_url: "https://www.framer.com/developers/server-api-quick-start"
1921
+ },
1859
1922
  {
1860
1923
  id: "v0",
1861
1924
  name: "v0 by Vercel",
@@ -8984,6 +9047,16 @@ var CLI_PROBE_ARGS = {
8984
9047
  // logged in, the honest signal. Read-only. Requires the runner to pass the
8985
9048
  // agent's GH_TOKEN/GITHUB_TOKEN env (see manager-worker runCli wiring).
8986
9049
  github: ["auth", "status"]
9050
+ // ENG-9244 — framer is deliberately ABSENT from this table, and must stay
9051
+ // absent. It has no credential-checking command that works without a project
9052
+ // URL: `project list` reads the local config file and never contacts Framer,
9053
+ // so it would pass with a garbage key, and `session new` needs a per-install
9054
+ // project URL this static table cannot supply. Adding ANY entry here would
9055
+ // flip `cliArgsAreAuthCheckFor` to true and grade the result `live_call` — the
9056
+ // one grade `evidenceSupportsOk` admits — manufacturing exactly the unearned
9057
+ // green the github entry above exists to remove. Left on the `--version`
9058
+ // default so the framework reports it honestly as binary-present /
9059
+ // credentials-unverified until a real probe exists.
8987
9060
  // most CLIs respond to --version; override here only when they don't.
8988
9061
  };
8989
9062
  function cliArgsFor(definitionId, ct) {
@@ -12261,4 +12334,4 @@ export {
12261
12334
  minutesSinceLocalMidnight,
12262
12335
  peekCurrentSession
12263
12336
  };
12264
- //# sourceMappingURL=chunk-NLCHGFD5.js.map
12337
+ //# sourceMappingURL=chunk-SU2J2QRH.js.map