pstdio 0.25.2 → 0.26.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 (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +15 -9
package/README.md CHANGED
@@ -31,4 +31,4 @@ We recommend adding `.pstdio/tickets` and `.pstdio/config.json` to `.gitignore`
31
31
 
32
32
  Learn more about the CLI using `pst --help`.
33
33
 
34
- Run `pst serve --host 0.0.0.0` to expose the API and dashboard to other devices on a trusted LAN. The serve command has no authentication, so do not bind it to untrusted networks.
34
+ `pst serve` uses an authenticated loopback runtime. Open the dashboard through the exact `127.0.0.1` URL printed by the command. Other hosts and LAN origins are rejected.
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "pstdio",
3
- "version": "0.25.2",
3
+ "version": "0.26.1",
4
4
  "type": "module",
5
5
  "exports": {
6
- ".": "./src/index.ts"
6
+ ".": "./src/index.ts",
7
+ "./runtime": "./src/features/runtime/index.ts"
7
8
  },
8
9
  "bin": {
9
10
  "pstdio": "./bin/pstdio.cjs",
@@ -16,9 +17,14 @@
16
17
  "type": "git",
17
18
  "url": "https://github.com/pufflyai/prompt-studio"
18
19
  },
20
+ "nx": {
21
+ "implicitDependencies": [
22
+ "@pstdio/ui"
23
+ ]
24
+ },
19
25
  "scripts": {
20
26
  "pstdio": "bun ./src/index.ts",
21
- "dev": "PSTDIO_DISABLE_EMBED_MANIFEST=1 bun ./src/index.ts -- serve & VITE_API_BASE_URL= bun run --cwd ../pstdio-dashboard dev & wait",
27
+ "dev": "PSTDIO_DISABLE_EMBED_MANIFEST=1 bun ./src/index.ts -- serve --foreground --owner persistent --host 127.0.0.1 --port 19840 & PSTDIO_API_URL=http://127.0.0.1:19840 bun run --cwd ../pstdio-dashboard dev & wait",
22
28
  "build": "bun run --cwd ../../scripts build:host",
23
29
  "prepack": "bun run --cwd ../../scripts release:readme -- --package pstdio",
24
30
  "postpack": "bun run --cwd ../../scripts release:readme -- --package pstdio --cleanup",
@@ -38,12 +44,12 @@
38
44
  "yargs": "^18.0.0"
39
45
  },
40
46
  "optionalDependencies": {
41
- "@pstdio/cli-darwin-arm64": "0.25.2",
42
- "@pstdio/cli-darwin-x64": "0.25.2",
43
- "@pstdio/cli-linux-x64": "0.25.2",
44
- "@pstdio/cli-linux-arm64": "0.25.2",
45
- "@pstdio/cli-win-x64": "0.25.2",
46
- "@pstdio/cli-win-arm64": "0.25.2"
47
+ "@pstdio/cli-darwin-arm64": "0.26.1",
48
+ "@pstdio/cli-darwin-x64": "0.26.1",
49
+ "@pstdio/cli-linux-x64": "0.26.1",
50
+ "@pstdio/cli-linux-arm64": "0.26.1",
51
+ "@pstdio/cli-win-x64": "0.26.1",
52
+ "@pstdio/cli-win-arm64": "0.26.1"
47
53
  },
48
54
  "devDependencies": {
49
55
  "@types/bun": "latest",