@tooluminati/router 0.1.0 → 0.2.0

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
@@ -63,7 +63,7 @@ function createCurrentRouteTool(provider, name = "get_current_route") {
63
63
  properties: {},
64
64
  additionalProperties: false
65
65
  },
66
- annotations: { readOnlyHint: true },
66
+ annotations: { readOnlyHint: true, debugging: true },
67
67
  execute: () => provider.getCurrentRoute()
68
68
  };
69
69
  }
@@ -76,7 +76,7 @@ function createNavigationStateTool(provider, name = "get_navigation_state") {
76
76
  properties: {},
77
77
  additionalProperties: false
78
78
  },
79
- annotations: { readOnlyHint: true },
79
+ annotations: { readOnlyHint: true, debugging: true },
80
80
  execute: () => provider.getNavigationState?.() ?? {
81
81
  state: "idle"
82
82
  }
@@ -100,7 +100,7 @@ function createRouteContextTool(provider, name = "get_route_context") {
100
100
  properties: {},
101
101
  additionalProperties: false
102
102
  },
103
- annotations: { readOnlyHint: true },
103
+ annotations: { readOnlyHint: true, debugging: true },
104
104
  execute: () => {
105
105
  const context = provider.getRouteContext?.() ?? {};
106
106
  const loaderData = pickAllowlistedLoaderData(
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ function createCurrentRouteTool(provider, name = "get_current_route") {
31
31
  properties: {},
32
32
  additionalProperties: false
33
33
  },
34
- annotations: { readOnlyHint: true },
34
+ annotations: { readOnlyHint: true, debugging: true },
35
35
  execute: () => provider.getCurrentRoute()
36
36
  };
37
37
  }
@@ -44,7 +44,7 @@ function createNavigationStateTool(provider, name = "get_navigation_state") {
44
44
  properties: {},
45
45
  additionalProperties: false
46
46
  },
47
- annotations: { readOnlyHint: true },
47
+ annotations: { readOnlyHint: true, debugging: true },
48
48
  execute: () => provider.getNavigationState?.() ?? {
49
49
  state: "idle"
50
50
  }
@@ -68,7 +68,7 @@ function createRouteContextTool(provider, name = "get_route_context") {
68
68
  properties: {},
69
69
  additionalProperties: false
70
70
  },
71
- annotations: { readOnlyHint: true },
71
+ annotations: { readOnlyHint: true, debugging: true },
72
72
  execute: () => {
73
73
  const context = provider.getRouteContext?.() ?? {};
74
74
  const loaderData = pickAllowlistedLoaderData(
package/dist/tools.js CHANGED
@@ -7,7 +7,7 @@ export function createCurrentRouteTool(provider, name = 'get_current_route') {
7
7
  properties: {},
8
8
  additionalProperties: false,
9
9
  },
10
- annotations: { readOnlyHint: true },
10
+ annotations: { readOnlyHint: true, debugging: true },
11
11
  execute: () => provider.getCurrentRoute(),
12
12
  };
13
13
  }
@@ -20,7 +20,7 @@ export function createNavigationStateTool(provider, name = 'get_navigation_state
20
20
  properties: {},
21
21
  additionalProperties: false,
22
22
  },
23
- annotations: { readOnlyHint: true },
23
+ annotations: { readOnlyHint: true, debugging: true },
24
24
  execute: () => provider.getNavigationState?.() ?? {
25
25
  state: 'idle',
26
26
  },
@@ -44,7 +44,7 @@ export function createRouteContextTool(provider, name = 'get_route_context') {
44
44
  properties: {},
45
45
  additionalProperties: false,
46
46
  },
47
- annotations: { readOnlyHint: true },
47
+ annotations: { readOnlyHint: true, debugging: true },
48
48
  execute: () => {
49
49
  const context = provider.getRouteContext?.() ?? {};
50
50
  const loaderData = pickAllowlistedLoaderData(context.loaderData, provider.loaderAllowlist);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tooluminati/router",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Route and navigation diagnostics for Tooluminati.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -15,8 +15,8 @@
15
15
  }
16
16
  },
17
17
  "dependencies": {
18
- "@tooluminati/react": "0.1.0",
19
- "@tooluminati/core": "0.1.0"
18
+ "@tooluminati/core": "0.2.0",
19
+ "@tooluminati/react": "0.2.0"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "react": ">=18.0.0"