localdeck 1.0.3 → 1.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/CHANGELOG.md +36 -0
- package/README.md +12 -0
- package/dashboard/assets/index-B2HB87hg.js +20 -0
- package/dashboard/assets/index-Tp7Rr3xY.css +1 -0
- package/dashboard/index.html +2 -2
- package/dist/{index-3qpxpxwq.js → index-zmpw8b4a.js} +486 -88
- package/dist/index.js +28 -10
- package/dist/{mcp-tgg2n05x.js → mcp-dwx4ja4k.js} +6 -2
- package/dist/{update-2f1pgdst.js → update-sfxqqdjp.js} +1 -1
- package/docs/configuration.md +6 -1
- package/docs/dashboard.md +12 -2
- package/package.json +1 -1
- package/dashboard/assets/index-qPKQBj-D.js +0 -20
- package/dashboard/assets/index-sKTai3O1.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.0 — Command palette
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Open the command palette with Cmd+K / Ctrl+K or Search commands in the sidebar.
|
|
8
|
+
- Search projects and services to open apps, logs, and requests, or start, stop, and restart services.
|
|
9
|
+
- Keyboard navigation, focus restoration, service availability checks, and retry for incomplete project loading.
|
|
10
|
+
|
|
11
|
+
## 1.1.0 — Project secrets, full responses, and simpler controls
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Per-project secrets stored locally outside .localdeck and injected into service environments.
|
|
16
|
+
- A dedicated Secrets page with Add, Replace, and Remove controls.
|
|
17
|
+
- Missing-secret checks and secret redaction in service output, diagnostics, and MCP responses.
|
|
18
|
+
- A separate Response section with full captured bodies loaded on demand from a 64 MiB cache.
|
|
19
|
+
- Per-service buttons to clear requests and logs, with clearing preserved across refreshes and daemon restarts.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Service rows now show Start/Stop and an Options menu for logs, requests, and sharing.
|
|
24
|
+
- Project pages include a Secrets button beside Settings.
|
|
25
|
+
- Updated nickname and secret-name placeholders.
|
|
26
|
+
- Hide successful Svelte, Vue, Astro, MDX, and Stylus development files by default.
|
|
27
|
+
- Combine small response chunks to reduce capture memory overhead.
|
|
28
|
+
- Show when a full response has expired or a transfer is incomplete.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- Prevent cleared records from returning through delayed history loads or reconnects.
|
|
33
|
+
- Clarify that direct Wrangler requests and Worker service bindings bypass LocalDeck capture.
|
|
34
|
+
|
|
35
|
+
### Removed
|
|
36
|
+
|
|
37
|
+
- Separate log, request, and share buttons from service rows.
|
|
38
|
+
|
|
3
39
|
## 1.0.3 — Cleaner requests and CLI updates
|
|
4
40
|
|
|
5
41
|
### Request filtering
|
package/README.md
CHANGED
|
@@ -39,7 +39,9 @@ The dashboard is served at `http://localhost:7777` by default. It remembers proj
|
|
|
39
39
|
- **Stable addresses:** keep a consistent local port even when the development server chooses another upstream port.
|
|
40
40
|
- **Project controls:** start one service or a whole project, with dependencies started in order and checked for readiness.
|
|
41
41
|
- **Clean URLs:** optional addresses such as `http://platform.web.localhost`, with a project nickname and port-80 forwarding enabled.
|
|
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.
|
|
42
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.
|
|
43
45
|
- **HTTPS sharing:** create temporary Cloudflare links with optional password protection, pending status, and shared-request logs.
|
|
44
46
|
- **Coding-agent access:** an MCP server for service inspection, controls, diagnostics data, and recorded GET/HEAD replay.
|
|
45
47
|
|
|
@@ -61,6 +63,8 @@ For example, a project with `dev:api` and `dev:web` scripts can use:
|
|
|
61
63
|
|
|
62
64
|
Use script names that exist in your project. Here, `after` is an optional customization: it starts the API first and waits for its default TCP readiness check before starting web. Add an HTTP `ready` check only if your app exposes that endpoint.
|
|
63
65
|
|
|
66
|
+
Commands can require locally saved secrets with `"secrets": ["SECRET_KEY"]`. Only names go in `.localdeck`; set values from **Project → Secrets**. Values are stored in a plaintext file outside the project, not encrypted. Changes apply on the next service start. See configuration (included as `docs/configuration.md`) for details.
|
|
67
|
+
|
|
64
68
|
For a non-JavaScript service:
|
|
65
69
|
|
|
66
70
|
```sh
|
|
@@ -71,6 +75,14 @@ LocalDeck supplies `PORT` and expands `{port}` to the application's upstream por
|
|
|
71
75
|
|
|
72
76
|
See configuration (included as `docs/configuration.md`) for working directories, profiles, environment references, database services, and advanced readiness checks.
|
|
73
77
|
|
|
78
|
+
## Inspect requests
|
|
79
|
+
|
|
80
|
+
Open **Options → View requests** for a service. Expand a row to inspect headers, cookies, the request body, and the response. Successful assets and development modules are hidden by default. Each service tab has its own clear control for requests and logs.
|
|
81
|
+
|
|
82
|
+
Capture works only through LocalDeck's service URLs. A frontend calling Wrangler directly at `http://localhost:8787`, or through a Worker service binding, bypasses the proxy. Set your app's API base URL to the API service's LocalDeck URL to capture that traffic.
|
|
83
|
+
|
|
84
|
+
Responses load on demand from a 64 MiB shared cache. Older bodies are evicted as it fills, and the cache resets with the daemon. Saved history retains 16 KiB previews; the inspector identifies expired bodies and incomplete transfers.
|
|
85
|
+
|
|
74
86
|
## Everyday commands
|
|
75
87
|
|
|
76
88
|
| Command | Purpose |
|