@uibot/registry 0.18.0 → 0.19.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.
Files changed (119) hide show
  1. package/README.md +59 -0
  2. package/dist/distribution-snapshot.d.ts +22 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +11 -11
  5. package/dist/resource-query.d.ts +4 -0
  6. package/dist/resources.d.ts +3 -0
  7. package/dist/resources.js +3 -3
  8. package/dist/shadcn/r/admin-apps.json +61 -0
  9. package/dist/shadcn/r/admin-chats.json +54 -0
  10. package/dist/shadcn/r/admin-error-401.json +54 -0
  11. package/dist/shadcn/r/admin-error-403.json +54 -0
  12. package/dist/shadcn/r/admin-error-404.json +54 -0
  13. package/dist/shadcn/r/admin-error-500.json +54 -0
  14. package/dist/shadcn/r/admin-error-503.json +54 -0
  15. package/dist/shadcn/r/admin-forgot-password.json +59 -0
  16. package/dist/shadcn/r/admin-help.json +53 -0
  17. package/dist/shadcn/r/admin-otp.json +59 -0
  18. package/dist/shadcn/r/admin-overview.json +62 -0
  19. package/dist/shadcn/r/admin-settings-account.json +61 -0
  20. package/dist/shadcn/r/admin-settings-appearance.json +61 -0
  21. package/dist/shadcn/r/admin-settings-display.json +61 -0
  22. package/dist/shadcn/r/admin-settings-notifications.json +61 -0
  23. package/dist/shadcn/r/admin-settings-profile.json +61 -0
  24. package/dist/shadcn/r/admin-settings.json +65 -0
  25. package/dist/shadcn/r/admin-shell.json +11 -5
  26. package/dist/shadcn/r/admin-sign-in-2.json +67 -0
  27. package/dist/shadcn/r/admin-sign-in.json +59 -0
  28. package/dist/shadcn/r/admin-sign-up.json +59 -0
  29. package/dist/shadcn/r/admin-tasks.json +66 -0
  30. package/dist/shadcn/r/admin-users.json +66 -0
  31. package/dist/shadcn/r/auth-01.json +24 -0
  32. package/dist/shadcn/r/auth-02.json +24 -0
  33. package/dist/shadcn/r/auth-03.json +24 -0
  34. package/dist/shadcn/r/auth-04.json +24 -0
  35. package/dist/shadcn/r/auth-05.json +24 -0
  36. package/dist/shadcn/r/auth-centered.json +61 -0
  37. package/dist/shadcn/r/auth-enterprise.json +61 -0
  38. package/dist/shadcn/r/auth-primitives.json +58 -0
  39. package/dist/shadcn/r/auth-recovery.json +64 -0
  40. package/dist/shadcn/r/auth-registration.json +63 -0
  41. package/dist/shadcn/r/auth-split.json +67 -0
  42. package/dist/shadcn/r/auth.json +13 -13
  43. package/dist/shadcn/r/charts.json +1 -1
  44. package/dist/shadcn/r/chat-artifact.json +49 -0
  45. package/dist/shadcn/r/chat-focused.json +49 -0
  46. package/dist/shadcn/r/chat-history.json +49 -0
  47. package/dist/shadcn/r/chat-knowledge.json +49 -0
  48. package/dist/shadcn/r/chat-support.json +49 -0
  49. package/dist/shadcn/r/chat-workspace.json +136 -0
  50. package/dist/shadcn/r/collection-cell-editor.json +6 -6
  51. package/dist/shadcn/r/collection-panel-drawer.json +2 -2
  52. package/dist/shadcn/r/collection-record-menu.json +2 -2
  53. package/dist/shadcn/r/collection-shared.json +2 -2
  54. package/dist/shadcn/r/commerce-workspace.json +69 -0
  55. package/dist/shadcn/r/console-billing.json +68 -0
  56. package/dist/shadcn/r/console-page.json +289 -0
  57. package/dist/shadcn/r/console-shell.json +29 -0
  58. package/dist/shadcn/r/content.json +1 -1
  59. package/dist/shadcn/r/creation-html-generation.json +3 -3
  60. package/dist/shadcn/r/creation-reference-generation.json +3 -3
  61. package/dist/shadcn/r/creation-revision-export.json +3 -3
  62. package/dist/shadcn/r/creation-shared.json +3 -3
  63. package/dist/shadcn/r/creation-variant-compare.json +4 -4
  64. package/dist/shadcn/r/creation-workspace.json +4 -4
  65. package/dist/shadcn/r/crm-workspace.json +73 -0
  66. package/dist/shadcn/r/dashboard.json +1 -1
  67. package/dist/shadcn/r/data-studio.json +1 -1
  68. package/dist/shadcn/r/data-table.json +25 -7
  69. package/dist/shadcn/r/data.json +81 -11
  70. package/dist/shadcn/r/document-assistant.json +54 -0
  71. package/dist/shadcn/r/document-library.json +49 -0
  72. package/dist/shadcn/r/document-reading.json +49 -0
  73. package/dist/shadcn/r/document-workspace.json +164 -0
  74. package/dist/shadcn/r/document-writing.json +49 -0
  75. package/dist/shadcn/r/drilldown-menu.json +233 -0
  76. package/dist/shadcn/r/education-workspace.json +82 -0
  77. package/dist/shadcn/r/feedback.json +6 -6
  78. package/dist/shadcn/r/field.json +1 -1
  79. package/dist/shadcn/r/form.json +11 -11
  80. package/dist/shadcn/r/grid.json +1 -1
  81. package/dist/shadcn/r/interactive.json +1 -1
  82. package/dist/shadcn/r/item-grid.json +219 -0
  83. package/dist/shadcn/r/kanban.json +1 -1
  84. package/dist/shadcn/r/layout.json +196 -16
  85. package/dist/shadcn/r/marketing.json +1 -1
  86. package/dist/shadcn/r/nav.json +3 -3
  87. package/dist/shadcn/r/presentation.json +1 -1
  88. package/dist/shadcn/r/preview-device-frame.json +2 -2
  89. package/dist/shadcn/r/primitives.json +2 -2
  90. package/dist/shadcn/r/sections.json +1 -1
  91. package/dist/shadcn/r/shadcn-admin-shell.json +1 -1
  92. package/dist/shadcn/r/shadcn-admin.json +23 -22
  93. package/dist/shadcn/r/sidebar-01.json +42 -0
  94. package/dist/shadcn/r/sidebar-02.json +42 -0
  95. package/dist/shadcn/r/sidebar-03.json +30 -0
  96. package/dist/shadcn/r/sidebar-04.json +30 -0
  97. package/dist/shadcn/r/sidebar-05.json +36 -0
  98. package/dist/shadcn/r/sidebar-06.json +42 -0
  99. package/dist/shadcn/r/sidebar-07.json +54 -0
  100. package/dist/shadcn/r/sidebar-08.json +54 -0
  101. package/dist/shadcn/r/sidebar-09.json +36 -0
  102. package/dist/shadcn/r/sidebar-10.json +66 -0
  103. package/dist/shadcn/r/sidebar-11.json +30 -0
  104. package/dist/shadcn/r/sidebar-12.json +48 -0
  105. package/dist/shadcn/r/sidebar-13.json +30 -0
  106. package/dist/shadcn/r/sidebar-14.json +30 -0
  107. package/dist/shadcn/r/sidebar-15.json +84 -0
  108. package/dist/shadcn/r/sidebar-16.json +66 -0
  109. package/dist/shadcn/r/sidebar-drilldown.json +29 -0
  110. package/dist/shadcn/r/sidebar-primitives.json +155 -0
  111. package/dist/shadcn/r/uibot-base.json +3 -3
  112. package/dist/shadcn/r/workspace.json +3 -3
  113. package/dist/shadcn/registry.json +987 -175
  114. package/dist/shadcn.d.ts +0 -39
  115. package/dist/solution-composition.d.ts +45 -0
  116. package/dist/solution-regions.d.ts +3 -0
  117. package/dist/solution-spec.d.ts +7 -0
  118. package/dist/template-source.d.ts +2 -0
  119. package/package.json +2 -2
@@ -2,10 +2,11 @@
2
2
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
3
  "name": "auth",
4
4
  "type": "registry:block",
5
- "description": "Sign in",
5
+ "description": "Sign in using the shared authentication page source.",
6
6
  "registryDependencies": [
7
7
  "@uibot/data",
8
8
  "@uibot/feedback",
9
+ "@uibot/field",
9
10
  "@uibot/form",
10
11
  "@uibot/layout",
11
12
  "@uibot/nav"
@@ -14,13 +15,13 @@
14
15
  {
15
16
  "path": "lib/uibot/templates/auth.uibot.yaml",
16
17
  "target": "lib/uibot/templates/auth.uibot.yaml",
17
- "content": "version: \"2.0\"\npages:\n - id: auth-login\n path: /\n title: Sign in\n blocks:\n - type: Box\n props:\n className: \"min-h-screen flex items-center justify-center p-6 bg-background\"\n children:\n - type: Box\n props:\n className: \"w-full max-w-sm\"\n children:\n - type: Box\n props:\n className: \"flex flex-col items-start gap-1 mb-6\"\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: \"Northwind\"\n - type: Heading\n props:\n level: 2\n text: \"Sign in\"\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: \"Work email. No gradient chrome.\"\n - type: Card\n props:\n className: \"rounded-none border border-border shadow-none\"\n children:\n - type: Form\n props:\n label: \"\"\n children:\n - type: \"Form.Input\"\n props:\n name: email\n label: Email\n type: email\n placeholder: you@company.com\n required: true\n - type: \"Form.Input\"\n props:\n name: password\n label: Password\n type: password\n placeholder: \"••••••••\"\n required: true\n - type: Box\n props:\n className: \"flex items-center justify-between\"\n children:\n - type: \"Form.Checkbox\"\n props:\n name: remember\n label: Remember me\n - type: Link\n props:\n label: Forgot password?\n href: \"#\"\n variant: muted\n - type: \"Form.Submit\"\n props:\n label: Sign in\n full: true\n - type: Divider\n - type: Button\n props:\n label: \"Continue with Google\"\n variant: outline\n full: true\n - type: Box\n props:\n className: \"flex justify-start gap-1 mt-5 text-sm\"\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: \"Don't have an account?\"\n - type: Link\n props:\n label: \"Sign up\"\n href: \"#\"\n",
18
+ "content": "version: \"2.0\"\npages:\n - id: auth-login\n path: /\n title: Login\n state:\n saving: false\n currentPath: /\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Login\n - type: Paragraph\n props:\n text: Enter your email and password below to log into your account.\n muted: true\n size: sm\n - type: Form\n props:\n label: Login\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n required: true\n - type: Field\n props:\n name: password\n label: Password\n kind: password\n required: true\n - type: Form.Submit\n props:\n label: Login\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n",
18
19
  "type": "registry:lib"
19
20
  },
20
21
  {
21
22
  "path": "lib/uibot/templates/auth.uibot.json",
22
23
  "target": "lib/uibot/templates/auth.uibot.json",
23
- "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"auth\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"auth.uibot.yaml\",\n \"contract\": {\n \"name\": \"auth\",\n \"description\": \"Sign in\",\n \"level\": \"L4\",\n \"category\": \"template\",\n \"keywords\": [\n \"auth\",\n \"auth\",\n \"uibot-template\"\n ],\n \"composedFrom\": [\n \"Box\",\n \"Button\",\n \"Card\",\n \"Divider\",\n \"Form\",\n \"Form.Checkbox\",\n \"Form.Input\",\n \"Form.Submit\",\n \"Heading\",\n \"Link\",\n \"Paragraph\"\n ]\n }\n }\n}\n",
24
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"auth\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"auth.uibot.yaml\",\n \"contract\": {\n \"name\": \"auth\",\n \"description\": \"Sign in using the shared authentication page source.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"auth\",\n \"登录\",\n \"Sign in\",\n \"auth\",\n \"login\"\n ],\n \"composedFrom\": [\n \"Box\",\n \"Heading\",\n \"Paragraph\",\n \"Form\",\n \"Field\",\n \"Form.Submit\",\n \"Link\",\n \"Button\"\n ]\n }\n }\n}\n",
24
25
  "type": "registry:lib"
25
26
  }
26
27
  ],
@@ -33,26 +34,25 @@
33
34
  "file": "auth.uibot.yaml",
34
35
  "contract": {
35
36
  "name": "auth",
36
- "description": "Sign in",
37
+ "description": "Sign in using the shared authentication page source.",
37
38
  "level": "L4",
38
- "category": "template",
39
+ "category": "page",
39
40
  "keywords": [
40
41
  "auth",
42
+ "登录",
43
+ "Sign in",
41
44
  "auth",
42
- "uibot-template"
45
+ "login"
43
46
  ],
44
47
  "composedFrom": [
45
48
  "Box",
46
- "Button",
47
- "Card",
48
- "Divider",
49
+ "Heading",
50
+ "Paragraph",
49
51
  "Form",
50
- "Form.Checkbox",
51
- "Form.Input",
52
+ "Field",
52
53
  "Form.Submit",
53
- "Heading",
54
54
  "Link",
55
- "Paragraph"
55
+ "Button"
56
56
  ]
57
57
  }
58
58
  }
@@ -4,7 +4,7 @@
4
4
  "type": "registry:ui",
5
5
  "description": "Pure-SVG line / area chart with no third-party dependency. Draws one polyline per series on a shared vertical scale. Alias: LineChart.",
6
6
  "dependencies": [
7
- "react"
7
+ "react@19.3.0"
8
8
  ],
9
9
  "registryDependencies": [
10
10
  "@uibot/uibot-base"
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "chat-artifact",
4
+ "type": "registry:block",
5
+ "description": "Chat beside your work: shared message rendering, composer, local streaming demonstration and explicit host transport.",
6
+ "registryDependencies": [
7
+ "@uibot/chat-workspace"
8
+ ],
9
+ "files": [
10
+ {
11
+ "path": "lib/uibot/templates/chat-artifact.uibot.yaml",
12
+ "target": "lib/uibot/templates/chat-artifact.uibot.yaml",
13
+ "content": "version: \"2.0\"\npages:\n - id: chat-artifact\n path: /chat-artifact\n title: Chat beside your work\n blocks:\n - id: chat-artifact-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: artifact\n title: Chat beside your work\n showSuggestions: true\n previewState: ready\n",
14
+ "type": "registry:lib"
15
+ },
16
+ {
17
+ "path": "lib/uibot/templates/chat-artifact.uibot.json",
18
+ "target": "lib/uibot/templates/chat-artifact.uibot.json",
19
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"chat-artifact\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"chat-artifact.uibot.yaml\",\n \"contract\": {\n \"name\": \"chat-artifact\",\n \"description\": \"Chat beside your work: shared message rendering, composer, local streaming demonstration and explicit host transport.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"chat-artifact\",\n \"聊天与作品双栏\",\n \"Chat beside your work\",\n \"chat\",\n \"artifact\"\n ],\n \"composedFrom\": [\n \"ChatWorkspace\"\n ]\n }\n }\n}\n",
20
+ "type": "registry:lib"
21
+ }
22
+ ],
23
+ "meta": {
24
+ "uibot": {
25
+ "schema": "uibot.registry.item.v1",
26
+ "item": "chat-artifact",
27
+ "channel": "public",
28
+ "template": {
29
+ "file": "chat-artifact.uibot.yaml",
30
+ "contract": {
31
+ "name": "chat-artifact",
32
+ "description": "Chat beside your work: shared message rendering, composer, local streaming demonstration and explicit host transport.",
33
+ "level": "L4",
34
+ "category": "page",
35
+ "keywords": [
36
+ "chat-artifact",
37
+ "聊天与作品双栏",
38
+ "Chat beside your work",
39
+ "chat",
40
+ "artifact"
41
+ ],
42
+ "composedFrom": [
43
+ "ChatWorkspace"
44
+ ]
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "chat-focused",
4
+ "type": "registry:block",
5
+ "description": "Focused conversation: shared message rendering, composer, local streaming demonstration and explicit host transport.",
6
+ "registryDependencies": [
7
+ "@uibot/chat-workspace"
8
+ ],
9
+ "files": [
10
+ {
11
+ "path": "lib/uibot/templates/chat-focused.uibot.yaml",
12
+ "target": "lib/uibot/templates/chat-focused.uibot.yaml",
13
+ "content": "version: \"2.0\"\npages:\n - id: chat-focused\n path: /chat-focused\n title: Focused conversation\n blocks:\n - id: chat-focused-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: focused\n title: Focused conversation\n showSuggestions: true\n previewState: ready\n",
14
+ "type": "registry:lib"
15
+ },
16
+ {
17
+ "path": "lib/uibot/templates/chat-focused.uibot.json",
18
+ "target": "lib/uibot/templates/chat-focused.uibot.json",
19
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"chat-focused\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"chat-focused.uibot.yaml\",\n \"contract\": {\n \"name\": \"chat-focused\",\n \"description\": \"Focused conversation: shared message rendering, composer, local streaming demonstration and explicit host transport.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"chat-focused\",\n \"专注单会话\",\n \"Focused conversation\",\n \"chat\",\n \"focused\"\n ],\n \"composedFrom\": [\n \"ChatWorkspace\"\n ]\n }\n }\n}\n",
20
+ "type": "registry:lib"
21
+ }
22
+ ],
23
+ "meta": {
24
+ "uibot": {
25
+ "schema": "uibot.registry.item.v1",
26
+ "item": "chat-focused",
27
+ "channel": "public",
28
+ "template": {
29
+ "file": "chat-focused.uibot.yaml",
30
+ "contract": {
31
+ "name": "chat-focused",
32
+ "description": "Focused conversation: shared message rendering, composer, local streaming demonstration and explicit host transport.",
33
+ "level": "L4",
34
+ "category": "page",
35
+ "keywords": [
36
+ "chat-focused",
37
+ "专注单会话",
38
+ "Focused conversation",
39
+ "chat",
40
+ "focused"
41
+ ],
42
+ "composedFrom": [
43
+ "ChatWorkspace"
44
+ ]
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "chat-history",
4
+ "type": "registry:block",
5
+ "description": "Conversation workspace: shared message rendering, composer, local streaming demonstration and explicit host transport.",
6
+ "registryDependencies": [
7
+ "@uibot/chat-workspace"
8
+ ],
9
+ "files": [
10
+ {
11
+ "path": "lib/uibot/templates/chat-history.uibot.yaml",
12
+ "target": "lib/uibot/templates/chat-history.uibot.yaml",
13
+ "content": "version: \"2.0\"\npages:\n - id: chat-history\n path: /chat-history\n title: Conversation workspace\n blocks:\n - id: chat-history-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: history\n title: Conversation workspace\n showSuggestions: true\n previewState: ready\n",
14
+ "type": "registry:lib"
15
+ },
16
+ {
17
+ "path": "lib/uibot/templates/chat-history.uibot.json",
18
+ "target": "lib/uibot/templates/chat-history.uibot.json",
19
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"chat-history\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"chat-history.uibot.yaml\",\n \"contract\": {\n \"name\": \"chat-history\",\n \"description\": \"Conversation workspace: shared message rendering, composer, local streaming demonstration and explicit host transport.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"chat-history\",\n \"历史会话助手\",\n \"Conversation workspace\",\n \"chat\",\n \"history\"\n ],\n \"composedFrom\": [\n \"ChatWorkspace\"\n ]\n }\n }\n}\n",
20
+ "type": "registry:lib"
21
+ }
22
+ ],
23
+ "meta": {
24
+ "uibot": {
25
+ "schema": "uibot.registry.item.v1",
26
+ "item": "chat-history",
27
+ "channel": "public",
28
+ "template": {
29
+ "file": "chat-history.uibot.yaml",
30
+ "contract": {
31
+ "name": "chat-history",
32
+ "description": "Conversation workspace: shared message rendering, composer, local streaming demonstration and explicit host transport.",
33
+ "level": "L4",
34
+ "category": "page",
35
+ "keywords": [
36
+ "chat-history",
37
+ "历史会话助手",
38
+ "Conversation workspace",
39
+ "chat",
40
+ "history"
41
+ ],
42
+ "composedFrom": [
43
+ "ChatWorkspace"
44
+ ]
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "chat-knowledge",
4
+ "type": "registry:block",
5
+ "description": "Knowledge questions: shared message rendering, composer, local streaming demonstration and explicit host transport.",
6
+ "registryDependencies": [
7
+ "@uibot/chat-workspace"
8
+ ],
9
+ "files": [
10
+ {
11
+ "path": "lib/uibot/templates/chat-knowledge.uibot.yaml",
12
+ "target": "lib/uibot/templates/chat-knowledge.uibot.yaml",
13
+ "content": "version: \"2.0\"\npages:\n - id: chat-knowledge\n path: /chat-knowledge\n title: Knowledge questions\n blocks:\n - id: chat-knowledge-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: knowledge\n title: Knowledge questions\n showSuggestions: true\n previewState: ready\n",
14
+ "type": "registry:lib"
15
+ },
16
+ {
17
+ "path": "lib/uibot/templates/chat-knowledge.uibot.json",
18
+ "target": "lib/uibot/templates/chat-knowledge.uibot.json",
19
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"chat-knowledge\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"chat-knowledge.uibot.yaml\",\n \"contract\": {\n \"name\": \"chat-knowledge\",\n \"description\": \"Knowledge questions: shared message rendering, composer, local streaming demonstration and explicit host transport.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"chat-knowledge\",\n \"引用型知识问答\",\n \"Knowledge questions\",\n \"chat\",\n \"knowledge\"\n ],\n \"composedFrom\": [\n \"ChatWorkspace\"\n ]\n }\n }\n}\n",
20
+ "type": "registry:lib"
21
+ }
22
+ ],
23
+ "meta": {
24
+ "uibot": {
25
+ "schema": "uibot.registry.item.v1",
26
+ "item": "chat-knowledge",
27
+ "channel": "public",
28
+ "template": {
29
+ "file": "chat-knowledge.uibot.yaml",
30
+ "contract": {
31
+ "name": "chat-knowledge",
32
+ "description": "Knowledge questions: shared message rendering, composer, local streaming demonstration and explicit host transport.",
33
+ "level": "L4",
34
+ "category": "page",
35
+ "keywords": [
36
+ "chat-knowledge",
37
+ "引用型知识问答",
38
+ "Knowledge questions",
39
+ "chat",
40
+ "knowledge"
41
+ ],
42
+ "composedFrom": [
43
+ "ChatWorkspace"
44
+ ]
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "chat-support",
4
+ "type": "registry:block",
5
+ "description": "Support conversations: shared message rendering, composer, local streaming demonstration and explicit host transport.",
6
+ "registryDependencies": [
7
+ "@uibot/chat-workspace"
8
+ ],
9
+ "files": [
10
+ {
11
+ "path": "lib/uibot/templates/chat-support.uibot.yaml",
12
+ "target": "lib/uibot/templates/chat-support.uibot.yaml",
13
+ "content": "version: \"2.0\"\npages:\n - id: chat-support\n path: /chat-support\n title: Support conversations\n blocks:\n - id: chat-support-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: support\n title: Support conversations\n showSuggestions: true\n previewState: ready\n",
14
+ "type": "registry:lib"
15
+ },
16
+ {
17
+ "path": "lib/uibot/templates/chat-support.uibot.json",
18
+ "target": "lib/uibot/templates/chat-support.uibot.json",
19
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"chat-support\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"chat-support.uibot.yaml\",\n \"contract\": {\n \"name\": \"chat-support\",\n \"description\": \"Support conversations: shared message rendering, composer, local streaming demonstration and explicit host transport.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"chat-support\",\n \"客服会话工作台\",\n \"Support conversations\",\n \"chat\",\n \"support\"\n ],\n \"composedFrom\": [\n \"ChatWorkspace\"\n ]\n }\n }\n}\n",
20
+ "type": "registry:lib"
21
+ }
22
+ ],
23
+ "meta": {
24
+ "uibot": {
25
+ "schema": "uibot.registry.item.v1",
26
+ "item": "chat-support",
27
+ "channel": "public",
28
+ "template": {
29
+ "file": "chat-support.uibot.yaml",
30
+ "contract": {
31
+ "name": "chat-support",
32
+ "description": "Support conversations: shared message rendering, composer, local streaming demonstration and explicit host transport.",
33
+ "level": "L4",
34
+ "category": "page",
35
+ "keywords": [
36
+ "chat-support",
37
+ "客服会话工作台",
38
+ "Support conversations",
39
+ "chat",
40
+ "support"
41
+ ],
42
+ "composedFrom": [
43
+ "ChatWorkspace"
44
+ ]
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,136 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "chat-workspace",
4
+ "type": "registry:ui",
5
+ "description": "Interactive chat over a host-owned transport; optional isolated local demonstration.",
6
+ "dependencies": [
7
+ "react@19.3.0",
8
+ "@uibot/ai-chat@0.19.0"
9
+ ],
10
+ "registryDependencies": [
11
+ "@uibot/uibot-base"
12
+ ],
13
+ "files": [
14
+ {
15
+ "path": "components/uibot/chat-workspace.tsx",
16
+ "target": "components/uibot/chat-workspace.tsx",
17
+ "content": "import { createElement } from \"react\";\nimport { ChatWorkspace as View } from \"@uibot/ai-chat/spec\";\nexport function ChatWorkspace(props: Record<string, unknown>) {\n return createElement(View, props);\n}\n",
18
+ "type": "registry:ui"
19
+ },
20
+ {
21
+ "path": "components/uibot/chat-workspace.uibot.json",
22
+ "target": "components/uibot/chat-workspace.uibot.json",
23
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"chat-workspace\",\n \"channel\": \"public\",\n \"components\": [\n {\n \"name\": \"ChatWorkspace\",\n \"export\": \"ChatWorkspace\",\n \"module\": \"chat-workspace.tsx\",\n \"catalog\": {\n \"name\": \"ChatWorkspace\",\n \"description\": \"Interactive chat over a host-owned transport; optional isolated local demonstration.\",\n \"category\": \"feature\",\n \"level\": \"L2\",\n \"props\": {\n \"bindingId\": {\n \"type\": \"string\",\n \"default\": \"chat\"\n },\n \"variant\": {\n \"enum\": [\n \"focused\",\n \"history\",\n \"knowledge\",\n \"support\",\n \"artifact\",\n \"copilot\"\n ],\n \"default\": \"focused\"\n },\n \"title\": {\n \"type\": \"string\",\n \"default\": \"Assistant\"\n },\n \"showSuggestions\": {\n \"type\": \"boolean\",\n \"default\": true\n },\n \"previewState\": {\n \"enum\": [\n \"ready\",\n \"empty\",\n \"loading\",\n \"error\",\n \"readonly\"\n ],\n \"default\": \"ready\"\n }\n },\n \"events\": {},\n \"constraints\": [\n \"The host must authorize the binding and inject a transport. Demo responses are local fixtures, never model results.\"\n ],\n \"tags\": [\n \"interactive\",\n \"chat\",\n \"assistant\",\n \"knowledge\"\n ]\n }\n }\n ]\n}\n",
24
+ "type": "registry:ui"
25
+ }
26
+ ],
27
+ "meta": {
28
+ "category": "feature",
29
+ "level": "L2",
30
+ "props": {
31
+ "bindingId": {
32
+ "type": "string",
33
+ "default": "chat"
34
+ },
35
+ "variant": {
36
+ "enum": [
37
+ "focused",
38
+ "history",
39
+ "knowledge",
40
+ "support",
41
+ "artifact",
42
+ "copilot"
43
+ ],
44
+ "default": "focused"
45
+ },
46
+ "title": {
47
+ "type": "string",
48
+ "default": "Assistant"
49
+ },
50
+ "showSuggestions": {
51
+ "type": "boolean",
52
+ "default": true
53
+ },
54
+ "previewState": {
55
+ "enum": [
56
+ "ready",
57
+ "empty",
58
+ "loading",
59
+ "error",
60
+ "readonly"
61
+ ],
62
+ "default": "ready"
63
+ }
64
+ },
65
+ "events": {},
66
+ "constraints": [
67
+ "The host must authorize the binding and inject a transport. Demo responses are local fixtures, never model results."
68
+ ],
69
+ "provides": [
70
+ "ChatWorkspace"
71
+ ],
72
+ "uibot": {
73
+ "schema": "uibot.registry.item.v1",
74
+ "item": "chat-workspace",
75
+ "channel": "public",
76
+ "components": [
77
+ {
78
+ "name": "ChatWorkspace",
79
+ "export": "ChatWorkspace",
80
+ "module": "chat-workspace.tsx",
81
+ "catalog": {
82
+ "name": "ChatWorkspace",
83
+ "description": "Interactive chat over a host-owned transport; optional isolated local demonstration.",
84
+ "category": "feature",
85
+ "level": "L2",
86
+ "props": {
87
+ "bindingId": {
88
+ "type": "string",
89
+ "default": "chat"
90
+ },
91
+ "variant": {
92
+ "enum": [
93
+ "focused",
94
+ "history",
95
+ "knowledge",
96
+ "support",
97
+ "artifact",
98
+ "copilot"
99
+ ],
100
+ "default": "focused"
101
+ },
102
+ "title": {
103
+ "type": "string",
104
+ "default": "Assistant"
105
+ },
106
+ "showSuggestions": {
107
+ "type": "boolean",
108
+ "default": true
109
+ },
110
+ "previewState": {
111
+ "enum": [
112
+ "ready",
113
+ "empty",
114
+ "loading",
115
+ "error",
116
+ "readonly"
117
+ ],
118
+ "default": "ready"
119
+ }
120
+ },
121
+ "events": {},
122
+ "constraints": [
123
+ "The host must authorize the binding and inject a transport. Demo responses are local fixtures, never model results."
124
+ ],
125
+ "tags": [
126
+ "interactive",
127
+ "chat",
128
+ "assistant",
129
+ "knowledge"
130
+ ]
131
+ }
132
+ }
133
+ ]
134
+ }
135
+ }
136
+ }
@@ -4,12 +4,12 @@
4
4
  "type": "registry:block",
5
5
  "description": "Design-system cell editors for PagedCollectionGrid's renderCellEditor: text, number, long text, checkbox, single/multiple select, calendar dates (timestamps keep their time) and a searchable relation picker.",
6
6
  "dependencies": [
7
- "react",
8
- "@uibot/renderer-react@^0.18.0",
9
- "cmdk@^1",
10
- "date-fns@^4",
11
- "lucide-react",
12
- "react-day-picker@^9"
7
+ "react@19.3.0",
8
+ "@uibot/renderer-react@0.19.0",
9
+ "cmdk@1.1.1",
10
+ "date-fns@4.4.0",
11
+ "lucide-react@1.56.0",
12
+ "react-day-picker@9.14.0"
13
13
  ],
14
14
  "registryDependencies": [
15
15
  "button",
@@ -4,8 +4,8 @@
4
4
  "type": "registry:block",
5
5
  "description": "Right-hand drawer for PagedCollectionWorkspace's renderPanel; a busy panel stays open and unsaved edits ask before closing.",
6
6
  "dependencies": [
7
- "react",
8
- "@uibot/renderer-react@^0.18.0"
7
+ "react@19.3.0",
8
+ "@uibot/renderer-react@0.19.0"
9
9
  ],
10
10
  "registryDependencies": [
11
11
  "button",
@@ -4,8 +4,8 @@
4
4
  "type": "registry:block",
5
5
  "description": "Right-click record actions (expand, duplicate, copy cells, delete) for renderRecordContextMenu.",
6
6
  "dependencies": [
7
- "react",
8
- "@uibot/renderer-react@^0.18.0"
7
+ "react@19.3.0",
8
+ "@uibot/renderer-react@0.19.0"
9
9
  ],
10
10
  "registryDependencies": [
11
11
  "context-menu",
@@ -4,8 +4,8 @@
4
4
  "type": "registry:lib",
5
5
  "description": "Copy (zh/en), editor prop types and Tab-commit helper shared by the UIBot collection blocks.",
6
6
  "dependencies": [
7
- "react",
8
- "@uibot/renderer-react@^0.18.0"
7
+ "react@19.3.0",
8
+ "@uibot/renderer-react@0.19.0"
9
9
  ],
10
10
  "registryDependencies": [],
11
11
  "files": [
@@ -0,0 +1,69 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "commerce-workspace",
4
+ "type": "registry:block",
5
+ "description": "Commerce & customer support: fixed-version pages composed into one exportable Spec.",
6
+ "registryDependencies": [
7
+ "@uibot/chat-workspace",
8
+ "@uibot/data",
9
+ "@uibot/feedback",
10
+ "@uibot/form",
11
+ "@uibot/grid",
12
+ "@uibot/interactive",
13
+ "@uibot/layout",
14
+ "@uibot/nav"
15
+ ],
16
+ "files": [
17
+ {
18
+ "path": "lib/uibot/templates/commerce-workspace.uibot.yaml",
19
+ "target": "lib/uibot/templates/commerce-workspace.uibot.yaml",
20
+ "content": "version: \"2.0\"\npages:\n - id: ecommerce\n path: /\n title: Shop — All products\n blocks:\n - type: PageLayout\n props:\n title: Atelier\n slots:\n headerActions:\n - type: Link\n props:\n label: Cart · 2\n href: \"#\"\n variant: button\n children:\n - type: Box\n props:\n className: flex items-end justify-between mb-4 border-b border-border pb-4\n children:\n - type: Box\n children:\n - type: Heading\n props:\n level: 2\n text: New arrivals\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: Demo catalog · 4 sample SKUs · photos not attached\n - type: Box\n props:\n className: w-48\n children:\n - type: Form\n children:\n - type: Form.Select\n props:\n name: sort\n options:\n - value: featured\n label: Featured\n - value: price-asc\n label: \"Price: low to high\"\n - value: newest\n label: Newest\n - type: Form.Submit\n props:\n label: Apply\n variant: ghost\n - type: Grid\n props:\n cols: \"4\"\n responsive: true\n gap: lg\n children:\n - type: Card\n props:\n className: rounded-none border border-border shadow-none\n children:\n - type: Box\n props:\n className: h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex\n items-center justify-center\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: No image\n - type: BadgeGroup\n props:\n items:\n - label: New\n tone: success\n - type: Heading\n props:\n level: 4\n text: Linen Overshirt\n - type: Stat\n props:\n value: $128\n description: sample price\n - type: Button\n props:\n label: Add to cart\n full: true\n - type: Card\n props:\n className: rounded-none border border-border shadow-none\n children:\n - type: Box\n props:\n className: h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex\n items-center justify-center\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: No image\n - type: Heading\n props:\n level: 4\n text: Wool Trousers\n - type: Stat\n props:\n value: $96\n change: $120\n description: was $120 · sample\n - type: Button\n props:\n label: Add to cart\n full: true\n - type: Card\n props:\n className: rounded-none border border-border shadow-none\n children:\n - type: Box\n props:\n className: h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex\n items-center justify-center\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: No image\n - type: Heading\n props:\n level: 4\n text: Canvas Tote\n - type: Stat\n props:\n value: $54\n description: sample price\n - type: Button\n props:\n label: Add to cart\n full: true\n - type: Card\n props:\n className: rounded-none border border-border shadow-none\n children:\n - type: Box\n props:\n className: h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex\n items-center justify-center\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: No image\n - type: BadgeGroup\n props:\n items:\n - label: Low stock\n tone: warning\n - type: Heading\n props:\n level: 4\n text: Leather Belt\n - type: Stat\n props:\n value: $72\n description: 2 left in demo\n - type: Button\n props:\n label: Add to cart\n full: true\n - id: chat-support\n path: /chat-support\n title: Support conversations\n blocks:\n - id: chat-support-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: support\n title: Support conversations\n showSuggestions: true\n previewState: ready\ncomposition:\n schema: uibot.solution-composition.v1\n pages:\n - resourceId: template:chat-support\n version: 0.19.0\n sourceHash: e86dd97ddda9b61b68d1aed048251edff8cc9f2987f1254ff9e4f0032a6cd033\n sourcePageId: chat-support\n targetPageId: chat-support\n baseline:\n id: chat-support\n path: /chat-support\n title: Support conversations\n blocks:\n - id: chat-support-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: support\n title: Support conversations\n showSuggestions: true\n previewState: ready\n bindings:\n paths: {}\n connections: {}\n layout: source\nmenus:\n items:\n - key: ecommerce\n label: Shop — All products\n path: /\n - key: chat-support\n label: Support conversations\n path: /chat-support\n",
21
+ "type": "registry:lib"
22
+ },
23
+ {
24
+ "path": "lib/uibot/templates/commerce-workspace.uibot.json",
25
+ "target": "lib/uibot/templates/commerce-workspace.uibot.json",
26
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"commerce-workspace\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"commerce-workspace.uibot.yaml\",\n \"contract\": {\n \"name\": \"commerce-workspace\",\n \"description\": \"Commerce & customer support: fixed-version pages composed into one exportable Spec.\",\n \"level\": \"L5\",\n \"category\": \"app\",\n \"keywords\": [\n \"commerce-workspace\",\n \"电商:商品与客服工作台\",\n \"Commerce & customer support\",\n \"chat\",\n \"support\"\n ],\n \"composedFrom\": [\n \"PageLayout\",\n \"Box\",\n \"Heading\",\n \"Paragraph\",\n \"Form\",\n \"Form.Select\",\n \"Form.Submit\",\n \"Grid\",\n \"Card\",\n \"BadgeGroup\",\n \"Stat\",\n \"Button\",\n \"Link\",\n \"ChatWorkspace\"\n ]\n }\n }\n}\n",
27
+ "type": "registry:lib"
28
+ }
29
+ ],
30
+ "meta": {
31
+ "uibot": {
32
+ "schema": "uibot.registry.item.v1",
33
+ "item": "commerce-workspace",
34
+ "channel": "public",
35
+ "template": {
36
+ "file": "commerce-workspace.uibot.yaml",
37
+ "contract": {
38
+ "name": "commerce-workspace",
39
+ "description": "Commerce & customer support: fixed-version pages composed into one exportable Spec.",
40
+ "level": "L5",
41
+ "category": "app",
42
+ "keywords": [
43
+ "commerce-workspace",
44
+ "电商:商品与客服工作台",
45
+ "Commerce & customer support",
46
+ "chat",
47
+ "support"
48
+ ],
49
+ "composedFrom": [
50
+ "PageLayout",
51
+ "Box",
52
+ "Heading",
53
+ "Paragraph",
54
+ "Form",
55
+ "Form.Select",
56
+ "Form.Submit",
57
+ "Grid",
58
+ "Card",
59
+ "BadgeGroup",
60
+ "Stat",
61
+ "Button",
62
+ "Link",
63
+ "ChatWorkspace"
64
+ ]
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }