localdeck 1.1.0 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.1 — Automatic port variables and visible runtime ports
4
+
5
+ ### Fixed
6
+
7
+ - Supply LocalDeck’s assigned port through custom variables used by `--port`, such as `API_PORT` and `APP_PORT`, so scripts can avoid occupied fallback ports without project edits.
8
+ - Follow individual npm, pnpm, Yarn, and Bun package scripts, including npm workspace selectors and package directory options, for dashboard and terminal launches. Preserve explicit service environment settings and secrets.
9
+
10
+ ### Added
11
+
12
+ - Show “Running on port X” with the actual app port and a separately labeled proxy port in the dashboard.
13
+ - Distinguish assigned, configured, listening, stopping, and last-used ports so startup and stopped services are not reported as running.
14
+
15
+ ## 1.2.0 — Command palette
16
+
17
+ ### Added
18
+
19
+ - Open the command palette with Cmd+K / Ctrl+K or Search commands in the sidebar.
20
+ - Search projects and services to open apps, logs, and requests, or start, stop, and restart services.
21
+ - Keyboard navigation, focus restoration, service availability checks, and retry for incomplete project loading.
22
+
3
23
  ## 1.1.0 — Project secrets, full responses, and simpler controls
4
24
 
5
25
  ### Added
package/README.md CHANGED
@@ -41,6 +41,7 @@ The dashboard is served at `http://localhost:7777` by default. It remembers proj
41
41
  - **Clean URLs:** optional addresses such as `http://platform.web.localhost`, with a project nickname and port-80 forwarding enabled.
42
42
  - **Project secrets:** store values outside your project and pass them to services as environment variables. Manage them from the Secrets button in the project dashboard.
43
43
  - **Combined logs:** select multiple services, switch between their tabs, filter output, and choose a display limit from 100 to 5,000 lines.
44
+ - **Command palette:** press ⌘K / Ctrl+K or choose Search commands to find projects, open apps and logs, and start, stop, or restart services.
44
45
  - **HTTPS sharing:** create temporary Cloudflare links with optional password protection, pending status, and shared-request logs.
45
46
  - **Coding-agent access:** an MCP server for service inspection, controls, diagnostics data, and recorded GET/HEAD replay.
46
47
 
@@ -72,6 +73,8 @@ localdeck init --name web --command 'python3 -m http.server {port}'
72
73
 
73
74
  LocalDeck supplies `PORT` and expands `{port}` to the application's upstream port. It can also detect listening ports on macOS, Linux, and Windows. Configure `upstream` explicitly when detection is unavailable. The optional `port` field is the stable proxy port, not the port your development server should bind.
74
75
 
76
+ For scripts such as `wrangler dev --port ${API_PORT:-8787}`, LocalDeck also supplies the assigned port through `API_PORT`, without editing your project. It follows individual npm, pnpm, Yarn and Bun scripts, including npm workspace selectors and package directory options. Explicit service `env` settings and secrets take precedence over inferred variables. Complex shell commands and hardcoded ports continue to use normal socket detection.
77
+
75
78
  See configuration (included as `docs/configuration.md`) for working directories, profiles, environment references, database services, and advanced readiness checks.
76
79
 
77
80
  ## Inspect requests