@maintainer-pro/ai-cli 0.1.14 → 0.1.15

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/index.cjs CHANGED
@@ -173,9 +173,11 @@ function formatClientContext(context) {
173
173
  "The user currently has this page open. Prefer changing this screen unless they clearly mean another."
174
174
  ];
175
175
  if (context.pageUrl) {
176
- lines.push(`- Page URL: ${context.pageUrl}`);
176
+ lines.push(`- Opened page (browser URL): ${context.pageUrl}`);
177
+ }
178
+ if (context.route) {
179
+ lines.push(`- Route: ${context.route}`);
177
180
  }
178
- lines.push(`- Route: ${context.route}`);
179
181
  lines.push(`- Page title: ${context.pageTitle}`);
180
182
  if (context.visiblePanels?.length) {
181
183
  lines.push(`- Visible panels: ${context.visiblePanels.join(", ")}`);
package/dist/index.js CHANGED
@@ -53,9 +53,11 @@ function formatClientContext(context) {
53
53
  "The user currently has this page open. Prefer changing this screen unless they clearly mean another."
54
54
  ];
55
55
  if (context.pageUrl) {
56
- lines.push(`- Page URL: ${context.pageUrl}`);
56
+ lines.push(`- Opened page (browser URL): ${context.pageUrl}`);
57
+ }
58
+ if (context.route) {
59
+ lines.push(`- Route: ${context.route}`);
57
60
  }
58
- lines.push(`- Route: ${context.route}`);
59
61
  lines.push(`- Page title: ${context.pageTitle}`);
60
62
  if (context.visiblePanels?.length) {
61
63
  lines.push(`- Visible panels: ${context.visiblePanels.join(", ")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maintainer-pro/ai-cli",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Maintainer Pro server SDK: Claude/Cursor CLI, chat HTTP handlers, and optional SQL persistence",
5
5
  "keywords": [
6
6
  "maintainer-pro",