@uibot/mcp-server 0.15.1 → 0.17.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.
@@ -1,6 +1,11 @@
1
1
  version: "2.0"
2
2
  pages:
3
3
  - id: shadcn-admin-shell
4
+ state:
5
+ currentPath: "/"
6
+ direction: "ltr"
7
+ font: "Inter"
8
+ theme: "light"
4
9
  path: /
5
10
  blocks:
6
11
  - type: PageLayout
@@ -62,7 +67,7 @@ pages:
62
67
  sidebar:
63
68
  - type: AppNavigation
64
69
  props:
65
- brand: Shadcn Admin
70
+ brand: UiBot Admin
66
71
  subtitle: Vite + ShadcnUI
67
72
  groups:
68
73
  - label: General
@@ -1,4 +1,11 @@
1
1
  version: "2.0"
2
+ # Application pages inherit these defaults; auth/error pages retain standalone roots.
3
+ layout:
4
+ navigation: sidebar
5
+ container: fluid
6
+ navigationStyle: attached
7
+ offcanvas: attached
8
+ sidebar: expanded
2
9
  connections:
3
10
  - id: tasks-db
4
11
  type: NowAPI.Collection
@@ -17,6 +24,9 @@ pages:
17
24
  path: /
18
25
  title: Dashboard
19
26
  state:
27
+ direction: "ltr"
28
+ font: "Inter"
29
+ theme: "light"
20
30
  currentPath: /
21
31
  blocks:
22
32
  - type: PageLayout
@@ -251,6 +261,10 @@ pages:
251
261
  path: /tasks
252
262
  title: Tasks
253
263
  state:
264
+ direction: "ltr"
265
+ font: "Inter"
266
+ selectionEvent: null
267
+ theme: "light"
254
268
  currentPath: /tasks
255
269
  rows:
256
270
  - id: TASK-8782
@@ -1334,6 +1348,10 @@ pages:
1334
1348
  path: /users
1335
1349
  title: Users
1336
1350
  state:
1351
+ direction: "ltr"
1352
+ font: "Inter"
1353
+ selectionEvent: null
1354
+ theme: "light"
1337
1355
  currentPath: /users
1338
1356
  rows:
1339
1357
  - id: user-1
@@ -2210,6 +2228,10 @@ pages:
2210
2228
  path: /apps
2211
2229
  title: Apps
2212
2230
  state:
2231
+ direction: "ltr"
2232
+ font: "Inter"
2233
+ submitted: false
2234
+ theme: "light"
2213
2235
  currentPath: /apps
2214
2236
  integrationSettings: []
2215
2237
  editorOpen: false
@@ -2489,6 +2511,11 @@ pages:
2489
2511
  path: /chats
2490
2512
  title: Chats
2491
2513
  state:
2514
+ currentUserId: "user-demo"
2515
+ direction: "ltr"
2516
+ font: "Inter"
2517
+ messageSubmission: null
2518
+ theme: "light"
2492
2519
  currentPath: /chats
2493
2520
  conversations:
2494
2521
  - id: conversation-0
@@ -2641,6 +2668,10 @@ pages:
2641
2668
  path: /settings/profile
2642
2669
  title: Settings · Profile
2643
2670
  state:
2671
+ direction: "ltr"
2672
+ font: "Inter"
2673
+ loading: false
2674
+ theme: "light"
2644
2675
  currentPath: /settings/profile
2645
2676
  saving: false
2646
2677
  uiError: null
@@ -2894,6 +2925,10 @@ pages:
2894
2925
  path: /settings/account
2895
2926
  title: Settings · Account
2896
2927
  state:
2928
+ direction: "ltr"
2929
+ font: "Inter"
2930
+ loading: false
2931
+ theme: "light"
2897
2932
  currentPath: /settings/account
2898
2933
  saving: false
2899
2934
  uiError: null
@@ -3134,6 +3169,10 @@ pages:
3134
3169
  path: /settings/appearance
3135
3170
  title: Settings · Appearance
3136
3171
  state:
3172
+ direction: "ltr"
3173
+ font: "Inter"
3174
+ loading: false
3175
+ theme: "light"
3137
3176
  currentPath: /settings/appearance
3138
3177
  saving: false
3139
3178
  uiError: null
@@ -3395,6 +3434,10 @@ pages:
3395
3434
  path: /settings/notifications
3396
3435
  title: Settings · Notifications
3397
3436
  state:
3437
+ direction: "ltr"
3438
+ font: "Inter"
3439
+ loading: false
3440
+ theme: "light"
3398
3441
  currentPath: /settings/notifications
3399
3442
  saving: false
3400
3443
  uiError: null
@@ -3649,6 +3692,10 @@ pages:
3649
3692
  path: /settings/display
3650
3693
  title: Settings · Display
3651
3694
  state:
3695
+ direction: "ltr"
3696
+ font: "Inter"
3697
+ loading: false
3698
+ theme: "light"
3652
3699
  currentPath: /settings/display
3653
3700
  saving: false
3654
3701
  uiError: null
@@ -3904,6 +3951,7 @@ pages:
3904
3951
  path: /sign-in
3905
3952
  title: Login
3906
3953
  state:
3954
+ saving: false
3907
3955
  currentPath: /sign-in
3908
3956
  blocks:
3909
3957
  - type: Box
@@ -3914,7 +3962,7 @@ pages:
3914
3962
  - type: Heading
3915
3963
  props:
3916
3964
  level: 3
3917
- text: Shadcn Admin
3965
+ text: UiBot Admin
3918
3966
  - type: Box
3919
3967
  props:
3920
3968
  className: w-full max-w-sm
@@ -3979,6 +4027,7 @@ pages:
3979
4027
  path: /sign-in-2
3980
4028
  title: Login
3981
4029
  state:
4030
+ saving: false
3982
4031
  currentPath: /sign-in-2
3983
4032
  blocks:
3984
4033
  - type: Box
@@ -3994,7 +4043,7 @@ pages:
3994
4043
  - type: Heading
3995
4044
  props:
3996
4045
  level: 3
3997
- text: Shadcn Admin
4046
+ text: UiBot Admin
3998
4047
  - type: Box
3999
4048
  props:
4000
4049
  className: w-full max-w-sm
@@ -4276,6 +4325,7 @@ pages:
4276
4325
  path: /sign-up
4277
4326
  title: Create an account
4278
4327
  state:
4328
+ saving: false
4279
4329
  currentPath: /sign-up
4280
4330
  blocks:
4281
4331
  - type: Box
@@ -4286,7 +4336,7 @@ pages:
4286
4336
  - type: Heading
4287
4337
  props:
4288
4338
  level: 3
4289
- text: Shadcn Admin
4339
+ text: UiBot Admin
4290
4340
  - type: Box
4291
4341
  props:
4292
4342
  className: w-full max-w-sm
@@ -4357,6 +4407,7 @@ pages:
4357
4407
  path: /forgot-password
4358
4408
  title: Forgot Password
4359
4409
  state:
4410
+ saving: false
4360
4411
  currentPath: /forgot-password
4361
4412
  blocks:
4362
4413
  - type: Box
@@ -4367,7 +4418,7 @@ pages:
4367
4418
  - type: Heading
4368
4419
  props:
4369
4420
  level: 3
4370
- text: Shadcn Admin
4421
+ text: UiBot Admin
4371
4422
  - type: Box
4372
4423
  props:
4373
4424
  className: w-full max-w-sm
@@ -4426,6 +4477,7 @@ pages:
4426
4477
  path: /otp
4427
4478
  title: Two-factor Authentication
4428
4479
  state:
4480
+ saving: false
4429
4481
  currentPath: /otp
4430
4482
  blocks:
4431
4483
  - type: Box
@@ -4436,7 +4488,7 @@ pages:
4436
4488
  - type: Heading
4437
4489
  props:
4438
4490
  level: 3
4439
- text: Shadcn Admin
4491
+ text: UiBot Admin
4440
4492
  - type: Box
4441
4493
  props:
4442
4494
  className: w-full max-w-sm
@@ -4640,6 +4692,9 @@ pages:
4640
4692
  path: /help-center
4641
4693
  title: Help Center
4642
4694
  state:
4695
+ direction: "ltr"
4696
+ font: "Inter"
4697
+ theme: "light"
4643
4698
  currentPath: /help-center
4644
4699
  blocks:
4645
4700
  - type: PageLayout
package/dist/server.d.ts CHANGED
@@ -3,6 +3,8 @@ import { Server } from "@modelcontextprotocol/sdk/server/index.js";
3
3
  import { type CreateUIBotHubMcpAdapterOptions, type UIBotHubResourceQueryCallbacks, type UIBotHubService } from "@uibot/hub-runtime";
4
4
  export interface CreateUIBotMcpServerOptions {
5
5
  service?: UIBotHubService;
6
+ /** Public HTTP hosts expose only read-only resource operations. */
7
+ resourceOnly?: boolean;
6
8
  /** Merged over the in-process providers, so an embedder can override any of them. */
7
9
  discovery?: CreateUIBotHubMcpAdapterOptions["discovery"];
8
10
  /** Optional canonical resource callbacks; defaults to the built-in derived index. */