npcts 0.1.8 → 0.1.9

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.
@@ -277,7 +277,7 @@ export async function createSpatialServer(options = {}) {
277
277
  const express = await import('express');
278
278
  const cors = options.cors ? await import('cors') : null;
279
279
  const app = express.default();
280
- const { createFileConfigStore } = await import('./configStore');
280
+ const { createFileConfigStore } = await import('./configStore.js');
281
281
  const configStore = options.configStore || createFileConfigStore();
282
282
  const imagesDir = options.imagesDir || configStore.getImagesPath();
283
283
  const port = options.port || 3001;
@@ -3,7 +3,7 @@ import { ChatProvider } from "../context/ChatContext.js";
3
3
  import { ConversationList } from "./ConversationList.js";
4
4
  import { ChatView } from "./ChatView.js";
5
5
  import { InputArea } from "./InputArea.js";
6
- import { useChatContext } from "../context/ChatContext.js";
6
+ import { useChatContext } from "../context/ChatContext";
7
7
  export const ChatInterface = ({ services, workspacePath, models }) => {
8
8
  return (React.createElement(ChatProvider, { services: services, workspacePath: workspacePath, models: models },
9
9
  React.createElement("div", { className: "flex h-full min-h-0 theme-bg-primary theme-text-primary border theme-border rounded-lg overflow-hidden" },
@@ -1,7 +1,7 @@
1
1
  import React, { useState, useEffect, useCallback, useRef, useMemo, memo, lazy, Suspense } from 'react';
2
2
  import ForceGraph2D from 'react-force-graph-2d';
3
3
  // Lazy load CoordinateMapView to avoid loading leaflet for non-coordinate maps
4
- const CoordinateMapView = lazy(() => import('./CoordinateMapView').then(m => ({ default: m.CoordinateMapView })));
4
+ const CoordinateMapView = lazy(() => import('./CoordinateMapView.js').then(m => ({ default: m.CoordinateMapView })));
5
5
  const NODE_COLORS = ['#3b82f6', '#10b981', '#f59e0b', '#ef4444', '#8b5cf6', '#06b6d4', '#ec4899', '#84cc16'];
6
6
  const MAP_TYPE_INFO = {
7
7
  freeform: { label: 'Free Association', description: 'Free-form mind map with no structure' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npcts",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "NPC TypeScript SDK - A comprehensive UI component library for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",