spine-framework-cortex 0.1.7 → 1.0.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 (52) hide show
  1. package/LICENSE.md +223 -0
  2. package/README.md +185 -13
  3. package/custom/apps/cortex/LICENSE.md +13 -0
  4. package/custom/apps/cortex/README.md +27 -0
  5. package/custom/apps/cortex/api/cortex-handler.ts +35 -0
  6. package/{components → custom/apps/cortex/components}/CortexSidebar.tsx +27 -22
  7. package/custom/apps/cortex/docs/configuration.md +222 -0
  8. package/{index.tsx → custom/apps/cortex/index.tsx} +14 -5
  9. package/custom/apps/cortex/kb-ingestion.tsx +217 -0
  10. package/{manifest.json → custom/apps/cortex/manifest.json} +12 -1
  11. package/custom/apps/cortex/package.json +31 -0
  12. package/{pages → custom/apps/cortex/pages}/crm/AccountDetailPage.tsx +6 -6
  13. package/package.json +82 -20
  14. /package/{functions → custom/apps/cortex/functions}/custom_anonymous-sessions.ts +0 -0
  15. /package/{functions → custom/apps/cortex/functions}/custom_case_analysis.ts +0 -0
  16. /package/{functions → custom/apps/cortex/functions}/custom_community-escalation.ts +0 -0
  17. /package/{functions → custom/apps/cortex/functions}/custom_cortex-chunks.ts +0 -0
  18. /package/{functions → custom/apps/cortex/functions}/custom_cortex-handler.ts +0 -0
  19. /package/{functions → custom/apps/cortex/functions}/custom_funnel-scoring.ts +0 -0
  20. /package/{functions → custom/apps/cortex/functions}/custom_funnel-signal.ts +0 -0
  21. /package/{functions → custom/apps/cortex/functions}/custom_funnel-timers.ts +0 -0
  22. /package/{functions → custom/apps/cortex/functions}/custom_kb-chunker-test.ts +0 -0
  23. /package/{functions → custom/apps/cortex/functions}/custom_kb-chunker.ts +0 -0
  24. /package/{functions → custom/apps/cortex/functions}/custom_kb-embeddings.ts +0 -0
  25. /package/{functions → custom/apps/cortex/functions}/custom_kb-ingestion.ts +0 -0
  26. /package/{functions → custom/apps/cortex/functions}/custom_support-triage.ts +0 -0
  27. /package/{functions → custom/apps/cortex/functions}/custom_tag_management.ts +0 -0
  28. /package/{functions → custom/apps/cortex/functions}/webhook-handlers.ts +0 -0
  29. /package/{lib → custom/apps/cortex/lib}/resolveTypeId.ts +0 -0
  30. /package/{pages → custom/apps/cortex/pages}/CortexDashboard.tsx +0 -0
  31. /package/{pages → custom/apps/cortex/pages}/community/CommunityPage.tsx +0 -0
  32. /package/{pages → custom/apps/cortex/pages}/courses/CoursesPage.tsx +0 -0
  33. /package/{pages → custom/apps/cortex/pages}/crm/AccountsPage.tsx +0 -0
  34. /package/{pages → custom/apps/cortex/pages}/crm/ActivityPage.tsx +0 -0
  35. /package/{pages → custom/apps/cortex/pages}/crm/ContactDetailPage.tsx +0 -0
  36. /package/{pages → custom/apps/cortex/pages}/crm/ContactsPage.tsx +0 -0
  37. /package/{pages → custom/apps/cortex/pages}/crm/DealDetailPage.tsx +0 -0
  38. /package/{pages → custom/apps/cortex/pages}/crm/DealsPage.tsx +0 -0
  39. /package/{pages → custom/apps/cortex/pages}/crm/HealthPage.tsx +0 -0
  40. /package/{pages → custom/apps/cortex/pages}/intelligence/IntelligencePage.tsx +0 -0
  41. /package/{pages → custom/apps/cortex/pages}/kb/KBEditorPage.tsx +0 -0
  42. /package/{pages → custom/apps/cortex/pages}/kb/KBIngestionPage.tsx +0 -0
  43. /package/{pages → custom/apps/cortex/pages}/kb/KBPage.tsx +0 -0
  44. /package/{pages → custom/apps/cortex/pages}/support/RedactionReview.tsx +0 -0
  45. /package/{pages → custom/apps/cortex/pages}/support/SupportPage.tsx +0 -0
  46. /package/{pages → custom/apps/cortex/pages}/support/TicketDetailPage.tsx +0 -0
  47. /package/{seed → custom/apps/cortex/seed}/accounts.json +0 -0
  48. /package/{seed → custom/apps/cortex/seed}/link-types.json +0 -0
  49. /package/{seed → custom/apps/cortex/seed}/pipelines.json +0 -0
  50. /package/{seed → custom/apps/cortex/seed}/roles.json +0 -0
  51. /package/{seed → custom/apps/cortex/seed}/triggers.json +0 -0
  52. /package/{seed → custom/apps/cortex/seed}/types.json +0 -0
package/package.json CHANGED
@@ -1,30 +1,92 @@
1
1
  {
2
2
  "name": "spine-framework-cortex",
3
- "version": "0.1.7",
4
- "description": "Cortex AI-powered support, CRM, and knowledge base app for Spine Framework",
5
- "type": "module",
6
- "license": "MIT",
3
+ "version": "1.0.0",
4
+ "description": "Unified workspace for CRM, Support, Community, and Knowledge Base built on Spine Framework",
5
+ "main": "custom/apps/cortex/index.tsx",
6
+ "homepage": "https://spine-framework.com",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/art-mojo-admin/spine",
10
- "directory": "custom/apps/cortex"
11
- },
12
- "peerDependencies": {
13
- "spine-framework": ">=0.1.0"
9
+ "url": "https://github.com/spine-framework/spine-framework-cortex.git"
14
10
  },
11
+ "keywords": [
12
+ "spine-framework",
13
+ "crm",
14
+ "support",
15
+ "community",
16
+ "knowledge-base",
17
+ "courses",
18
+ "customer-service",
19
+ "business-management"
20
+ ],
21
+ "author": "Dahl Ventures Inc.",
22
+ "license": "SEE LICENSE IN LICENSE.md",
15
23
  "files": [
16
- "index.tsx",
17
- "manifest.json",
18
- "seed/",
19
- "pages/",
20
- "components/",
21
- "functions/",
22
- "lib/",
23
- "README.md"
24
+ "custom/apps/cortex/**/*",
25
+ "LICENSE.md",
26
+ "README.md",
27
+ "package.json"
24
28
  ],
29
+ "engines": {
30
+ "node": ">=18.0.0"
31
+ },
32
+ "peerDependencies": {
33
+ "spine-framework": "^1.0.0",
34
+ "react": "^18.0.0",
35
+ "react-dom": "^18.0.0"
36
+ },
37
+ "dependencies": {
38
+ "@spine-framework/core": "^1.0.0"
39
+ },
40
+ "devDependencies": {
41
+ "@types/react": "^18.0.0",
42
+ "@types/react-dom": "^18.0.0",
43
+ "typescript": "^5.0.0",
44
+ "vite": "^5.0.0"
45
+ },
46
+ "scripts": {
47
+ "build": "vite build",
48
+ "dev": "vite dev",
49
+ "type-check": "tsc --noEmit",
50
+ "lint": "eslint custom/apps/cortex --ext .ts,.tsx",
51
+ "test": "vitest"
52
+ },
53
+ "exports": {
54
+ ".": {
55
+ "types": "./custom/apps/cortex/index.tsx",
56
+ "default": "./custom/apps/cortex/index.tsx"
57
+ },
58
+ "./components": {
59
+ "types": "./custom/apps/cortex/components/index.ts",
60
+ "default": "./custom/apps/cortex/components/index.ts"
61
+ },
62
+ "./hooks": {
63
+ "types": "./custom/apps/cortex/hooks/index.ts",
64
+ "default": "./custom/apps/cortex/hooks/index.ts"
65
+ },
66
+ "./types": {
67
+ "types": "./custom/apps/cortex/types/index.ts",
68
+ "default": "./custom/apps/cortex/types/index.ts"
69
+ },
70
+ "./package.json": "./package.json"
71
+ },
72
+ "publishConfig": {
73
+ "access": "public",
74
+ "registry": "https://registry.npmjs.org/"
75
+ },
25
76
  "spine": {
26
- "type": "app",
27
- "slug": "cortex",
28
- "manifestPath": "manifest.json"
77
+ "app": {
78
+ "slug": "cortex",
79
+ "name": "Cortex",
80
+ "version": "1.0.0",
81
+ "entry": "custom/apps/cortex/index.tsx",
82
+ "manifest": "custom/apps/cortex/manifest.json",
83
+ "requiredRoles": ["support"],
84
+ "routePrefix": "/cortex",
85
+ "renderer": "custom"
86
+ },
87
+ "compatibility": {
88
+ "framework": "^1.0.0",
89
+ "node": ">=18.0.0"
90
+ }
29
91
  }
30
92
  }
File without changes
File without changes
File without changes
File without changes