needle-cloud 2.10.0 → 2.11.0-next.1792071845.short-daisy.68699bc

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
@@ -4,6 +4,10 @@ All notable changes to this package will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [Unreleased]
8
+ ### Added
9
+ - `stop` (alias `quit`) requests an authenticated shutdown of the local license/MCP server and exits. Existing servers without the new endpoint report that manual shutdown is required.
10
+
7
11
  ## [2.10.0] - 2026-10-14
8
12
  ### Added
9
13
  - `label list` and `label set` to inspect labels, promote a completed version, create custom labels, or roll back, with JSON output and token/team support.
package/README.md CHANGED
@@ -35,6 +35,25 @@ npx needle-cloud help <command> # Help for a specific command
35
35
  - `start` — Start the local server for licensing, editor integrations, and MCP tools
36
36
  - `settings` — View CLI settings, including [local tool access for Needle Cloud AI](#local-tools-in-needle-cloud-ai)
37
37
 
38
+ ## Stop the local license server
39
+
40
+ Close Unity or other integrations that may automatically start the server, then run:
41
+
42
+ ```bash
43
+ npx needle-cloud stop
44
+ ```
45
+
46
+ `quit` is an alias. The command authenticates with the local server token, requests
47
+ shutdown, and exits. It does not sign you out, remove settings, or kill unrelated
48
+ Node.js processes. The shared licensing/MCP server disconnects from Cloud and
49
+ closes its HTTP and WebSocket connections, allowing up to three seconds to drain.
50
+
51
+ If the server is not running, the command exits successfully. Older running
52
+ versions without the stop endpoint must be closed manually once; this command
53
+ cannot add shutdown support to an already-running old server. After that, start
54
+ the updated CLI or reopen your project. `needle-cloud status` shows the running
55
+ server's port and PID.
56
+
38
57
  ## Upload assets
39
58
 
40
59
  ```bash