@meistrari/chat-nuxt 4.5.1-rc.3 → 4.5.1-rc.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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
3
  "configKey": "chatNuxt",
4
- "version": "4.5.1-rc.3",
4
+ "version": "4.5.1-rc.5",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -54,7 +54,7 @@ function parsePositiveInt(value) {
54
54
  export function citationCacheKey(ref) {
55
55
  return `${ref.namespace}/${ref.id}`;
56
56
  }
57
- const BARE_CITE_REWRITE_REGEX = /\[[ \t]*(cite:\/\/[^\s"'<>`\[\]()*~]+)[ \t]*\](?!\()|(?<!\]\()(?<!<)(?<!\]:[ \t]*)(cite:\/\/[^\s"'<>`\[\]()*~]+)(?!\]\()/gi;
57
+ const BARE_CITE_REWRITE_REGEX = /\[[ \t]*(cite:\/\/[^\s"'<>`\[\]()*~]+)[ \t]*\](?!\()|(?<!\]\()(?<!<)(?<!\]:[ \t]*)(cite:\/\/[^\s"'<>`\[\]()*~]+)(?![^\s"'<>`\[\]()*~])(?!\]\()/gi;
58
58
  const MARKDOWN_CODE_REGEX = /(```|~~~)[\s\S]*?(?:\1|$)|``+[^`]*``+|`[^`]*`/g;
59
59
  export function linkifyBareCitations(text) {
60
60
  if (!text.toLowerCase().includes(CITE_SCHEME))
@@ -14,6 +14,7 @@ const props = defineProps({
14
14
  const {
15
15
  conversationSearch,
16
16
  hasConversationContent,
17
+ showGroupCreationPrompt,
17
18
  shouldShowSkeleton,
18
19
  emptyConversationMessage,
19
20
  skeletonRows,
@@ -100,7 +101,7 @@ function handleToggleGroup(groupId) {
100
101
  onBeforeUnmount(stopFolderAnimation);
101
102
  const rows = computed(() => {
102
103
  const result = [];
103
- if (groupItems.value.length > 0)
104
+ if (groupItems.value.length > 0 || showGroupCreationPrompt.value)
104
105
  result.push({ type: "folders", key: "folders", height: HEADING_HEIGHT, groupId: null });
105
106
  for (const groupBucket of groupItems.value) {
106
107
  const groupId = groupBucket.group.id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
- "version": "4.5.1-rc.3",
3
+ "version": "4.5.1-rc.5",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {