@meistrari/chat-nuxt 1.0.0 → 1.1.1

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/README.md CHANGED
@@ -85,8 +85,6 @@ setDefaultMathOptions({ strictDelimiters: true })
85
85
  ```vue
86
86
  <!-- pages/index.vue -->
87
87
  <script setup lang="ts">
88
- definePageMeta({ auth: { required: true } })
89
-
90
88
  const { activeOrganization } = useTelaApplicationAuth()
91
89
  const workspaceId = computed(() => activeOrganization.value?.id ?? null)
92
90
  </script>
@@ -269,6 +267,6 @@ The module auto-registers everything — no manual imports needed:
269
267
 
270
268
  | Package | Version | Purpose |
271
269
  |---------|---------|---------|
272
- | `@meistrari/auth-nuxt` | `^2.4.0` | Authentication (required) |
270
+ | `@meistrari/auth-nuxt` | `^3.4.1` | Authentication (required) |
273
271
  | `@meistrari/tela-build` | `^1.30.0` | UI component library (Nuxt layer) |
274
272
  | `markstream-vue` | `0.0.3-beta.6` | Markdown streaming renderer |
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
3
  "configKey": "telaChat",
4
- "version": "1.0.0",
4
+ "version": "1.1.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
package/dist/module.mjs CHANGED
@@ -127,14 +127,24 @@ const workspaceSettingsResolverCandidates = [
127
127
  "server/chat/resolve-workspace-settings.ts",
128
128
  "server/chat/resolve-workspace-settings.js"
129
129
  ];
130
- function resolveWorkspaceSettingsResolverEntry(srcDir, fallbackResolverEntry) {
130
+ const stubExtensions = [".ts", ".mjs", ".js"];
131
+ function resolveWorkspaceSettingsResolverEntry(srcDir, fallbackResolverBase) {
131
132
  for (const relativePath of workspaceSettingsResolverCandidates) {
132
133
  const candidate = join(srcDir, relativePath);
133
134
  if (existsSync(candidate)) {
134
135
  return candidate;
135
136
  }
136
137
  }
137
- return fallbackResolverEntry;
138
+ for (const ext of stubExtensions) {
139
+ const candidate = fallbackResolverBase + ext;
140
+ if (existsSync(candidate)) {
141
+ return candidate;
142
+ }
143
+ }
144
+ const attempted = stubExtensions.map((ext) => fallbackResolverBase + ext).join(", ");
145
+ throw new Error(
146
+ `[@meistrari/chat-nuxt] Unable to resolve workspace-settings stub. Tried: ${attempted}. This indicates a packaging bug \u2014 please report it.`
147
+ );
138
148
  }
139
149
 
140
150
  const _chatNuxtRequire = createRequire(import.meta.url);
@@ -6,15 +6,15 @@ type __VLS_Props = {
6
6
  userImage?: string;
7
7
  };
8
8
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ delete: (id: string) => any;
9
10
  rename: (id: string, title: string) => any;
10
11
  duplicate: (id: string) => any;
11
12
  export: (id: string) => any;
12
- delete: (id: string) => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onDelete?: ((id: string) => any) | undefined;
14
15
  onRename?: ((id: string, title: string) => any) | undefined;
15
16
  onDuplicate?: ((id: string) => any) | undefined;
16
17
  onExport?: ((id: string) => any) | undefined;
17
- onDelete?: ((id: string) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  export default _default;
@@ -6,15 +6,15 @@ type __VLS_Props = {
6
6
  userImage?: string;
7
7
  };
8
8
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ delete: (id: string) => any;
9
10
  rename: (id: string, title: string) => any;
10
11
  duplicate: (id: string) => any;
11
12
  export: (id: string) => any;
12
- delete: (id: string) => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onDelete?: ((id: string) => any) | undefined;
14
15
  onRename?: ((id: string, title: string) => any) | undefined;
15
16
  onDuplicate?: ((id: string) => any) | undefined;
16
17
  onExport?: ((id: string) => any) | undefined;
17
- onDelete?: ((id: string) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  export default _default;
@@ -15,28 +15,28 @@ type __VLS_Props = {
15
15
  showDebugOption?: boolean;
16
16
  };
17
17
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
- saveTitle: () => any;
19
- cancelEditing: () => any;
20
- "update:isEditing": (value: boolean) => any;
21
- "update:editTitle": (value: string) => any;
18
+ delete: () => any;
22
19
  rename: () => any;
23
20
  duplicate: () => any;
24
21
  export: () => any;
22
+ saveTitle: () => any;
23
+ "update:isEditing": (value: boolean) => any;
24
+ "update:editTitle": (value: string) => any;
25
+ cancelEditing: () => any;
25
26
  copyLink: () => any;
26
27
  debug: () => any;
27
- delete: () => any;
28
28
  tabChange: (tab: TopbarTab) => any;
29
29
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
30
- onSaveTitle?: (() => any) | undefined;
31
- onCancelEditing?: (() => any) | undefined;
32
- "onUpdate:isEditing"?: ((value: boolean) => any) | undefined;
33
- "onUpdate:editTitle"?: ((value: string) => any) | undefined;
30
+ onDelete?: (() => any) | undefined;
34
31
  onRename?: (() => any) | undefined;
35
32
  onDuplicate?: (() => any) | undefined;
36
33
  onExport?: (() => any) | undefined;
34
+ onSaveTitle?: (() => any) | undefined;
35
+ "onUpdate:isEditing"?: ((value: boolean) => any) | undefined;
36
+ "onUpdate:editTitle"?: ((value: string) => any) | undefined;
37
+ onCancelEditing?: (() => any) | undefined;
37
38
  onCopyLink?: (() => any) | undefined;
38
39
  onDebug?: (() => any) | undefined;
39
- onDelete?: (() => any) | undefined;
40
40
  onTabChange?: ((tab: TopbarTab) => any) | undefined;
41
41
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
42
  declare const _default: typeof __VLS_export;
@@ -15,28 +15,28 @@ type __VLS_Props = {
15
15
  showDebugOption?: boolean;
16
16
  };
17
17
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
- saveTitle: () => any;
19
- cancelEditing: () => any;
20
- "update:isEditing": (value: boolean) => any;
21
- "update:editTitle": (value: string) => any;
18
+ delete: () => any;
22
19
  rename: () => any;
23
20
  duplicate: () => any;
24
21
  export: () => any;
22
+ saveTitle: () => any;
23
+ "update:isEditing": (value: boolean) => any;
24
+ "update:editTitle": (value: string) => any;
25
+ cancelEditing: () => any;
25
26
  copyLink: () => any;
26
27
  debug: () => any;
27
- delete: () => any;
28
28
  tabChange: (tab: TopbarTab) => any;
29
29
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
30
- onSaveTitle?: (() => any) | undefined;
31
- onCancelEditing?: (() => any) | undefined;
32
- "onUpdate:isEditing"?: ((value: boolean) => any) | undefined;
33
- "onUpdate:editTitle"?: ((value: string) => any) | undefined;
30
+ onDelete?: (() => any) | undefined;
34
31
  onRename?: (() => any) | undefined;
35
32
  onDuplicate?: (() => any) | undefined;
36
33
  onExport?: (() => any) | undefined;
34
+ onSaveTitle?: (() => any) | undefined;
35
+ "onUpdate:isEditing"?: ((value: boolean) => any) | undefined;
36
+ "onUpdate:editTitle"?: ((value: string) => any) | undefined;
37
+ onCancelEditing?: (() => any) | undefined;
37
38
  onCopyLink?: (() => any) | undefined;
38
39
  onDebug?: (() => any) | undefined;
39
- onDelete?: (() => any) | undefined;
40
40
  onTabChange?: ((tab: TopbarTab) => any) | undefined;
41
41
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
42
  declare const _default: typeof __VLS_export;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -28,7 +28,7 @@
28
28
  "db:studio": "infisical run --env=dev -- ./scripts/drizzle.sh studio"
29
29
  },
30
30
  "peerDependencies": {
31
- "@meistrari/auth-nuxt": "^2.4.0"
31
+ "@meistrari/auth-nuxt": "^3.4.1"
32
32
  },
33
33
  "dependencies": {
34
34
  "@iconify-json/ph": "^1.2.2",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@antfu/eslint-config": "3.11.2",
60
- "@meistrari/auth-nuxt": "2.4.0",
60
+ "@meistrari/auth-nuxt": "3.4.1",
61
61
  "@nuxt/module-builder": "^1.0.2",
62
62
  "@types/node": "^20.19.0",
63
63
  "dotenv-cli": "^11.0.0",