create-feltkit 0.3.25 → 0.3.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-feltkit",
3
- "version": "0.3.25",
3
+ "version": "0.3.27",
4
4
  "description": "Create a FeltKit application: npm create feltkit@latest my-app (add -- --template managed for Managed FeltDB)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -37,6 +37,6 @@
37
37
  },
38
38
  "homepage": "https://www.npmjs.com/package/create-feltkit",
39
39
  "dependencies": {
40
- "@feltdb/feltkit": "0.3.25"
40
+ "@feltdb/feltkit": "0.3.27"
41
41
  }
42
42
  }
@@ -21,6 +21,11 @@ npm run dev
21
21
  State …/.feltkit/development/state
22
22
  ```
23
23
 
24
+ The port is 3000 unless something already uses it: another FeltKit app (or anything else) on 3000
25
+ moves this one to the next free port, and the line above shows the one it got. To choose it:
26
+ `npm run dev -- --port 3001`, or `FELTKIT_PORT=3001 npm run dev` (or `PORT`). A port you choose is
27
+ used exactly or the server does not start; `--port 0` takes any free port.
28
+
24
29
  - **App**: you are signed in as a development user. **Ada** (`member`, `admin`) can do
25
30
  everything; **Grace** (`viewer`) can only read. Switch between them from the app's header.
26
31
  - **Dashboard** (Studio): your data, functions, capabilities, services, agent, models and
@@ -292,7 +297,7 @@ container, none is required:
292
297
  | `FELTKIT_CREDENTIAL_<ID>` | Credential values, e.g. `FELTKIT_CREDENTIAL_ANTHROPIC` for `credential-ref:anthropic`. Keys you entered in Studio are development-only and are not deployed |
293
298
  | `FELTKIT_STATE_DIR` | Where local state lives (the container image uses `/data/state`, on the volume) |
294
299
  | `FELTKIT_OPERATOR_KEY` | Optional: signs operator sign-ins for production Studio |
295
- | `PORT` | The port to listen on (default 3000) |
300
+ | `FELTKIT_PORT`, `PORT` | The port to listen on, exactly (`--port` wins over both, `FELTKIT_PORT` over `PORT`). Unset: the first free port from 3000 |
296
301
 
297
302
  **Production Studio.** Studio isn't served in production unless `FELTKIT_DASHBOARD=1`. Then
298
303
  operators sign in with a one-time grant you create on the host
@@ -13,7 +13,7 @@
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "dependencies": {
16
- "@feltdb/feltkit": "0.3.25",
16
+ "@feltdb/feltkit": "0.3.27",
17
17
  "@feltdb/webllm": ">=0.21.0 <1.0.0",
18
18
  "@mlc-ai/web-llm": "^0.2.84",
19
19
  "react": "19.2.0",
@@ -49,7 +49,7 @@ init-managed` creates *your application* in it, using your FeltDB account.
49
49
  ```bash
50
50
  npm install
51
51
  npm test # local FeltDB per test: persistence, refusals, roles, configuration
52
- npm run dev # http://localhost:3000, state in .feltkit/development/state
52
+ npm run dev # http://localhost:3000 (or the next free port; it prints the one it got), state in .feltkit/development/state
53
53
  ```
54
54
 
55
55
  Development and tests always use local FeltDB, so you don't need an account for either.
@@ -20,7 +20,7 @@
20
20
  "deploy:fly": "node scripts/deploy-fly.mjs"
21
21
  },
22
22
  "dependencies": {
23
- "@feltdb/feltkit": "0.3.25"
23
+ "@feltdb/feltkit": "0.3.27"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@feltdb/core": ">=0.21.0 <1.0.0",