@love-moon/app-sdk 0.3.2

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.
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "conductor-app-sdk-example",
3
+ "version": "0.0.0",
4
+ "private": true,
5
+ "description": "End-to-end demo of @love-moon/app-sdk: Next.js BFF + React page chatting with a user's Conductor daemon.",
6
+ "type": "module",
7
+ "scripts": {
8
+ "dev": "next dev -p 3001",
9
+ "build": "next build",
10
+ "start": "next start -p 3001",
11
+ "typecheck": "tsc --noEmit"
12
+ },
13
+ "dependencies": {
14
+ "@love-moon/app-sdk": "file:../..",
15
+ "next": "^15.0.0",
16
+ "react": "^19.0.0",
17
+ "react-dom": "^19.0.0"
18
+ },
19
+ "devDependencies": {
20
+ "@types/node": "^22.10.2",
21
+ "@types/react": "^19.0.0",
22
+ "@types/react-dom": "^19.0.0",
23
+ "typescript": "^5.6.3"
24
+ }
25
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "lib": [
5
+ "dom",
6
+ "dom.iterable",
7
+ "esnext"
8
+ ],
9
+ "module": "esnext",
10
+ "moduleResolution": "bundler",
11
+ "jsx": "preserve",
12
+ "strict": true,
13
+ "noEmit": true,
14
+ "esModuleInterop": true,
15
+ "isolatedModules": true,
16
+ "skipLibCheck": true,
17
+ "resolveJsonModule": true,
18
+ "incremental": true,
19
+ "plugins": [
20
+ {
21
+ "name": "next"
22
+ }
23
+ ],
24
+ "paths": {
25
+ "@/*": [
26
+ "./*"
27
+ ]
28
+ },
29
+ "allowJs": true
30
+ },
31
+ "include": [
32
+ "next-env.d.ts",
33
+ "**/*.ts",
34
+ "**/*.tsx",
35
+ ".next/types/**/*.ts"
36
+ ],
37
+ "exclude": [
38
+ "node_modules"
39
+ ]
40
+ }
package/package.json ADDED
@@ -0,0 +1,79 @@
1
+ {
2
+ "name": "@love-moon/app-sdk",
3
+ "version": "0.3.2",
4
+ "description": "Conductor App SDK: third-party backend SDK + React chat widget for embedding Conductor AI tools",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/lovemoon-ai/conductor.git",
8
+ "directory": "modules/app-sdk"
9
+ },
10
+ "type": "module",
11
+ "files": [
12
+ "dist",
13
+ "examples",
14
+ "CHANGELOG.md",
15
+ "README.md"
16
+ ],
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "import": "./dist/index.js",
21
+ "default": "./dist/index.js"
22
+ },
23
+ "./server": {
24
+ "types": "./dist/server/index.d.ts",
25
+ "node": "./dist/server/index.js",
26
+ "default": "./dist/server/index.js"
27
+ },
28
+ "./react": {
29
+ "react-server": null,
30
+ "types": "./dist/react/index.d.ts",
31
+ "browser": "./dist/react/index.js",
32
+ "import": "./dist/react/index.js",
33
+ "default": "./dist/react/index.js"
34
+ },
35
+ "./react/styles.css": "./dist/react/styles.css",
36
+ "./package.json": "./package.json"
37
+ },
38
+ "sideEffects": [
39
+ "./dist/react/styles.css"
40
+ ],
41
+ "publishConfig": {
42
+ "access": "public",
43
+ "provenance": true
44
+ },
45
+ "scripts": {
46
+ "build": "tsup && node scripts/build-styles.mjs",
47
+ "build:watch": "tsup --watch",
48
+ "test": "vitest run",
49
+ "test:watch": "vitest",
50
+ "test:bundle": "node scripts/bundle-smoke.mjs",
51
+ "typecheck": "tsc -p tsconfig.json --noEmit",
52
+ "prepublishOnly": "npm run build"
53
+ },
54
+ "dependencies": {
55
+ "ws": "^8.18.0",
56
+ "zod": "^3.24.1"
57
+ },
58
+ "peerDependencies": {
59
+ "react": ">=18.0.0",
60
+ "react-dom": ">=18.0.0"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "react": { "optional": true },
64
+ "react-dom": { "optional": true }
65
+ },
66
+ "devDependencies": {
67
+ "@types/node": "^22.10.2",
68
+ "@types/react": "^19.0.0",
69
+ "@types/react-dom": "^19.0.0",
70
+ "@types/ws": "^8.5.12",
71
+ "@vitejs/plugin-react": "^4.3.4",
72
+ "jsdom": "^25.0.1",
73
+ "react": "^19.0.0",
74
+ "react-dom": "^19.0.0",
75
+ "tsup": "^8.3.5",
76
+ "typescript": "^5.6.3",
77
+ "vitest": "^2.1.4"
78
+ }
79
+ }