@doderasoftware/restify-ai 0.1.0-beta.1 → 0.1.0-beta.10

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 (59) hide show
  1. package/README.md +939 -401
  2. package/dist/components/AiAvatar.vue.d.ts.map +1 -1
  3. package/dist/components/AiChatDrawer.vue.d.ts +7 -3
  4. package/dist/components/AiChatDrawer.vue.d.ts.map +1 -1
  5. package/dist/components/AiEmptyState.vue.d.ts.map +1 -1
  6. package/dist/components/ChatInput.vue.d.ts.map +1 -1
  7. package/dist/components/ChatMessage.vue.d.ts.map +1 -1
  8. package/dist/components/ChatMessageActions.vue.d.ts.map +1 -1
  9. package/dist/components/ErrorBoundary.vue.d.ts +74 -0
  10. package/dist/components/ErrorBoundary.vue.d.ts.map +1 -0
  11. package/dist/components/MentionList.vue.d.ts.map +1 -1
  12. package/dist/components/UserAvatar.vue.d.ts.map +1 -1
  13. package/dist/components/drawer/ConfirmDialog.vue.d.ts.map +1 -1
  14. package/dist/components/drawer/DrawerHeader.vue.d.ts +4 -0
  15. package/dist/components/drawer/DrawerHeader.vue.d.ts.map +1 -1
  16. package/dist/components/drawer/DrawerMessageList.vue.d.ts.map +1 -1
  17. package/dist/components/drawer/SetupGuide.vue.d.ts.map +1 -1
  18. package/dist/components/index.d.ts +1 -0
  19. package/dist/components/index.d.ts.map +1 -1
  20. package/dist/components/input/AttachmentsPreview.vue.d.ts.map +1 -1
  21. package/dist/components/input/InputActions.vue.d.ts.map +1 -1
  22. package/dist/composables/useKeyboardShortcut.d.ts +9 -5
  23. package/dist/composables/useKeyboardShortcut.d.ts.map +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/restify-ai.js +1866 -1722
  27. package/dist/restify-ai.umd.cjs +46 -46
  28. package/dist/store/index.d.ts +2 -0
  29. package/dist/store/index.d.ts.map +1 -0
  30. package/dist/store/storage.d.ts +30 -0
  31. package/dist/store/storage.d.ts.map +1 -0
  32. package/dist/store/store.d.ts +247 -0
  33. package/dist/store/store.d.ts.map +1 -0
  34. package/dist/store/utils.d.ts +23 -0
  35. package/dist/store/utils.d.ts.map +1 -0
  36. package/dist/store.d.ts +1 -246
  37. package/dist/store.d.ts.map +1 -1
  38. package/dist/style.css +1 -1
  39. package/dist/types/api.d.ts +43 -0
  40. package/dist/types/api.d.ts.map +1 -0
  41. package/dist/types/chat.d.ts +56 -0
  42. package/dist/types/chat.d.ts.map +1 -0
  43. package/dist/types/config.d.ts +167 -0
  44. package/dist/types/config.d.ts.map +1 -0
  45. package/dist/types/index.d.ts +15 -599
  46. package/dist/types/index.d.ts.map +1 -1
  47. package/dist/types/mentions.d.ts +34 -0
  48. package/dist/types/mentions.d.ts.map +1 -0
  49. package/dist/types/setup.d.ts +13 -0
  50. package/dist/types/setup.d.ts.map +1 -0
  51. package/dist/types/slots.d.ts +33 -0
  52. package/dist/types/slots.d.ts.map +1 -0
  53. package/dist/types/suggestions.d.ts +32 -0
  54. package/dist/types/suggestions.d.ts.map +1 -0
  55. package/dist/types/texts.d.ts +57 -0
  56. package/dist/types/texts.d.ts.map +1 -0
  57. package/dist/types/ui.d.ts +102 -0
  58. package/dist/types/ui.d.ts.map +1 -0
  59. package/package.json +31 -11
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Setup Mode Types
3
+ */
4
+ export type SetupStep = 'welcome' | 'api-key' | 'testing' | 'backend-config' | 'complete';
5
+ export interface SetupState {
6
+ isActive: boolean;
7
+ currentStep: SetupStep;
8
+ testApiKey: string | null;
9
+ connectionStatus: 'idle' | 'testing' | 'connected' | 'failed';
10
+ backendConfigured: boolean;
11
+ lastError: string | null;
12
+ }
13
+ //# sourceMappingURL=setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/types/setup.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,UAAU,CAAA;AAEzF,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,SAAS,CAAA;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,gBAAgB,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;IAC7D,iBAAiB,EAAE,OAAO,CAAA;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB"}
@@ -0,0 +1,33 @@
1
+ import { ChatQuota, ChatMessage, SubmitPayload } from './chat';
2
+ import { AISuggestion } from './suggestions';
3
+
4
+ /**
5
+ * Slot Props Types
6
+ */
7
+ export interface HeaderSlotProps {
8
+ quota: ChatQuota;
9
+ isFullscreen: boolean;
10
+ hasHistory: boolean;
11
+ onNewChat: () => void;
12
+ onClose: () => void;
13
+ onMinimize: () => void;
14
+ onToggleFullscreen: () => void;
15
+ }
16
+ export interface EmptyStateSlotProps {
17
+ suggestions: AISuggestion[];
18
+ onSuggestionClick: (suggestion: AISuggestion) => void;
19
+ }
20
+ export interface MessageSlotProps {
21
+ message: ChatMessage;
22
+ isUser: boolean;
23
+ isLoading: boolean;
24
+ isStreaming: boolean;
25
+ }
26
+ export interface InputSlotProps {
27
+ modelValue: string;
28
+ sending: boolean;
29
+ disabled: boolean;
30
+ onSubmit: (payload: SubmitPayload) => void;
31
+ onCancel: () => void;
32
+ }
33
+ //# sourceMappingURL=slots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../src/types/slots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD;;GAEG;AAEH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,SAAS,CAAA;IAChB,YAAY,EAAE,OAAO,CAAA;IACrB,UAAU,EAAE,OAAO,CAAA;IACnB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,YAAY,EAAE,CAAA;IAC3B,iBAAiB,EAAE,CAAC,UAAU,EAAE,YAAY,KAAK,IAAI,CAAA;CACtD;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,WAAW,CAAA;IACpB,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAA;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Suggestion Types
3
+ */
4
+ export interface PageContext {
5
+ pageType: string;
6
+ entityId?: string;
7
+ entityType?: string;
8
+ metadata?: Record<string, any>;
9
+ routePath?: string;
10
+ }
11
+ export interface AISuggestion {
12
+ id: string;
13
+ title: string;
14
+ description?: string;
15
+ icon?: any;
16
+ className?: string;
17
+ gradientClass?: string;
18
+ prompt: string | ((context: PageContext) => string);
19
+ permission?: string;
20
+ category?: string;
21
+ isSupportRequest?: boolean;
22
+ }
23
+ export type AiSuggestion = AISuggestion;
24
+ export interface SuggestionProvider {
25
+ id: string;
26
+ routes?: string[];
27
+ matcher?: (path: string, context: PageContext | null) => boolean;
28
+ getSuggestions: (context: PageContext) => AISuggestion[];
29
+ extractContext?: (path: string) => Record<string, any>;
30
+ priority?: number;
31
+ }
32
+ //# sourceMappingURL=suggestions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suggestions.d.ts","sourceRoot":"","sources":["../../src/types/suggestions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,OAAO,EAAE,WAAW,KAAK,MAAM,CAAC,CAAA;IACnD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B;AAGD,MAAM,MAAM,YAAY,GAAG,YAAY,CAAA;AAEvC,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,OAAO,CAAA;IAChE,cAAc,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,YAAY,EAAE,CAAA;IACxD,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB"}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Text/i18n Props Types - Component text overrides
3
+ */
4
+ export interface AiChatDrawerTexts {
5
+ title?: string;
6
+ quotaRemaining?: string;
7
+ noQuota?: string;
8
+ newChat?: string;
9
+ close?: string;
10
+ minimize?: string;
11
+ fullscreen?: string;
12
+ exitFullscreen?: string;
13
+ closeConfirmTitle?: string;
14
+ closeConfirmMessage?: string;
15
+ confirmClose?: string;
16
+ cancel?: string;
17
+ retry?: string;
18
+ keyboardShortcutHint?: string;
19
+ placeholder?: string;
20
+ supportPlaceholder?: string;
21
+ historyLimitWarningTitle?: string;
22
+ historyLimitWarningMessage?: string;
23
+ historyLimitReachedTitle?: string;
24
+ historyLimitReachedMessage?: string;
25
+ startNewChat?: string;
26
+ continueChat?: string;
27
+ messageCount?: string;
28
+ }
29
+ export interface ChatInputTexts {
30
+ placeholder?: string;
31
+ supportPlaceholder?: string;
32
+ attachedFiles?: string;
33
+ attachFiles?: string;
34
+ toggleSupportMode?: string;
35
+ exitSupportMode?: string;
36
+ supportLabel?: string;
37
+ }
38
+ export interface ChatMessageTexts {
39
+ loadingText?: string;
40
+ showMore?: string;
41
+ showLess?: string;
42
+ openAttachment?: string;
43
+ attachment?: string;
44
+ }
45
+ export interface AiEmptyStateTexts {
46
+ aiName?: string;
47
+ title?: string;
48
+ description?: string;
49
+ }
50
+ export interface MentionListTexts {
51
+ defaultGroupLabel?: string;
52
+ }
53
+ export interface ChatMessageActionsTexts {
54
+ copyToClipboard?: string;
55
+ copied?: string;
56
+ }
57
+ //# sourceMappingURL=texts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"texts.d.ts","sourceRoot":"","sources":["../../src/types/texts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,OAAO,C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AA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
@@ -0,0 +1,102 @@
1
+ /**
2
+ * UI Customization Types - Component class overrides
3
+ */
4
+ export interface AiChatDrawerUI {
5
+ backdrop?: string;
6
+ drawer?: string;
7
+ panel?: string;
8
+ header?: string;
9
+ headerTitle?: string;
10
+ headerActions?: string;
11
+ headerActionButton?: string;
12
+ body?: string;
13
+ footer?: string;
14
+ closeConfirmModal?: string;
15
+ closeConfirmButton?: string;
16
+ cancelButton?: string;
17
+ quotaDisplay?: string;
18
+ messageCountBadge?: string;
19
+ newChatButton?: string;
20
+ errorContainer?: string;
21
+ errorMessage?: string;
22
+ retryButton?: string;
23
+ historyLimitModal?: string;
24
+ historyLimitButton?: string;
25
+ }
26
+ export interface ChatInputUI {
27
+ root?: string;
28
+ form?: string;
29
+ inputContainer?: string;
30
+ inputWrapper?: string;
31
+ textarea?: string;
32
+ attachButton?: string;
33
+ sendButton?: string;
34
+ sendButtonActive?: string;
35
+ sendButtonDisabled?: string;
36
+ stopButton?: string;
37
+ supportToggle?: string;
38
+ supportBadge?: string;
39
+ attachmentsContainer?: string;
40
+ attachmentItem?: string;
41
+ attachmentThumbnail?: string;
42
+ attachmentRemove?: string;
43
+ suggestionsDropdown?: string;
44
+ suggestionItem?: string;
45
+ suggestionItemSelected?: string;
46
+ contextLink?: string;
47
+ }
48
+ export interface ChatMessageUI {
49
+ root?: string;
50
+ userMessage?: string;
51
+ userBubble?: string;
52
+ userAvatar?: string;
53
+ assistantMessage?: string;
54
+ assistantBubble?: string;
55
+ loadingIndicator?: string;
56
+ loadingDots?: string;
57
+ content?: string;
58
+ attachmentsContainer?: string;
59
+ attachmentItem?: string;
60
+ actionsContainer?: string;
61
+ showMoreButton?: string;
62
+ }
63
+ export interface AiEmptyStateUI {
64
+ root?: string;
65
+ content?: string;
66
+ header?: string;
67
+ badge?: string;
68
+ title?: string;
69
+ description?: string;
70
+ grid?: string;
71
+ suggestionCard?: string;
72
+ suggestionIconContainer?: string;
73
+ suggestionIcon?: string;
74
+ suggestionTitle?: string;
75
+ suggestionDescription?: string;
76
+ }
77
+ export interface MentionListUI {
78
+ root?: string;
79
+ container?: string;
80
+ groupHeader?: string;
81
+ item?: string;
82
+ itemSelected?: string;
83
+ itemIcon?: string;
84
+ itemContent?: string;
85
+ itemName?: string;
86
+ itemSubtitle?: string;
87
+ }
88
+ export interface AiAvatarUI {
89
+ container?: string;
90
+ icon?: string;
91
+ }
92
+ export interface UserAvatarUI {
93
+ container?: string;
94
+ icon?: string;
95
+ }
96
+ export interface ChatMessageActionsUI {
97
+ container?: string;
98
+ button?: string;
99
+ copyButton?: string;
100
+ successState?: string;
101
+ }
102
+ //# sourceMappingURL=ui.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/types/ui.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iBAAi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AA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@doderasoftware/restify-ai",
3
- "version": "0.1.0-beta.1",
4
- "description": "Professional AI Chatbot Vue 3 component for Laravel Restify backends. Fully customizable with SSE streaming, file attachments, mentions, and context-aware suggestions.",
3
+ "version": "0.1.0-beta.10",
4
+ "description": "Professional AI Chatbot Vue 3 component for Laravel Restify backends. SSE streaming, file uploads, @mentions, context-aware suggestions, and full TypeScript support.",
5
5
  "type": "module",
6
6
  "main": "./dist/restify-ai.umd.cjs",
7
7
  "module": "./dist/restify-ai.js",
@@ -41,7 +41,9 @@
41
41
  "version:major": "npm version major",
42
42
  "version:beta": "npm version prerelease --preid=beta",
43
43
  "publish:beta": "npm publish --tag beta --access public",
44
- "publish:latest": "npm publish --access public"
44
+ "publish:latest": "npm publish --access public",
45
+ "format": "prettier --write 'src/**/*.{ts,vue}'",
46
+ "lint:fix": "eslint . --ext .vue,.ts --fix"
45
47
  },
46
48
  "peerDependencies": {
47
49
  "pinia": ">=2.1.0",
@@ -50,7 +52,7 @@
50
52
  },
51
53
  "peerDependenciesMeta": {
52
54
  "tailwindcss": {
53
- "optional": false
55
+ "optional": true
54
56
  }
55
57
  },
56
58
  "dependencies": {
@@ -63,13 +65,19 @@
63
65
  "@tailwindcss/typography": "^0.5.10",
64
66
  "@types/dompurify": "^3.0.5",
65
67
  "@types/node": "^20.10.0",
68
+ "@typescript-eslint/eslint-plugin": "^8.50.1",
69
+ "@typescript-eslint/parser": "^8.50.1",
66
70
  "@vitejs/plugin-vue": "^4.6.2",
67
71
  "@vue/tsconfig": "^0.5.1",
68
72
  "autoprefixer": "^10.4.16",
73
+ "eslint": "^9.39.2",
74
+ "eslint-plugin-vue": "^10.6.2",
75
+ "globals": "^16.5.0",
69
76
  "pinia": "^2.1.7",
70
77
  "postcss": "^8.4.31",
71
78
  "tailwindcss": "^3.3.5",
72
79
  "typescript": "~5.6.0",
80
+ "typescript-eslint": "^8.50.1",
73
81
  "vite": "^5.4.11",
74
82
  "vite-plugin-dts": "^3.6.4",
75
83
  "vitest": "^1.6.1",
@@ -83,37 +91,49 @@
83
91
  "chatbot",
84
92
  "chat",
85
93
  "assistant",
94
+ "ai-assistant",
86
95
  "laravel",
87
96
  "restify",
88
97
  "laravel-restify",
98
+ "binarcode",
89
99
  "sse",
90
100
  "streaming",
91
101
  "component",
92
102
  "openai",
93
103
  "anthropic",
94
104
  "claude",
105
+ "gpt",
106
+ "llm",
95
107
  "tailwindcss",
96
- "typescript"
108
+ "typescript",
109
+ "pinia",
110
+ "vue-component",
111
+ "chatgpt",
112
+ "ai-chat"
97
113
  ],
98
114
  "author": {
99
- "name": "Dodera Software",
100
- "email": "contact@doderasoftware.com",
101
- "url": "https://doderasoftware.com"
115
+ "name": "BinarCode",
116
+ "email": "hello@binarcode.com",
117
+ "url": "https://binarcode.com"
102
118
  },
103
119
  "license": "MIT",
104
120
  "repository": {
105
121
  "type": "git",
106
- "url": "git+https://github.com/doderasoftware/restify-ai.git"
122
+ "url": "git+https://github.com/BinarCode/restify-ai.git"
107
123
  },
108
124
  "bugs": {
109
- "url": "https://github.com/doderasoftware/restify-ai/issues"
125
+ "url": "https://github.com/BinarCode/restify-ai/issues"
110
126
  },
111
- "homepage": "https://github.com/doderasoftware/restify-ai#readme",
127
+ "homepage": "https://laravel-restify.com",
112
128
  "publishConfig": {
113
129
  "access": "public",
114
130
  "registry": "https://registry.npmjs.org/"
115
131
  },
116
132
  "engines": {
117
133
  "node": ">=18.0.0"
134
+ },
135
+ "funding": {
136
+ "type": "github",
137
+ "url": "https://github.com/sponsors/binarcode"
118
138
  }
119
139
  }