needle-cloud 2.5.0 → 2.6.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 CHANGED
@@ -4,6 +4,16 @@ 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
+ ## [2.6.0] - 2026-09-23
8
+ ### Added
9
+ - `upload` and `delete <identifier>` commands.
10
+ - Experimental `aiEvaluate()` browser API.
11
+
12
+ ### Changed
13
+ - Standardized CLI team selection on `--team`; deprecated `--org` remains supported as a hidden alias.
14
+ - Improved optimize polling and prevented duplicate optimization jobs.
15
+ - Improved browser uploads and checkout attribution without injecting a global `Buffer`.
16
+
7
17
  ## [2.4.6] - 2026-08-13
8
18
  ### Fixed
9
19
  - A failing command now prints a single readable error line instead of a large dump of internal code.
@@ -156,4 +166,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
156
166
  - add: open pages url
157
167
 
158
168
  ## [0.0.1-alpha.1] - 2024-07-06
159
- - initial release
169
+ - initial release
package/README.md CHANGED
@@ -28,8 +28,53 @@ npx needle-cloud help <command> # Help for a specific command
28
28
  **Core commands:**
29
29
  - `deploy` — Deploy a website to Needle Cloud
30
30
  - `optimize` — Optimize 3D files (glTF, GLB, VRM, FBX, USD) with Draco, KTX2, and Progressive Loading
31
+ - `list` — List content stored in Needle Cloud
32
+ - `download` — Download a content item
33
+ - `delete` — Move a content item to Trash
31
34
  - `login` / `logout` — Authenticate with Needle Cloud
32
- - `start` — Start the local license server (for editor integrations and CI/CD)
35
+ - `start` — Start the local server for licensing, editor integrations, and MCP tools
36
+ - `settings` — View CLI settings, including [local tool access for Needle Cloud AI](#local-tools-in-needle-cloud-ai)
37
+
38
+ Manage stored content by using the identifier shown by `list`:
39
+
40
+ ```bash
41
+ npx needle-cloud list
42
+ npx needle-cloud download <identifier>
43
+ npx needle-cloud delete <identifier>
44
+ ```
45
+
46
+ Use `--team <name-or-id>` with content commands to select a team. The legacy
47
+ `--org` option remains supported for existing scripts.
48
+
49
+ Deleting content immediately frees total storage capacity, but it does not refund
50
+ the current month's upload usage. Deleted content can be restored from Trash for
51
+ 31 days when the account has enough total storage available for it.
52
+
53
+ ## Local tools in Needle Cloud AI
54
+
55
+ [Needle Cloud AI](https://cloud.needle.tools/team#ai) can use local tools provided by this CLI to read project files, search your code, and inspect logs. You can enable or disable local tools in an individual chat. See the [Needle Cloud AI documentation](https://engine.needle.tools/docs/cloud/#needle-cloud-ai) for how this works with your Unity or Blender project.
56
+
57
+ To block Needle Cloud AI from calling tools on this machine across all chats, run:
58
+
59
+ ```bash
60
+ npx needle-cloud settings remote-ai-tools false
61
+ ```
62
+
63
+ To re-enable access (the default):
64
+
65
+ ```bash
66
+ npx needle-cloud settings remote-ai-tools true
67
+ ```
68
+
69
+ To check the current setting:
70
+
71
+ ```bash
72
+ npx needle-cloud settings
73
+ ```
74
+
75
+ The setting is saved in `~/.needle/settings.json` for your user account on this machine and persists across restarts. A running local server applies changes automatically; no restart is required. Disabling remote AI tools keeps the local MCP server and Unity/Blender connections available. Enabling local tools in a chat does not override this CLI setting.
76
+
77
+ See the [Needle MCP documentation](https://engine.needle.tools/docs/ai/needle-mcp-server) for available tools and how to connect other AI assistants.
33
78
 
34
79
  ## CI/CD
35
80