create-kdna-web-app 0.1.1 → 0.2.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.
package/README.md CHANGED
@@ -86,7 +86,7 @@ The Next.js templates provide the full React flow:
86
86
  1. User drops a `.kdna` file onto the `<KDNAFileDropzone>`.
87
87
  2. The file is uploaded and inspected — metadata appears immediately.
88
88
  3. `<KDNALoadPlanGate>` checks whether a password or license is needed.
89
- 4. If the asset is open, it loads automatically.
89
+ 4. If the asset is public, it loads automatically.
90
90
  5. If the asset requires a password, `<KDNAPasswordUnlockDialog>` appears.
91
91
  6. The loaded content is displayed.
92
92
 
@@ -120,7 +120,8 @@ To get a `.kdna` file for testing:
120
120
 
121
121
  ```bash
122
122
  npm install -g @aikdna/kdna-cli
123
- curl -LO https://github.com/aikdna/kdna-assets/releases/download/agent-project-context-v0.1.2/agent-project-context-v0.1.2.kdna
123
+ kdna demo judgment ./demo-judgment
124
+ kdna pack ./demo-judgment ./demo-judgment.kdna
124
125
  ```
125
126
 
126
127
  ---
@@ -43,18 +43,18 @@ Open [http://localhost:3000](http://localhost:3000).
43
43
 
44
44
  ## Try it with a real .kdna file
45
45
 
46
- Install the KDNA CLI and download an example asset:
46
+ Install the KDNA CLI and generate a current example asset:
47
47
 
48
48
  ```bash
49
49
  npm install -g @aikdna/kdna-cli
50
-
51
- curl -LO https://github.com/aikdna/kdna-assets/releases/download/agent-project-context-v0.1.2/agent-project-context-v0.1.2.kdna
50
+ kdna demo judgment ./demo-judgment
51
+ kdna pack ./demo-judgment ./demo-judgment.kdna
52
52
  ```
53
53
 
54
54
  Drop the file onto the page. You should see:
55
55
 
56
56
  1. The manifest metadata (domain, version, title).
57
- 2. A "Load" button or automatic loading for open assets.
57
+ 2. A "Load" button or automatic loading for public assets.
58
58
  3. The formatted payload content.
59
59
 
60
60
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kdna-web-app",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Scaffold a KDNA-integrated web application with Next.js App Router, Next.js Pages Router, or Express templates.",
5
5
  "type": "commonjs",
6
6
  "bin": {
@@ -17,8 +17,10 @@
17
17
  "SECURITY.md"
18
18
  ],
19
19
  "scripts": {
20
- "ci": "npm test && npm pack --dry-run --json",
21
- "test": "node --test tests/**/*.test.js"
20
+ "ci": "npm test && npm run lint && npm pack --dry-run --json",
21
+ "test": "node --test tests/scaffold.test.js",
22
+ "lint": "node scripts/lint.js",
23
+ "prepublishOnly": "npm run ci"
22
24
  },
23
25
  "engines": {
24
26
  "node": ">=18"
@@ -27,7 +29,7 @@
27
29
  "license": "Apache-2.0",
28
30
  "repository": {
29
31
  "type": "git",
30
- "url": "https://github.com/aikdna/create-kdna-web-app.git"
32
+ "url": "git+https://github.com/aikdna/create-kdna-web-app.git"
31
33
  },
32
34
  "bugs": {
33
35
  "url": "https://github.com/aikdna/create-kdna-web-app/issues"
@@ -8,8 +8,8 @@
8
8
  "test": "node scripts/smoke.mjs"
9
9
  },
10
10
  "dependencies": {
11
- "@aikdna/kdna-core": "^0.15.10",
12
- "@aikdna/kdna-web-server": "^0.1.0",
11
+ "@aikdna/kdna-core": "0.15.12",
12
+ "@aikdna/kdna-web-server": "0.2.0",
13
13
  "express": "^5.2.1"
14
14
  }
15
15
  }
@@ -9,11 +9,22 @@
9
9
  "test": "node scripts/smoke.mjs"
10
10
  },
11
11
  "dependencies": {
12
- "@aikdna/kdna-core": "^0.15.10",
13
- "@aikdna/kdna-react": "^0.1.0",
14
- "@aikdna/kdna-web-server": "^0.1.0",
12
+ "@aikdna/kdna-core": "0.15.12",
13
+ "@aikdna/kdna-react": "0.2.0",
14
+ "@aikdna/kdna-web-server": "0.2.0",
15
15
  "next": "^16.2.10",
16
16
  "react": "^19.2.7",
17
17
  "react-dom": "^19.2.7"
18
+ },
19
+ "overrides": {
20
+ "postcss": "^8.5.10"
21
+ },
22
+ "pnpm": {
23
+ "overrides": {
24
+ "postcss": "^8.5.10"
25
+ }
26
+ },
27
+ "resolutions": {
28
+ "postcss": "^8.5.10"
18
29
  }
19
30
  }
@@ -9,11 +9,22 @@
9
9
  "test": "node scripts/smoke.mjs"
10
10
  },
11
11
  "dependencies": {
12
- "@aikdna/kdna-core": "^0.15.10",
13
- "@aikdna/kdna-react": "^0.1.0",
14
- "@aikdna/kdna-web-server": "^0.1.0",
12
+ "@aikdna/kdna-core": "0.15.12",
13
+ "@aikdna/kdna-react": "0.2.0",
14
+ "@aikdna/kdna-web-server": "0.2.0",
15
15
  "next": "^16.2.10",
16
16
  "react": "^19.2.7",
17
17
  "react-dom": "^19.2.7"
18
+ },
19
+ "overrides": {
20
+ "postcss": "^8.5.10"
21
+ },
22
+ "pnpm": {
23
+ "overrides": {
24
+ "postcss": "^8.5.10"
25
+ }
26
+ },
27
+ "resolutions": {
28
+ "postcss": "^8.5.10"
18
29
  }
19
30
  }