@integrity-labs/agt-cli 0.28.1085 → 0.28.1087

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.
Files changed (24) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-QJHOJMYV.js → chunk-EKFINAHM.js} +4 -4
  3. package/dist/{chunk-672WJ7K3.js → chunk-HN6B5G5V.js} +2 -2
  4. package/dist/{chunk-36PNRFZD.js → chunk-YOIJFB4J.js} +7 -7
  5. package/dist/chunk-YOIJFB4J.js.map +1 -0
  6. package/dist/{claude-pair-runtime-P5RI3SNT.js → claude-pair-runtime-XZXUHC4Q.js} +2 -2
  7. package/dist/lib/manager-worker.js +16 -16
  8. package/dist/mcp/direct-chat-channel.js +5 -5
  9. package/dist/mcp/index.js +8 -8
  10. package/dist/mcp/origami.js +5 -5
  11. package/dist/mcp/slack-channel.js +5 -5
  12. package/dist/mcp/telegram-channel.js +5 -5
  13. package/dist/mcp/xero.js +70 -48
  14. package/dist/{persistent-session-V2TJ6HPL.js → persistent-session-QVJASJSQ.js} +3 -3
  15. package/dist/{responsiveness-probe-2JSH5Y3H.js → responsiveness-probe-AZSZBDKL.js} +3 -3
  16. package/dist/{session-auth-dead-WUMWF4GK.js → session-auth-dead-VY7AZM77.js} +2 -2
  17. package/package.json +1 -1
  18. package/dist/chunk-36PNRFZD.js.map +0 -1
  19. /package/dist/{chunk-QJHOJMYV.js.map → chunk-EKFINAHM.js.map} +0 -0
  20. /package/dist/{chunk-672WJ7K3.js.map → chunk-HN6B5G5V.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-P5RI3SNT.js.map → claude-pair-runtime-XZXUHC4Q.js.map} +0 -0
  22. /package/dist/{persistent-session-V2TJ6HPL.js.map → persistent-session-QVJASJSQ.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-2JSH5Y3H.js.map → responsiveness-probe-AZSZBDKL.js.map} +0 -0
  24. /package/dist/{session-auth-dead-WUMWF4GK.js.map → session-auth-dead-VY7AZM77.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-QJHOJMYV.js";
43
+ } from "../chunk-EKFINAHM.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-672WJ7K3.js";
48
+ } from "../chunk-HN6B5G5V.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-36PNRFZD.js";
82
+ } from "../chunk-YOIJFB4J.js";
83
83
  import "../chunk-OCMJ5E6J.js";
84
84
  import "../chunk-XWVM4KPK.js";
85
85
  import "../chunk-EL5MWGGH.js";
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
5474
5474
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5475
5475
  import chalk18 from "chalk";
5476
5476
  import ora16 from "ora";
5477
- var cliVersion = true ? "0.28.1085" : "dev";
5477
+ var cliVersion = true ? "0.28.1087" : "dev";
5478
5478
  async function fetchLatestVersion() {
5479
5479
  const host2 = getHost();
5480
5480
  if (!host2) return null;
@@ -6734,7 +6734,7 @@ function handleError(err) {
6734
6734
  }
6735
6735
 
6736
6736
  // src/bin/agt.ts
6737
- var cliVersion2 = true ? "0.28.1085" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1087" : "dev";
6738
6738
  var program = new Command();
6739
6739
  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");
6740
6740
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -16,7 +16,7 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-672WJ7K3.js";
19
+ } from "./chunk-HN6B5G5V.js";
20
20
  import {
21
21
  BIND_FAILURE_QUARANTINE_THRESHOLD,
22
22
  INTEGRATIONS_SECTION_END,
@@ -79,7 +79,7 @@ import {
79
79
  sessionTranscriptDir,
80
80
  worseConnectivityOutcome,
81
81
  wrapScheduledTaskPrompt
82
- } from "./chunk-36PNRFZD.js";
82
+ } from "./chunk-YOIJFB4J.js";
83
83
  import {
84
84
  classifyUnanswerablePane,
85
85
  isConsumerTermsDialogVisible,
@@ -7122,7 +7122,7 @@ function exchangeFailureKind(err) {
7122
7122
  }
7123
7123
 
7124
7124
  // src/lib/api-client.ts
7125
- var agtCliVersion = true ? "0.28.1085" : "dev";
7125
+ var agtCliVersion = true ? "0.28.1087" : "dev";
7126
7126
  var lastConfigHash = null;
7127
7127
  function setConfigHash(hash) {
7128
7128
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -12095,4 +12095,4 @@ export {
12095
12095
  managerInstallSystemUnitCommand,
12096
12096
  managerUninstallSystemUnitCommand
12097
12097
  };
12098
- //# sourceMappingURL=chunk-QJHOJMYV.js.map
12098
+ //# sourceMappingURL=chunk-EKFINAHM.js.map
@@ -24,7 +24,7 @@ import {
24
24
  rotateDailySession,
25
25
  sessionFileExists,
26
26
  todayLocalIso
27
- } from "./chunk-36PNRFZD.js";
27
+ } from "./chunk-YOIJFB4J.js";
28
28
  import {
29
29
  classifyUnanswerablePane,
30
30
  findUsageLimitResetHint,
@@ -6113,4 +6113,4 @@ export {
6113
6113
  stopAllSessionsAndWait,
6114
6114
  getProjectDir
6115
6115
  };
6116
- //# sourceMappingURL=chunk-672WJ7K3.js.map
6116
+ //# sourceMappingURL=chunk-HN6B5G5V.js.map
@@ -2354,13 +2354,13 @@ var INTEGRATION_REGISTRY = [
2354
2354
  id: "image-gen",
2355
2355
  name: "Image Generation",
2356
2356
  category: "media",
2357
- description: "AI image generation from a text prompt. An agent passes a prompt to generate_image and gets back a generated raster image, which it can deliver to a chat channel or embed on an Augmented Live page (ENG-7535). Ninjafy manages the model access for you - there is no key to enter. Generation runs through the Vercel AI Gateway (OpenAI gpt-image-2 today). It is a PREMIUM, usage-billed capability: gated on a per-org opt-in and a monthly USD budget, and metered per generated image.",
2357
+ description: "AI image generation from a text prompt. An agent passes a prompt to generate_image and gets back a generated raster image, which it can deliver to a chat channel or embed on a Ninja Canvas page (ENG-7535). Ninjafy manages the model access for you - there is no key to enter. Generation runs through the Vercel AI Gateway (OpenAI gpt-image-2 today). It is a PREMIUM, usage-billed capability: gated on a per-org opt-in and a monthly USD budget, and metered per generated image.",
2358
2358
  // No vendor key to enter: Ninjafy owns the shared Vercel AI Gateway virtual
2359
2359
  // key (AI_GATEWAY_API_KEY) that fronts the image providers, so auth is `none`
2360
2360
  // (customers never enter a key), same as ElevenLabs.
2361
2361
  supported_auth_types: ["none"],
2362
2362
  capabilities: [
2363
- { id: "image-gen:generate", name: "Generate Image", description: "Generate a raster image from a text prompt (generate_image), deliverable to a chat channel or an Augmented Live page", access: "write" }
2363
+ { id: "image-gen:generate", name: "Generate Image", description: "Generate a raster image from a text prompt (generate_image), deliverable to a chat channel or a Ninja Canvas page", access: "write" }
2364
2364
  ],
2365
2365
  docs_url: "https://platform.openai.com/docs/guides/images",
2366
2366
  beta: true,
@@ -5979,7 +5979,7 @@ var FLAG_REGISTRY = [
5979
5979
  },
5980
5980
  {
5981
5981
  key: "live-page-comments",
5982
- description: "Text-selection commenting on public Augmented Live pages for authenticated team members (ENG-6788). When on, a member viewing live.augmented.team/{slug} can select text and send a comment to the agent via the relay bridge; evaluated per-org in GET /artifacts/:slug/comment-access. Additive feature, not an enforcement control. Boolean gate; ships dark.",
5982
+ description: "Text-selection commenting on public Ninja Canvas pages for authenticated team members (ENG-6788). When on, a member viewing live.augmented.team/{slug} can select text and send a comment to the agent via the relay bridge; evaluated per-org in GET /artifacts/:slug/comment-access. Additive feature, not an enforcement control. Boolean gate; ships dark.",
5983
5983
  flagType: "boolean",
5984
5984
  defaultValue: false
5985
5985
  },
@@ -6031,14 +6031,14 @@ var FLAG_REGISTRY = [
6031
6031
  },
6032
6032
  {
6033
6033
  key: "augmented-live-stream-producer",
6034
- description: "Augmented Live live-preview streaming producer (ENG-7210). The receiver (codec, artifact-draft channel, stream route, console Live Preview tab) shipped under ENG-6234 but never engages because nothing writes the working file the manager scanner watches. When ON for an org, a host-side PostToolUse hook mirrors agt-live.publish/editing content to ~/.augmented/{codeName}/artifacts/<slug>/index.html, so the scanner mints a draft and streams a keyframe to the console Live Preview tab. Additive, best-effort. Boolean gate; ships dark. Materialized to the host flags-cache; the bash hook reads it (operator/canary override AGT_LIVE_STREAM_PRODUCER_ENABLED).",
6034
+ description: "Ninja Canvas live-preview streaming producer (ENG-7210). The receiver (codec, artifact-draft channel, stream route, console Live Preview tab) shipped under ENG-6234 but never engages because nothing writes the working file the manager scanner watches. When ON for an org, a host-side PostToolUse hook mirrors agt-live.publish/editing content to ~/.augmented/{codeName}/artifacts/<slug>/index.html, so the scanner mints a draft and streams a keyframe to the console Live Preview tab. Additive, best-effort. Boolean gate; ships dark. Materialized to the host flags-cache; the bash hook reads it (operator/canary override AGT_LIVE_STREAM_PRODUCER_ENABLED).",
6035
6035
  flagType: "boolean",
6036
6036
  defaultValue: false,
6037
6037
  envVar: "AGT_LIVE_STREAM_PRODUCER_ENABLED"
6038
6038
  },
6039
6039
  {
6040
6040
  key: "auto-provision-agt-live",
6041
- description: "Auto-provision the Augmented Live integration (free tier, watermarked) into every NEW organization as an org-scoped install (ENG-7819). Consumed in TWO places: the seed_default_live_integration AFTER INSERT trigger on organizations reads the EXPLICIT feature_flags row (a plpgsql trigger cannot see this compiled default, so dark = no row = trigger no-ops; flipping the flag on this page writes the row the trigger reads - GLOBAL value only, per-org overrides are not consulted by the trigger), and the POST /organizations route evaluates it normally to send the owner provisioning notice. Restricted-posture orgs are skipped; opt-out (remove/block) is permanent - no reconciler. Boolean gate; ships dark. Pre-flip gates: docs/operator/default-integrations-admission.md.",
6041
+ description: "Auto-provision the Ninja Canvas integration (free tier, watermarked) into every NEW organization as an org-scoped install (ENG-7819). Consumed in TWO places: the seed_default_live_integration AFTER INSERT trigger on organizations reads the EXPLICIT feature_flags row (a plpgsql trigger cannot see this compiled default, so dark = no row = trigger no-ops; flipping the flag on this page writes the row the trigger reads - GLOBAL value only, per-org overrides are not consulted by the trigger), and the POST /organizations route evaluates it normally to send the owner provisioning notice. Restricted-posture orgs are skipped; opt-out (remove/block) is permanent - no reconciler. Boolean gate; ships dark. Pre-flip gates: docs/operator/default-integrations-admission.md.",
6042
6042
  flagType: "boolean",
6043
6043
  defaultValue: false,
6044
6044
  // Grants every new open org a public-publishing capability by default;
@@ -9665,7 +9665,7 @@ function runCrossFileRules(charter, tools) {
9665
9665
  code: "TOOLS.PUBLISH.PUBLIC_EXPOSURE",
9666
9666
  path: `tools[${i}].id`,
9667
9667
  severity: "warning",
9668
- message: `Tool "${tool.id}" grants Augmented Live publishing (permanent, public) to a ${charter.environment === "prod" ? "production" : "High-risk-tier"} agent. Confirm the public-exposure surface is intended before granting it.`
9668
+ message: `Tool "${tool.id}" grants Ninja Canvas publishing (permanent, public) to a ${charter.environment === "prod" ? "production" : "High-risk-tier"} agent. Confirm the public-exposure surface is intended before granting it.`
9669
9669
  });
9670
9670
  }
9671
9671
  }
@@ -16377,4 +16377,4 @@ export {
16377
16377
  peekCurrentSession,
16378
16378
  readDailySessionPin
16379
16379
  };
16380
- //# sourceMappingURL=chunk-36PNRFZD.js.map
16380
+ //# sourceMappingURL=chunk-YOIJFB4J.js.map