neo.mjs 11.6.0 → 11.6.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.
Files changed (68) hide show
  1. package/.github/.sync-metadata.json +94 -27
  2. package/ServiceWorker.mjs +2 -2
  3. package/ai/mcp/server/github-workflow/mcp-stdio.mjs +6 -6
  4. package/ai/mcp/server/knowledge-base/config.mjs +1 -1
  5. package/ai/mcp/server/knowledge-base/mcp-stdio.mjs +6 -6
  6. package/ai/mcp/server/memory-core/config.mjs +6 -1
  7. package/ai/mcp/server/memory-core/mcp-stdio.mjs +6 -6
  8. package/ai/mcp/server/memory-core/services/SessionService.mjs +1 -1
  9. package/apps/colors/view/HeaderToolbar.mjs +1 -1
  10. package/apps/form/view/pages/Page4.mjs +12 -12
  11. package/apps/form/view/pages/Page5.mjs +12 -12
  12. package/apps/portal/sitemap.xml +44 -44
  13. package/apps/portal/view/home/FooterContainer.mjs +1 -1
  14. package/apps/shareddialog/view/MainContainer.mjs +10 -10
  15. package/examples/button/base/MainContainer.mjs +66 -66
  16. package/examples/button/effect/MainContainer.mjs +68 -68
  17. package/examples/button/split/MainContainer.mjs +39 -39
  18. package/examples/component/coronaHelix/MainContainer.mjs +1 -1
  19. package/examples/component/dateSelector/MainContainer.mjs +34 -34
  20. package/examples/component/helix/Viewport.mjs +1 -1
  21. package/examples/component/statusbadge/MainContainer.mjs +5 -5
  22. package/examples/component/wrapper/monacoEditor/MainContainer.mjs +9 -9
  23. package/examples/date/selectorContainer/MainContainer.mjs +34 -34
  24. package/examples/dialog/DemoDialog.mjs +1 -1
  25. package/examples/dialog/MainContainer.mjs +5 -5
  26. package/examples/fields/MainContainer.mjs +6 -6
  27. package/examples/form/field/checkbox/MainContainer.mjs +8 -6
  28. package/examples/form/field/chip/MainContainer.mjs +5 -5
  29. package/examples/form/field/color/MainContainer.mjs +5 -5
  30. package/examples/form/field/combobox/MainContainer.mjs +5 -5
  31. package/examples/form/field/date/MainContainer.mjs +5 -5
  32. package/examples/form/field/email/MainContainer.mjs +5 -5
  33. package/examples/form/field/number/MainContainer.mjs +2 -2
  34. package/examples/form/field/picker/MainContainer.mjs +5 -5
  35. package/examples/form/field/radio/MainContainer.mjs +8 -6
  36. package/examples/form/field/switch/MainContainer.mjs +8 -6
  37. package/examples/form/field/text/MainContainer.mjs +5 -5
  38. package/examples/form/field/textarea/MainContainer.mjs +9 -9
  39. package/examples/form/field/time/MainContainer.mjs +5 -5
  40. package/examples/form/field/trigger/copyToClipboard/MainContainer.mjs +5 -5
  41. package/examples/form/field/url/MainContainer.mjs +5 -5
  42. package/examples/functional/button/base/MainContainer.mjs +69 -69
  43. package/examples/grid/bigData/ControlsContainer.mjs +23 -23
  44. package/examples/grid/cellEditing/MainContainer.mjs +26 -26
  45. package/examples/grid/container/MainContainer.mjs +20 -20
  46. package/examples/layout/card/MainContainer.mjs +25 -25
  47. package/examples/layout/cube/MainContainer.mjs +2 -2
  48. package/examples/list/circle/MainContainer.mjs +2 -2
  49. package/examples/tab/container/MainContainer.mjs +11 -11
  50. package/examples/table/cellEditing/MainContainer.mjs +26 -26
  51. package/examples/table/container/MainContainer.mjs +20 -20
  52. package/examples/tableFiltering/MainContainer.mjs +1 -1
  53. package/examples/tableStore/MainContainer.mjs +5 -5
  54. package/examples/tree/MainContainer.mjs +4 -4
  55. package/examples/treeAccordion/MainContainer.mjs +3 -3
  56. package/package.json +3 -3
  57. package/src/DefaultConfig.mjs +2 -2
  58. package/src/Main.mjs +7 -4
  59. package/src/calendar/view/calendars/List.mjs +5 -5
  60. package/src/calendar/view/settings/GeneralContainer.mjs +5 -5
  61. package/src/calendar/view/settings/MonthContainer.mjs +6 -6
  62. package/src/calendar/view/settings/WeekContainer.mjs +3 -3
  63. package/src/calendar/view/settings/YearContainer.mjs +2 -2
  64. package/src/filter/BooleanContainer.mjs +9 -9
  65. package/src/form/field/CheckBox.mjs +56 -15
  66. package/src/form/field/Text.mjs +29 -7
  67. package/src/layout/Base.mjs +1 -1
  68. package/src/util/HighlightJs.mjs +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
- "lastSync": "2025-11-19T12:40:24.603Z",
3
- "releasesLastFetched": "2025-11-19T12:40:24.607Z",
2
+ "lastSync": "2025-11-19T17:12:23.427Z",
3
+ "releasesLastFetched": "2025-11-19T17:12:23.443Z",
4
4
  "pushFailures": [],
5
5
  "issues": {
6
6
  "3789": {
@@ -2905,22 +2905,22 @@
2905
2905
  "state": "OPEN",
2906
2906
  "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7201.md",
2907
2907
  "closedAt": null,
2908
- "updatedAt": "2025-11-19T02:51:55Z",
2909
- "contentHash": "84055c05b54b8a110659db99e65891a4b297b65deea3a1e3116ed9040e8cbf68"
2908
+ "updatedAt": "2025-11-19T14:01:09Z",
2909
+ "contentHash": "985d7c0ad9c64a527fddce66b0905da3b5779be52d37c25e93e1a22be85b2f02"
2910
2910
  },
2911
2911
  "7202": {
2912
2912
  "state": "OPEN",
2913
2913
  "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7202.md",
2914
2914
  "closedAt": null,
2915
- "updatedAt": "2025-11-19T02:51:53Z",
2916
- "contentHash": "9b5f31e856dce32044aa9a4677bb5d08278ef0bb9d3761d9de36706c5e134c73"
2915
+ "updatedAt": "2025-11-19T14:01:32Z",
2916
+ "contentHash": "f86af53d985df022ac4949c8d3e1602ec09de1b6c239f39d27d08c6818d0d43d"
2917
2917
  },
2918
2918
  "7203": {
2919
2919
  "state": "OPEN",
2920
2920
  "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7203.md",
2921
2921
  "closedAt": null,
2922
- "updatedAt": "2025-11-19T02:51:52Z",
2923
- "contentHash": "33ccf238fd6d2b8036942aff6fa53da3f5cec7972746fefe14c869f033863565"
2922
+ "updatedAt": "2025-11-19T14:02:06Z",
2923
+ "contentHash": "4e17574ddd04501115dbe0a5ecb22d89f8c2ea4cd7b450b71ccbad254b84aa28"
2924
2924
  },
2925
2925
  "7204": {
2926
2926
  "state": "CLOSED",
@@ -2933,15 +2933,15 @@
2933
2933
  "state": "OPEN",
2934
2934
  "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7205.md",
2935
2935
  "closedAt": null,
2936
- "updatedAt": "2025-11-19T02:51:51Z",
2937
- "contentHash": "db6e3283cd8bf5b81c06c3840b3de1e873695cb0601d8f8b290b3d708472a4c1"
2936
+ "updatedAt": "2025-11-19T14:02:32Z",
2937
+ "contentHash": "4f948ddd000c0bbf0cbb5c472064ed3a9a456fc3ce3e3a23e8283d94833d2e87"
2938
2938
  },
2939
2939
  "7206": {
2940
2940
  "state": "OPEN",
2941
2941
  "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7206.md",
2942
2942
  "closedAt": null,
2943
- "updatedAt": "2025-11-19T02:51:49Z",
2944
- "contentHash": "aec7dffe23f3362bb0e0d473cbf0e45053e19b94c7a90288b8d8a5e5a05627f4"
2943
+ "updatedAt": "2025-11-19T14:02:54Z",
2944
+ "contentHash": "06fca8e191571c84e24be596eca95e8fefe3558431b6f5843c5fce22ade4d6cf"
2945
2945
  },
2946
2946
  "7207": {
2947
2947
  "state": "OPEN",
@@ -4442,11 +4442,11 @@
4442
4442
  "contentHash": "22a09e1e1d7ca66d529f91c716d6b4072e104373815488ba303835fb51f196f8"
4443
4443
  },
4444
4444
  "7475": {
4445
- "state": "OPEN",
4445
+ "state": "CLOSED",
4446
4446
  "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7475.md",
4447
- "closedAt": null,
4448
- "updatedAt": "2025-10-13T20:41:47Z",
4449
- "contentHash": "3b5f73e6104e6b04c38df5ceacac9b7617c3e0c0ad3af7c76197b5dbc33bc607"
4447
+ "closedAt": "2025-11-19T14:00:20Z",
4448
+ "updatedAt": "2025-11-19T14:00:20Z",
4449
+ "contentHash": "63f2b1ecad67dc177957fcdf1d49ba1bb333782182f5112e3d362212ca90717b"
4450
4450
  },
4451
4451
  "7476": {
4452
4452
  "state": "CLOSED",
@@ -6473,7 +6473,7 @@
6473
6473
  },
6474
6474
  "7793": {
6475
6475
  "state": "CLOSED",
6476
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7793.md",
6476
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7793.md",
6477
6477
  "closedAt": "2025-11-19T12:40:12Z",
6478
6478
  "updatedAt": "2025-11-19T12:40:12Z",
6479
6479
  "contentHash": "b79258b967d08e9ee3e10f30e79464c6d4ffcc5d308a601af2a321f28cf5389e"
@@ -6501,73 +6501,136 @@
6501
6501
  },
6502
6502
  "7797": {
6503
6503
  "state": "CLOSED",
6504
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7797.md",
6504
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7797.md",
6505
6505
  "closedAt": "2025-11-19T09:54:38Z",
6506
6506
  "updatedAt": "2025-11-19T09:54:38Z",
6507
6507
  "contentHash": "7a6730c1ac4f027b62a63bedc58055ffeb0d00fbf0310fa16f1828db7b8ea085"
6508
6508
  },
6509
6509
  "7798": {
6510
6510
  "state": "CLOSED",
6511
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7798.md",
6511
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7798.md",
6512
6512
  "closedAt": "2025-11-19T01:56:15Z",
6513
6513
  "updatedAt": "2025-11-19T01:56:15Z",
6514
6514
  "contentHash": "b16c800b714244c0f5d33098e6bb13a2ef034ff7245675692d3deca454ab6973"
6515
6515
  },
6516
6516
  "7799": {
6517
6517
  "state": "CLOSED",
6518
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7799.md",
6518
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7799.md",
6519
6519
  "closedAt": "2025-11-19T01:58:16Z",
6520
6520
  "updatedAt": "2025-11-19T01:58:16Z",
6521
6521
  "contentHash": "1c206d2e26365960b9a9ca6e8cb188b23b1cd8027b2339ef3211faa82828b3df"
6522
6522
  },
6523
6523
  "7800": {
6524
6524
  "state": "CLOSED",
6525
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7800.md",
6525
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7800.md",
6526
6526
  "closedAt": "2025-11-19T02:04:02Z",
6527
6527
  "updatedAt": "2025-11-19T02:04:02Z",
6528
6528
  "contentHash": "e166fe317017b61f08d1ffb0e0f554c35dbf615ea28877a6ba4522ea2d374148"
6529
6529
  },
6530
6530
  "7801": {
6531
6531
  "state": "CLOSED",
6532
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7801.md",
6532
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7801.md",
6533
6533
  "closedAt": "2025-11-19T10:09:35Z",
6534
6534
  "updatedAt": "2025-11-19T10:09:35Z",
6535
6535
  "contentHash": "84eec3a5182f07ef575857227e50b0d799a28a354e9ff34798f64263a30532b8"
6536
6536
  },
6537
6537
  "7802": {
6538
6538
  "state": "CLOSED",
6539
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7802.md",
6539
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7802.md",
6540
6540
  "closedAt": "2025-11-19T10:59:33Z",
6541
6541
  "updatedAt": "2025-11-19T10:59:33Z",
6542
6542
  "contentHash": "356e92ddd1e6b1a8041263e7d001daed837eaa4d4b1883e4b8769e128f8bc176"
6543
6543
  },
6544
6544
  "7803": {
6545
6545
  "state": "CLOSED",
6546
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7803.md",
6546
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7803.md",
6547
6547
  "closedAt": "2025-11-19T11:08:40Z",
6548
6548
  "updatedAt": "2025-11-19T11:08:40Z",
6549
6549
  "contentHash": "5e272ed54318561523081c173d02c04775496f48d0587d1f760780efcc92ee46"
6550
6550
  },
6551
6551
  "7804": {
6552
6552
  "state": "CLOSED",
6553
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7804.md",
6553
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7804.md",
6554
6554
  "closedAt": "2025-11-19T11:18:52Z",
6555
6555
  "updatedAt": "2025-11-19T11:18:52Z",
6556
6556
  "contentHash": "9792b3df9bcaddd79ce2d286fccd4afc76f49c38af1716e92ba195c184d2f077"
6557
6557
  },
6558
6558
  "7805": {
6559
6559
  "state": "CLOSED",
6560
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7805.md",
6560
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7805.md",
6561
6561
  "closedAt": "2025-11-19T11:25:48Z",
6562
6562
  "updatedAt": "2025-11-19T11:25:48Z",
6563
6563
  "contentHash": "f57c7cba1ca5a122a8e0b885f2637fc596e393f9b0c8d2a2260ce25fa0b3cc26"
6564
6564
  },
6565
6565
  "7806": {
6566
6566
  "state": "CLOSED",
6567
- "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7806.md",
6567
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7806.md",
6568
6568
  "closedAt": "2025-11-19T12:33:43Z",
6569
6569
  "updatedAt": "2025-11-19T12:33:43Z",
6570
6570
  "contentHash": "816d05ae4087deba931e4a82d42619748cfc04cd9dd199e069ac9df3e901209b"
6571
+ },
6572
+ "7807": {
6573
+ "state": "CLOSED",
6574
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE_ARCHIVE/11.6.0/issue-7807.md",
6575
+ "closedAt": "2025-11-19T13:01:16Z",
6576
+ "updatedAt": "2025-11-19T13:01:16Z",
6577
+ "contentHash": "448e4392a00a92375eb667c71abdd981b1f16d6a55ddb293f728c1c5fba73764"
6578
+ },
6579
+ "7808": {
6580
+ "state": "CLOSED",
6581
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7808.md",
6582
+ "closedAt": "2025-11-19T13:42:11Z",
6583
+ "updatedAt": "2025-11-19T13:42:11Z",
6584
+ "contentHash": "80322765d7653cffa6f4618584533f6d57a2d26f7abea691ec49f48bf7098ffb"
6585
+ },
6586
+ "7809": {
6587
+ "state": "CLOSED",
6588
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7809.md",
6589
+ "closedAt": "2025-11-19T13:50:23Z",
6590
+ "updatedAt": "2025-11-19T13:50:23Z",
6591
+ "contentHash": "a3db5211c3b45f58631057867a40752869ccb0ca34f482f0f90ad4253abb5a68"
6592
+ },
6593
+ "7810": {
6594
+ "state": "CLOSED",
6595
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7810.md",
6596
+ "closedAt": "2025-11-19T13:59:16Z",
6597
+ "updatedAt": "2025-11-19T13:59:16Z",
6598
+ "contentHash": "38a2bccae1d13d569814d9310459d9e86c95cc24239edb25c95c4ec471a1aca9"
6599
+ },
6600
+ "7811": {
6601
+ "state": "CLOSED",
6602
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7811.md",
6603
+ "closedAt": "2025-11-19T14:41:08Z",
6604
+ "updatedAt": "2025-11-19T14:41:08Z",
6605
+ "contentHash": "bb15dfc6cd8d044c656e28c7219594827627e5cbd47b6e67b6c2dcec6bc9aee1"
6606
+ },
6607
+ "7812": {
6608
+ "state": "CLOSED",
6609
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7812.md",
6610
+ "closedAt": "2025-11-19T16:08:06Z",
6611
+ "updatedAt": "2025-11-19T16:08:06Z",
6612
+ "contentHash": "8f749255ff253ecbb0eef908fd2e5041796572fe1e62ccbdf153bd019efc691d"
6613
+ },
6614
+ "7813": {
6615
+ "state": "CLOSED",
6616
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7813.md",
6617
+ "closedAt": "2025-11-19T16:35:06Z",
6618
+ "updatedAt": "2025-11-19T16:35:06Z",
6619
+ "contentHash": "b84dae30b5f29ddc37260888b83f28c469a7a436ed0d1d5326ec962ec300872a"
6620
+ },
6621
+ "7814": {
6622
+ "state": "CLOSED",
6623
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7814.md",
6624
+ "closedAt": "2025-11-19T16:36:38Z",
6625
+ "updatedAt": "2025-11-19T16:36:38Z",
6626
+ "contentHash": "1acc0ebcfc01b35b16125a0d92168a745adebce428f298f889ec21db0dc48d9b"
6627
+ },
6628
+ "7815": {
6629
+ "state": "CLOSED",
6630
+ "path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7815.md",
6631
+ "closedAt": "2025-11-19T17:11:44Z",
6632
+ "updatedAt": "2025-11-19T17:11:44Z",
6633
+ "contentHash": "3e8c5b38bdd1fc594c52b8ff5b6fec479df097bf7e2672fb9519706df01c241a"
6571
6634
  }
6572
6635
  },
6573
6636
  "releases": {
@@ -6738,6 +6801,10 @@
6738
6801
  "11.5.0": {
6739
6802
  "publishedAt": "2025-11-18T20:28:02Z",
6740
6803
  "contentHash": "899bdb696e5a4f1e825e337e189e768fd6c4e5f68453e376b1e3d554644dea8b"
6804
+ },
6805
+ "11.6.0": {
6806
+ "publishedAt": "2025-11-19T13:05:08Z",
6807
+ "contentHash": "6b6aea3a75a479cee1638485cccccb22439737da4381d7926c2e9b7690f22c2f"
6741
6808
  }
6742
6809
  }
6743
6810
  }
package/ServiceWorker.mjs CHANGED
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='11.6.0'
23
+ * @member {String} version='11.6.1'
24
24
  */
25
- version: '11.6.0'
25
+ version: '11.6.1'
26
26
  }
27
27
 
28
28
  /**
@@ -1,4 +1,4 @@
1
- import {Server} from '@modelcontextprotocol/sdk/server/index.js';
1
+ import {McpServer} from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import {StdioServerTransport} from '@modelcontextprotocol/sdk/server/stdio.js';
3
3
  import {CallToolRequestSchema, ListToolsRequestSchema} from '@modelcontextprotocol/sdk/types.js';
4
4
  import {Command} from 'commander';
@@ -37,9 +37,9 @@ if (options.config) {
37
37
  }
38
38
  }
39
39
 
40
- const server = new Server({
40
+ const mcpServer = new McpServer({
41
41
  name: 'neo-github-workflow',
42
- version: '1.0.0',
42
+ version: process.env.npm_package_version || '1.0.0',
43
43
  }, {
44
44
  capabilities: {
45
45
  tools: {
@@ -49,7 +49,7 @@ const server = new Server({
49
49
  });
50
50
 
51
51
  // List all available tools from OpenAPI spec
52
- server.setRequestHandler(ListToolsRequestSchema, async (request) => {
52
+ mcpServer.server.setRequestHandler(ListToolsRequestSchema, async (request) => {
53
53
  try {
54
54
  const { cursor, limit } = request.params || {};
55
55
  const { tools, nextCursor } = listTools({ cursor, limit });
@@ -76,7 +76,7 @@ server.setRequestHandler(ListToolsRequestSchema, async (request) => {
76
76
  });
77
77
 
78
78
  // Handle tool execution
79
- server.setRequestHandler(CallToolRequestSchema, async (request) => {
79
+ mcpServer.server.setRequestHandler(CallToolRequestSchema, async (request) => {
80
80
  const { name, arguments: args } = request.params;
81
81
 
82
82
  try {
@@ -172,7 +172,7 @@ async function main() {
172
172
  }
173
173
 
174
174
  const transport = new StdioServerTransport();
175
- await server.connect(transport);
175
+ await mcpServer.connect(transport);
176
176
 
177
177
  logger.info('[neo-github-workflow MCP] Server started on stdio transport');
178
178
  logger.info('[neo-github-workflow MCP] Available tools loaded from OpenAPI spec');
@@ -33,7 +33,7 @@ const defaultConfig = {
33
33
  * The local persistence path for the agent knowledge-base server.
34
34
  * @type {string}
35
35
  */
36
- path: path.resolve(process.cwd(), 'chroma'),
36
+ path: path.resolve(process.cwd(), 'chroma-neo-knowledge-base'),
37
37
  /**
38
38
  * The path to the generated knowledge base JSONL file.
39
39
  * @type {string}
@@ -1,4 +1,4 @@
1
- import {Server} from '@modelcontextprotocol/sdk/server/index.js';
1
+ import {McpServer} from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import {StdioServerTransport} from '@modelcontextprotocol/sdk/server/stdio.js';
3
3
  import {CallToolRequestSchema, ListToolsRequestSchema} from '@modelcontextprotocol/sdk/types.js';
4
4
  import {Command} from 'commander';
@@ -37,9 +37,9 @@ if (options.config) {
37
37
  }
38
38
  }
39
39
 
40
- const server = new Server({
40
+ const mcpServer = new McpServer({
41
41
  name: 'neo-knowledge-base',
42
- version: '1.0.0',
42
+ version: process.env.npm_package_version || '1.0.0',
43
43
  }, {
44
44
  capabilities: {
45
45
  tools: {
@@ -49,7 +49,7 @@ const server = new Server({
49
49
  });
50
50
 
51
51
  // List all available tools from OpenAPI spec
52
- server.setRequestHandler(ListToolsRequestSchema, async (request) => {
52
+ mcpServer.server.setRequestHandler(ListToolsRequestSchema, async (request) => {
53
53
  try {
54
54
  const { cursor, limit } = request.params || {};
55
55
  const { tools, nextCursor } = listTools({ cursor, limit });
@@ -77,7 +77,7 @@ server.setRequestHandler(ListToolsRequestSchema, async (request) => {
77
77
  });
78
78
 
79
79
  // Handle tool execution
80
- server.setRequestHandler(CallToolRequestSchema, async (request) => {
80
+ mcpServer.server.setRequestHandler(CallToolRequestSchema, async (request) => {
81
81
  const { name, arguments: args } = request.params;
82
82
 
83
83
  try {
@@ -187,7 +187,7 @@ async function main() {
187
187
 
188
188
  // Start the stdio transport
189
189
  const transport = new StdioServerTransport();
190
- await server.connect(transport);
190
+ await mcpServer.connect(transport);
191
191
 
192
192
  logger.info('[neo-knowledge-base MCP] Server started on stdio transport');
193
193
  logger.info('[neo-knowledge-base MCP] Available tools loaded from OpenAPI spec');
@@ -19,6 +19,11 @@ const defaultConfig = {
19
19
  dummyEmbeddingFunction: {
20
20
  generate: () => null
21
21
  },
22
+ /**
23
+ * The name of the Google Generative AI model for content generation.
24
+ * @type {string}
25
+ */
26
+ modelName: 'gemini-2.5-flash',
22
27
  /**
23
28
  * The name of the Google Generative AI model for text embeddings.
24
29
  * @type {string}
@@ -47,7 +52,7 @@ const defaultConfig = {
47
52
  * The local persistence path for the agent memory server.
48
53
  * @type {string}
49
54
  */
50
- path: path.resolve(process.cwd(), 'chroma-memory'),
55
+ path: path.resolve(process.cwd(), 'chroma-neo-memory-core'),
51
56
  /**
52
57
  * The path to store memory backups.
53
58
  * @type {string}
@@ -1,4 +1,4 @@
1
- import {Server} from '@modelcontextprotocol/sdk/server/index.js';
1
+ import {McpServer} from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import {StdioServerTransport} from '@modelcontextprotocol/sdk/server/stdio.js';
3
3
  import {CallToolRequestSchema, ListToolsRequestSchema} from '@modelcontextprotocol/sdk/types.js';
4
4
  import {Command} from 'commander';
@@ -38,9 +38,9 @@ if (options.config) {
38
38
  }
39
39
  }
40
40
 
41
- const server = new Server({
41
+ const mcpServer = new McpServer({
42
42
  name: 'neo-memory-core',
43
- version: '1.0.0',
43
+ version: process.env.npm_package_version || '1.0.0',
44
44
  }, {
45
45
  capabilities: {
46
46
  tools: {
@@ -50,7 +50,7 @@ const server = new Server({
50
50
  });
51
51
 
52
52
  // List all available tools from OpenAPI spec
53
- server.setRequestHandler(ListToolsRequestSchema, async (request) => {
53
+ mcpServer.server.setRequestHandler(ListToolsRequestSchema, async (request) => {
54
54
  try {
55
55
  const { cursor, limit } = request.params || {};
56
56
  const { tools, nextCursor } = listTools({ cursor, limit });
@@ -78,7 +78,7 @@ server.setRequestHandler(ListToolsRequestSchema, async (request) => {
78
78
  });
79
79
 
80
80
  // Handle tool execution
81
- server.setRequestHandler(CallToolRequestSchema, async (request) => {
81
+ mcpServer.server.setRequestHandler(CallToolRequestSchema, async (request) => {
82
82
  const { name, arguments: args } = request.params;
83
83
 
84
84
  try {
@@ -209,7 +209,7 @@ async function main() {
209
209
 
210
210
  // Start the stdio transport
211
211
  const transport = new StdioServerTransport();
212
- await server.connect(transport);
212
+ await mcpServer.connect(transport);
213
213
 
214
214
  logger.info('[neo-memory-core MCP] Server started on stdio transport');
215
215
  logger.info('[neo-memory-core MCP] Available tools loaded from OpenAPI spec');
@@ -73,7 +73,7 @@ class SessionService extends Base {
73
73
  }
74
74
 
75
75
  const genAI = new GoogleGenerativeAI(GEMINI_API_KEY);
76
- this.model = genAI.getGenerativeModel({model: 'gemini-2.5-flash'});
76
+ this.model = genAI.getGenerativeModel({model: aiConfig.modelName});
77
77
  this.embeddingModel = genAI.getGenerativeModel({model: aiConfig.embeddingModel});
78
78
  }
79
79
 
@@ -96,7 +96,7 @@ class HeaderToolbar extends Toolbar {
96
96
  hideLabel : true,
97
97
  listeners : {change: 'onChangeOpenWidgetsAsPopups'},
98
98
  showValueLabel: true,
99
- valueLabelText: 'Popups'
99
+ valueLabel : 'Popups'
100
100
  }]
101
101
  }
102
102
  }
@@ -27,24 +27,24 @@ class Page4 extends FormPageContainer {
27
27
  * @member {Object[]} items
28
28
  */
29
29
  items: [{
30
- labelText : 'Fruits',
31
- value : 'apple',
32
- valueLabelText: 'Apple'
30
+ labelText : 'Fruits',
31
+ value : 'apple',
32
+ valueLabel: 'Apple'
33
33
  }, {
34
- value : 'banana',
35
- valueLabelText: 'Banana'
34
+ value : 'banana',
35
+ valueLabel: 'Banana'
36
36
  }, {
37
- checked : true,
38
- value : 'lemon',
39
- valueLabelText: 'Lemon'
37
+ checked : true,
38
+ value : 'lemon',
39
+ valueLabel: 'Lemon'
40
40
  }, {
41
- checked : true,
42
- value : 'orange',
43
- valueLabelText: 'Orange'
41
+ checked : true,
42
+ value : 'orange',
43
+ valueLabel: 'Orange'
44
44
  }, {
45
45
  showErrorTexts: true, // overwriting the itemDefaults value
46
46
  value : 'strawberry',
47
- valueLabelText: 'Strawberry'
47
+ valueLabel : 'Strawberry'
48
48
  }, {
49
49
  labelText : 'Boolean',
50
50
  groupRequired : false, // overwriting the itemDefaults value
@@ -29,22 +29,22 @@ class Page5 extends FormPageContainer {
29
29
  * @member {Object[]} items
30
30
  */
31
31
  items: [{
32
- labelText : 'Fruits',
33
- value : 'apple',
34
- valueLabelText: 'Apple'
32
+ labelText : 'Fruits',
33
+ value : 'apple',
34
+ valueLabel: 'Apple'
35
35
  }, {
36
- value : 'banana',
37
- valueLabelText: 'Banana'
36
+ value : 'banana',
37
+ valueLabel: 'Banana'
38
38
  }, {
39
- checked : true,
40
- value : 'lemon',
41
- valueLabelText: 'Lemon'
39
+ checked : true,
40
+ value : 'lemon',
41
+ valueLabel: 'Lemon'
42
42
  }, {
43
- value : 'orange',
44
- valueLabelText: 'Orange'
43
+ value : 'orange',
44
+ valueLabel: 'Orange'
45
45
  }, {
46
- value : 'strawberry',
47
- valueLabelText: 'Strawberry'
46
+ value : 'strawberry',
47
+ valueLabel: 'Strawberry'
48
48
  }]
49
49
  }
50
50
  }