@integrity-labs/agt-cli 0.28.1165 → 0.28.1166

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 (29) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-T7NKHOJF.js → chunk-6KJFIVYJ.js} +2 -2
  3. package/dist/{chunk-TNPLCJIG.js → chunk-I5NQ762W.js} +12 -3
  4. package/dist/chunk-I5NQ762W.js.map +1 -0
  5. package/dist/{chunk-FGPPJKJ5.js → chunk-NOCTCO7G.js} +3 -3
  6. package/dist/{chunk-MBNPMML4.js → chunk-UX3TDTVM.js} +5 -5
  7. package/dist/{chunk-ZDHCIJL6.js → chunk-ZSCZDOHR.js} +2 -2
  8. package/dist/{claude-code-updater-EM3AY2PR.js → claude-code-updater-VRZ7MMKO.js} +3 -3
  9. package/dist/{claude-pair-runtime-P45H3GNC.js → claude-pair-runtime-HOIYDAGM.js} +3 -3
  10. package/dist/lib/manager-worker.js +19 -19
  11. package/dist/mcp/direct-chat-channel.js +11 -2
  12. package/dist/mcp/index.js +11 -2
  13. package/dist/mcp/origami.js +11 -2
  14. package/dist/mcp/slack-channel.js +11 -2
  15. package/dist/mcp/telegram-channel.js +11 -2
  16. package/dist/{persistent-session-KSV7RIQQ.js → persistent-session-YQLP5NPI.js} +4 -4
  17. package/dist/{responsiveness-probe-XVYYSQQN.js → responsiveness-probe-6K6SVHRK.js} +4 -4
  18. package/dist/{session-auth-dead-KMMDVC5E.js → session-auth-dead-M4KYOBXK.js} +3 -3
  19. package/package.json +1 -1
  20. package/dist/chunk-TNPLCJIG.js.map +0 -1
  21. /package/dist/{chunk-T7NKHOJF.js.map → chunk-6KJFIVYJ.js.map} +0 -0
  22. /package/dist/{chunk-FGPPJKJ5.js.map → chunk-NOCTCO7G.js.map} +0 -0
  23. /package/dist/{chunk-MBNPMML4.js.map → chunk-UX3TDTVM.js.map} +0 -0
  24. /package/dist/{chunk-ZDHCIJL6.js.map → chunk-ZSCZDOHR.js.map} +0 -0
  25. /package/dist/{claude-code-updater-EM3AY2PR.js.map → claude-code-updater-VRZ7MMKO.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-P45H3GNC.js.map → claude-pair-runtime-HOIYDAGM.js.map} +0 -0
  27. /package/dist/{persistent-session-KSV7RIQQ.js.map → persistent-session-YQLP5NPI.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-XVYYSQQN.js.map → responsiveness-probe-6K6SVHRK.js.map} +0 -0
  29. /package/dist/{session-auth-dead-KMMDVC5E.js.map → session-auth-dead-M4KYOBXK.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,17 +40,17 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-MBNPMML4.js";
43
+ } from "../chunk-UX3TDTVM.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-FGPPJKJ5.js";
48
+ } from "../chunk-NOCTCO7G.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-ZDHCIJL6.js";
53
+ } from "../chunk-ZSCZDOHR.js";
54
54
  import "../chunk-B6UYVEMD.js";
55
55
  import "../chunk-OAWK4OBN.js";
56
56
  import "../chunk-XWVM4KPK.js";
@@ -84,7 +84,7 @@ import {
84
84
  requiredMcpWildcard,
85
85
  resolveChannels,
86
86
  serializeManifestForSlackCli
87
- } from "../chunk-TNPLCJIG.js";
87
+ } from "../chunk-I5NQ762W.js";
88
88
  import "../chunk-EL5MWGGH.js";
89
89
  import "../chunk-DGUM43GV.js";
90
90
 
@@ -5513,7 +5513,7 @@ import { execFileSync, execSync } from "child_process";
5513
5513
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5514
5514
  import chalk18 from "chalk";
5515
5515
  import ora16 from "ora";
5516
- var cliVersion = true ? "0.28.1165" : "dev";
5516
+ var cliVersion = true ? "0.28.1166" : "dev";
5517
5517
  async function fetchLatestVersion() {
5518
5518
  const host2 = getHost();
5519
5519
  if (!host2) return null;
@@ -6773,7 +6773,7 @@ function handleError(err) {
6773
6773
  }
6774
6774
 
6775
6775
  // src/bin/agt.ts
6776
- var cliVersion2 = true ? "0.28.1165" : "dev";
6776
+ var cliVersion2 = true ? "0.28.1166" : "dev";
6777
6777
  var program = new Command();
6778
6778
  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");
6779
6779
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XWVM4KPK.js";
5
5
  import {
6
6
  FORCED_UPDATE_HARD_DEADLINE_MS
7
- } from "./chunk-TNPLCJIG.js";
7
+ } from "./chunk-I5NQ762W.js";
8
8
  import {
9
9
  effectiveClaudeJsonPath
10
10
  } from "./chunk-EL5MWGGH.js";
@@ -714,4 +714,4 @@ export {
714
714
  probeClaudeInstalls,
715
715
  maybeUpdateClaudeCode
716
716
  };
717
- //# sourceMappingURL=chunk-T7NKHOJF.js.map
717
+ //# sourceMappingURL=chunk-6KJFIVYJ.js.map
@@ -2477,6 +2477,15 @@ var INTEGRATION_REGISTRY = [
2477
2477
  // successor at the same cost to us); Sunburst is seeded at 4x.
2478
2478
  { event_type: "gpt_image_2_5_flare", unit: "image" },
2479
2479
  { event_type: "gpt_image_2_5_sunburst", unit: "image" },
2480
+ // CS-2360: quality medium/high price on their own rows (more image-output
2481
+ // tokens at the same per-token rate). `low` stays on the two meters above.
2482
+ // The handler refuses a medium/high render until its meter has a rate
2483
+ // card row in BOTH USD and AUD. Size does not change the meter: the rate
2484
+ // is set on the worst case (landscape/portrait).
2485
+ { event_type: "gpt_image_2_5_flare_medium", unit: "image", label: "Flare, medium quality" },
2486
+ { event_type: "gpt_image_2_5_flare_high", unit: "image", label: "Flare, high quality" },
2487
+ { event_type: "gpt_image_2_5_sunburst_medium", unit: "image", label: "Sunburst, medium quality" },
2488
+ { event_type: "gpt_image_2_5_sunburst_high", unit: "image", label: "Sunburst, high quality" },
2480
2489
  // CS-1940: an edit also records one of these with units = the number of
2481
2490
  // reference images. Declared here (obi-wan 3a515eaf41b0) because the admin
2482
2491
  // pricing route only accepts a price for a declared meter, and the org
@@ -16783,7 +16792,7 @@ function truncate(text, max) {
16783
16792
  }
16784
16793
  function resolvePreset(config) {
16785
16794
  const name = config["preset"];
16786
- const base = typeof name === "string" && name in WEBHOOK_PRESETS ? WEBHOOK_PRESETS[name] : WEBHOOK_PRESETS.generic;
16795
+ const base = typeof name === "string" && Object.prototype.hasOwnProperty.call(WEBHOOK_PRESETS, name) ? WEBHOOK_PRESETS[name] : WEBHOOK_PRESETS.generic;
16787
16796
  const dedup = config["dedup_path"];
16788
16797
  const type = config["event_type_path"];
16789
16798
  const payload = config["payload_path"];
@@ -16822,7 +16831,7 @@ function validateWebhookConfig(input) {
16822
16831
  }
16823
16832
  out["instruction"] = instruction.trim();
16824
16833
  const preset = input["preset"] ?? "generic";
16825
- if (typeof preset !== "string" || !(preset in WEBHOOK_PRESETS)) {
16834
+ if (typeof preset !== "string" || !Object.prototype.hasOwnProperty.call(WEBHOOK_PRESETS, preset)) {
16826
16835
  return {
16827
16836
  ok: false,
16828
16837
  error: `preset must be one of: ${Object.keys(WEBHOOK_PRESETS).join(", ")}`
@@ -17119,4 +17128,4 @@ export {
17119
17128
  forcedUpdatePendingForMs,
17120
17129
  isForcedUpdatePastDeadline
17121
17130
  };
17122
- //# sourceMappingURL=chunk-TNPLCJIG.js.map
17131
+ //# sourceMappingURL=chunk-I5NQ762W.js.map