@integrity-labs/agt-cli 0.28.1298 → 0.28.1300

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.
@@ -15,7 +15,7 @@ import {
15
15
  mintRotatedHostKey,
16
16
  probeHostKey,
17
17
  setConfigHash
18
- } from "./chunk-LH6GI45I.js";
18
+ } from "./chunk-5LZM4NJQ.js";
19
19
  import "./chunk-FPJRE3WT.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
@@ -36,4 +36,4 @@ export {
36
36
  probeHostKey,
37
37
  setConfigHash
38
38
  };
39
- //# sourceMappingURL=api-client-INS5Y6AC.js.map
39
+ //# sourceMappingURL=api-client-3BDJN2QV.js.map
package/dist/bin/agt.js CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  success,
32
32
  table,
33
33
  warn
34
- } from "../chunk-QUZDW6JK.js";
34
+ } from "../chunk-KNGBITUD.js";
35
35
  import {
36
36
  ApiError,
37
37
  PROD_AGT_HOST,
@@ -42,7 +42,7 @@ import {
42
42
  getHost,
43
43
  getHostId,
44
44
  setActiveTeam
45
- } from "../chunk-LH6GI45I.js";
45
+ } from "../chunk-5LZM4NJQ.js";
46
46
  import {
47
47
  getProjectDir,
48
48
  isSessionResumeDisabled,
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
5207
5207
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5208
5208
  import chalk17 from "chalk";
5209
5209
  import ora15 from "ora";
5210
- var cliVersion = true ? "0.28.1298" : "dev";
5210
+ var cliVersion = true ? "0.28.1300" : "dev";
5211
5211
  async function fetchLatestVersion() {
5212
5212
  const host2 = getHost();
5213
5213
  if (!host2) return null;
@@ -6467,7 +6467,7 @@ function handleError(err) {
6467
6467
  }
6468
6468
 
6469
6469
  // src/bin/agt.ts
6470
- var cliVersion2 = true ? "0.28.1298" : "dev";
6470
+ var cliVersion2 = true ? "0.28.1300" : "dev";
6471
6471
  var program = new Command();
6472
6472
  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");
6473
6473
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -103,7 +103,7 @@ function exchangeFailureKind(err) {
103
103
  }
104
104
 
105
105
  // src/lib/api-client.ts
106
- var agtCliVersion = true ? "0.28.1298" : "dev";
106
+ var agtCliVersion = true ? "0.28.1300" : "dev";
107
107
  var lastConfigHash = null;
108
108
  function setConfigHash(hash) {
109
109
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -468,4 +468,4 @@ export {
468
468
  api,
469
469
  getHostId
470
470
  };
471
- //# sourceMappingURL=chunk-LH6GI45I.js.map
471
+ //# sourceMappingURL=chunk-5LZM4NJQ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  exchangeApiKey,
3
3
  getApiKey,
4
4
  getHost
5
- } from "./chunk-LH6GI45I.js";
5
+ } from "./chunk-5LZM4NJQ.js";
6
6
  import {
7
7
  LATE_BOUND_VARS,
8
8
  PLATFORM_DENY_PERMISSIONS,
@@ -13876,4 +13876,4 @@ export {
13876
13876
  managerInstallSystemUnitCommand,
13877
13877
  managerUninstallSystemUnitCommand
13878
13878
  };
13879
- //# sourceMappingURL=chunk-QUZDW6JK.js.map
13879
+ //# sourceMappingURL=chunk-KNGBITUD.js.map
@@ -70,7 +70,7 @@ import {
70
70
  tripClass,
71
71
  writeEtcEnvironment,
72
72
  writeProfileDScript
73
- } from "../chunk-QUZDW6JK.js";
73
+ } from "../chunk-KNGBITUD.js";
74
74
  import {
75
75
  ApiError,
76
76
  adoptHostKeyInProcess,
@@ -88,7 +88,7 @@ import {
88
88
  probeHostKey,
89
89
  requireHost,
90
90
  setConfigHash
91
- } from "../chunk-LH6GI45I.js";
91
+ } from "../chunk-5LZM4NJQ.js";
92
92
  import {
93
93
  BLOCKED_ON_PROMPT_DECISION,
94
94
  CHANNEL_SECRET_ENV_KEYS,
@@ -15774,7 +15774,7 @@ function createFileMigrationReportIO(codeName, log2) {
15774
15774
  };
15775
15775
  }
15776
15776
  var managerHostPost = async (path, body) => {
15777
- const { api: api2, ApiError: ApiError3 } = await import("../api-client-INS5Y6AC.js");
15777
+ const { api: api2, ApiError: ApiError3 } = await import("../api-client-3BDJN2QV.js");
15778
15778
  try {
15779
15779
  const json = await api2.post(path, body);
15780
15780
  return { status: 200, json };
@@ -18759,7 +18759,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
18759
18759
  var lastVersionCheckAt = 0;
18760
18760
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
18761
18761
  var lastResponsivenessProbeAt = 0;
18762
- var agtCliVersion = true ? "0.28.1298" : "dev";
18762
+ var agtCliVersion = true ? "0.28.1300" : "dev";
18763
18763
  function resolveBrewPath(execFileSync5) {
18764
18764
  try {
18765
18765
  const out = execFileSync5("which", ["brew"], { timeout: 5e3 }).toString().trim();
package/dist/mcp/index.js CHANGED
@@ -37680,6 +37680,9 @@ var DASHBOARD_WIDGET_SCHEMAS = {
37680
37680
  var Y_AXIS_WIDGET_KINDS = ["area", "line", "bar"];
37681
37681
  var Y_AXIS_MAX_TICKS = 21;
37682
37682
 
37683
+ // ../core/dist/dashboards/title-style.js
37684
+ var WIDGET_TITLE_TONES = ["info", "warning", "critical"];
37685
+
37683
37686
  // src/dashboard-widget-def-schema.ts
37684
37687
  var WidgetDefSchema = external_exports.object({
37685
37688
  id: external_exports.string().describe("Stable id within the dashboard, e.g. 'kpi.revenue' or 'chart.cashflow'."),
@@ -37694,6 +37697,13 @@ var WidgetDefSchema = external_exports.object({
37694
37697
  Exactly one cell per column in every row. state (${TABLE_CELL_STATES.join("|")}) colours the cell. Optional intensity (0-1) shades that state's colour from light to dark for a heatmap (e.g. variance); it needs a non-empty state, and legend ramp: true shows the light-to-dark scale. For a grid coloured by category (e.g. work type), map each category to a state and name it in legend.`
37695
37698
  ),
37696
37699
  title: external_exports.string().optional().describe("Title shown above the widget."),
37700
+ // CS-2642: declared for the same reason as y_axis below; z.object would strip it.
37701
+ title_style: external_exports.object({
37702
+ tone: external_exports.enum(WIDGET_TITLE_TONES).optional(),
37703
+ bold: external_exports.boolean().optional()
37704
+ }).strict().optional().describe(
37705
+ `Optional, any kind: make this widget's title stand out, e.g. { tone: "critical", bold: true } for an urgent tile. tone (${WIDGET_TITLE_TONES.join("|")}) colours the title with that theme ink. With no tone, bold: true alone gives the foreground ink; with neither, the title stays the default grey. bold: true gives a heavier, larger title. Colours are not accepted. Use it sparingly: one or two emphasised titles per dashboard.`
37706
+ ),
37697
37707
  prompt: external_exports.string().describe("What future-you reads on every refresh. Tight, specific \u2014 e.g. 'Total Xero revenue last 30 days. value as $N,NNN AUD (whole dollars \u2014 no cents on dashboards), delta vs prior 30d, values = daily revenue.'"),
37698
37708
  refresh_cron: external_exports.string().optional().describe('Optional per-widget cron override (e.g. "0 6 * * *" for 6am daily).'),
37699
37709
  // CS-1708: without this key z.object strips y_axis, and the hint never reaches the host.