needle-cloud 2.6.0 → 2.7.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 +4 -0
- package/README.md +6 -0
- package/dist/cli-6d1357ac.js +1 -0
- package/dist/cli.esm.js +1 -1
- package/dist/{cli.send-logs.discovery-0e806cf7.js → cli.send-logs.discovery-09ad5542.js} +1 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cli-65a6a5f1.js +0 -1
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
|
+
## [2.7.0] - 2026-09-29
|
|
8
|
+
### Added
|
|
9
|
+
- `files_check_project` AI tool for checking the connected local web project's TypeScript errors, with compact diagnostics, filtering, and cached error details.
|
|
10
|
+
|
|
7
11
|
## [2.6.0] - 2026-09-23
|
|
8
12
|
### Added
|
|
9
13
|
- `upload` and `delete <identifier>` commands.
|
package/README.md
CHANGED
|
@@ -54,6 +54,12 @@ the current month's upload usage. Deleted content can be restored from Trash for
|
|
|
54
54
|
|
|
55
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
56
|
|
|
57
|
+
The `files_check_project` tool checks the connected web project's TypeScript configuration using its locally installed TypeScript compiler. It returns structured errors with file names and line numbers, without emitting build files or applying fixes. It does not run package scripts or install dependencies. Checks stop after 10 seconds and retain up to 100 diagnostics; an unavailable or interrupted check is never reported as passing. This checks current TypeScript errors, not lint rules, Unity/Blender code, or whether an error existed before an AI edit. Referenced projects are not built.
|
|
58
|
+
|
|
59
|
+
By default, `files_check_project({})` runs a new check and returns five errors with short messages. Use `{ "mode": "results", "file": "Player.ts", "code": "TS2322" }` to filter the latest results without recompiling; both filters are optional. Pass the returned `nextOffset` as `offset` for another page. Use `{ "mode": "error", "index": 0 }` for more detail about an error, or omit `index` for the last matching error. Summary messages are capped at 300 characters and details at 2,000 characters, with truncation indicated. Cached results include their check time and remain available until another check replaces them, the selected project changes, or the CLI exits. Run a new check after editing files.
|
|
60
|
+
|
|
61
|
+
Use local tools only with trusted projects and dependencies: the installed TypeScript compiler runs on your machine. This is not an execution sandbox. The existing local-tool controls also govern `files_check_project`.
|
|
62
|
+
|
|
57
63
|
To block Needle Cloud AI from calling tools on this machine across all chats, run:
|
|
58
64
|
|
|
59
65
|
```bash
|