@integrity-labs/agt-cli 0.27.4 → 0.27.7-test.5

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/mcp/index.js CHANGED
@@ -22069,7 +22069,7 @@ var WidgetDefSchema = external_exports.object({
22069
22069
  "Widget kind. The kind picks both the renderer AND the data shape your refresh must produce:\n kpi \u2192 { value, [delta], [deltaTone: positive|negative|neutral], [values: number[]], [color: '#rrggbb'], [label] }\n area \u2192 { categories: string[], series: [{ name, data: number[] }] }\n line \u2192 { categories: string[], series: [{ name, data: number[] }] }\n bar \u2192 { categories: string[], series: [{ name, data: number[] }] }\n donut \u2192 { labels: string[], series: number[] }"
22070
22070
  ),
22071
22071
  title: external_exports.string().optional().describe("Title shown above the widget."),
22072
- 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 $NN.NN, delta vs prior 30d, values = daily revenue.'"),
22072
+ 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.'"),
22073
22073
  refresh_cron: external_exports.string().optional().describe('Optional per-widget cron override (e.g. "0 6 * * *" for 6am daily).')
22074
22074
  });
22075
22075
  server.tool(
@@ -22087,7 +22087,7 @@ server.tool(
22087
22087
  });
22088
22088
  if (!data.dashboards.length) return { content: [{ type: "text", text: "No dashboards yet." }] };
22089
22089
  const lines = data.dashboards.map((d) => {
22090
- const url = AGT_APP_URL ? ` ${AGT_APP_URL}/dashboards/${d.id}` : "";
22090
+ const url = AGT_APP_URL ? ` ${AGT_APP_URL}/dashboards/${d.slug}` : "";
22091
22091
  return `- ${d.title} \`${d.slug}\` \u2014 ${d.scope}/${d.status} \xB7 refreshed: ${d.last_refreshed_at ?? "never"}${url}`;
22092
22092
  });
22093
22093
  return { content: [{ type: "text", text: `Dashboards (${data.dashboards.length}):
@@ -22110,7 +22110,7 @@ server.tool(
22110
22110
  const last = d.structured_data?.[w.id]?.refreshed_at ?? "never";
22111
22111
  return ` - ${w.title ?? w.id} \`${w.id}\` (${w.kind}) \u2014 refreshed: ${last}`;
22112
22112
  });
22113
- const url = AGT_APP_URL ? `${AGT_APP_URL}/dashboards/${d.id}` : null;
22113
+ const url = AGT_APP_URL ? `${AGT_APP_URL}/dashboards/${d.slug}` : null;
22114
22114
  const out = [
22115
22115
  `# ${d.title} \`${d.slug}\``,
22116
22116
  d.description ? `
@@ -22132,7 +22132,7 @@ server.tool(
22132
22132
  // The description leads with the user phrasings the agent should match
22133
22133
  // against AND the explicit forbidden alternatives. Tool selection weights
22134
22134
  // the first sentence heavily, so we burn it on the right behavior.
22135
- 'Create or update a dashboard owned by this agent. THIS is how you ship dashboards \u2014 when a user asks you to "build a dashboard", "make a chart", "create a report", "track X over time", or "summarize Y as a dashboard", reach for THIS tool. Do NOT generate static HTML, push to GitHub Pages or S3, take a Chrome-headless screenshot, or sendPhoto via Telegram unless the user explicitly asks for one of those formats. Dashboards built through this tool render in the Augmented console, refresh on demand via your runtime, and follow team scope/policy. New rows pin to scope=agent \u2014 widening to team/org is admin-only. Slug must be unique per agent. Bumps version on every write.',
22135
+ 'Create or update a dashboard owned by this agent. THIS is how you ship dashboards \u2014 when a user asks you to "build a dashboard", "make a chart", "create a report", "track X over time", or "summarize Y as a dashboard", reach for THIS tool. Do NOT generate static HTML, push to GitHub Pages or S3, take a Chrome-headless screenshot, or sendPhoto via Telegram unless the user explicitly asks for one of those formats. Dashboards built through this tool render in the Augmented console, refresh on demand via your runtime, and follow team scope/policy. New rows pin to scope=agent \u2014 widening to team/org is admin-only. Slug must be unique per agent. Bumps version on every write. Currency on dashboards: default to whole dollars in widget prompts and refresh values (e.g. "$133,380 AUD", not "$133,379.60 AUD") \u2014 cents are noise on a glanceable widget. Only ask for cent-precision when the user explicitly wants reconciliation-level detail.',
22136
22136
  {
22137
22137
  slug: external_exports.string().describe('Kebab-case identifier, unique per agent (e.g. "eng-overview").'),
22138
22138
  title: external_exports.string().describe("Title shown at the top of the dashboard and in the list view."),
@@ -22154,14 +22154,14 @@ server.tool(
22154
22154
  }
22155
22155
  );
22156
22156
  const base = AGT_APP_URL || "<console-origin>";
22157
- const url = `${base}/dashboards/${data.dashboard_id}`;
22157
+ const url = `${base}/dashboards/${data.slug}`;
22158
22158
  return {
22159
22159
  content: [
22160
22160
  {
22161
22161
  type: "text",
22162
22162
  text: `Dashboard \`${data.slug}\` saved at version ${data.version} (${data.scope}/${data.status}).
22163
22163
  URL: ${url}
22164
- ` + (AGT_APP_URL ? "When you tell the user it's live, ALWAYS quote this full URL \u2014 never paste a relative path like /dashboards." : "AGT_APP_URL is not set on this host \u2014 replace <console-origin> with your console URL before quoting to the user, or ask the operator to set AGT_APP_URL.")
22164
+ ` + (AGT_APP_URL ? "When you tell the user it's live, ALWAYS quote this URL verbatim \u2014 never paste a relative path like /dashboards, and never reconstruct the URL from memory (opaque ids get mangled when retyped; this URL uses the dashboard slug, which is safe to quote)." : "AGT_APP_URL is not set on this host \u2014 replace <console-origin> with your console URL before quoting to the user, or ask the operator to set AGT_APP_URL. Quote the rest of the URL verbatim; do not reconstruct ids from memory.")
22165
22165
  }
22166
22166
  ]
22167
22167
  };
@@ -1,4 +1,5 @@
1
1
  import {
2
+ SEND_KEYS_ENTER_DELAY_MS,
2
3
  _internals,
3
4
  collectDiagnostics,
4
5
  getLastFailureContext,
@@ -20,10 +21,11 @@ import {
20
21
  stopPersistentSession,
21
22
  takeZombieDetection,
22
23
  writePersistentClaudeWrapper
23
- } from "./chunk-U37Y32S5.js";
24
- import "./chunk-JTZZ6YB2.js";
24
+ } from "./chunk-GN4XPQWJ.js";
25
+ import "./chunk-YSBGIXJG.js";
25
26
  import "./chunk-XWVM4KPK.js";
26
27
  export {
28
+ SEND_KEYS_ENTER_DELAY_MS,
27
29
  _internals,
28
30
  collectDiagnostics,
29
31
  getLastFailureContext,
@@ -46,4 +48,4 @@ export {
46
48
  takeZombieDetection,
47
49
  writePersistentClaudeWrapper
48
50
  };
49
- //# sourceMappingURL=persistent-session-KUKHF33M.js.map
51
+ //# sourceMappingURL=persistent-session-ICYFLUAM.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-U37Y32S5.js";
4
- import "./chunk-JTZZ6YB2.js";
3
+ } from "./chunk-GN4XPQWJ.js";
4
+ import "./chunk-YSBGIXJG.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -30,4 +30,4 @@ export {
30
30
  collectResponsivenessProbes,
31
31
  getResponsivenessIntervalMs
32
32
  };
33
- //# sourceMappingURL=responsiveness-probe-WYQS3YID.js.map
33
+ //# sourceMappingURL=responsiveness-probe-WZNQ2762.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.27.4",
3
+ "version": "0.27.7-test.5",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {