canopy-engine 0.1.8 → 0.1.9
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/LICENSE +4 -3
- package/PRIVACY.md +6 -6
- package/README.md +242 -241
- package/dist/canopy.js +66 -65
- package/dist/chunk-4RMLGRCG.js +12 -0
- package/dist/{chunk-ZE3NJMCS.js → chunk-HDMHITMG.js} +1 -1
- package/dist/chunk-K7XFTTX2.js +5 -0
- package/dist/chunk-T3YCNXUR.js +28 -0
- package/dist/{chunk-4XUKEJ3C.js → chunk-U6RT2XM5.js} +1 -1
- package/dist/chunk-YC3GSAN3.js +5 -0
- package/package.json +6 -4
- package/ui-react/dist/bundle.js +45 -45
- package/dist/chunk-AGOP4Q7U.js +0 -12
- package/dist/chunk-B5D2E2HN.js +0 -5
- package/dist/chunk-DT3LR6DW.js +0 -25
- package/dist/chunk-F535OXGZ.js +0 -5
package/LICENSE
CHANGED
|
@@ -19,9 +19,10 @@ terms:
|
|
|
19
19
|
the update check (shown in the viewer, or run `canopy update`;
|
|
20
20
|
turn it off with CANOPY_NO_UPDATE_CHECK=1) and optional, opt-in
|
|
21
21
|
anonymous usage statistics described in PRIVACY.md. If you use
|
|
22
|
-
the Ask AI panel, Canopy starts
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
the Ask AI panel, Canopy starts the AI tool you choose (such
|
|
23
|
+
as Claude Code, Antigravity CLI or Codex) on your computer, and
|
|
24
|
+
parts of your code that Canopy's tools return may be processed
|
|
25
|
+
by that tool's provider under your own account and terms.
|
|
25
26
|
Canopy never sees your credentials.
|
|
26
27
|
5. No warranty. Canopy is provided "as is", without warranty of
|
|
27
28
|
any kind. The author is not liable for any damages arising from
|
package/PRIVACY.md
CHANGED
|
@@ -6,12 +6,12 @@ Short version: Canopy runs on your computer. Your code is never sent anywhere by
|
|
|
6
6
|
|
|
7
7
|
- It reads your project's JavaScript / TypeScript files on your computer and builds a map. The map, the search index, the history and your choices are stored in a `.canopy/` folder inside your project (kept out of git automatically). Nothing in it is uploaded.
|
|
8
8
|
- It serves the viewer on `127.0.0.1` (your own computer only), protected by a random per-session key.
|
|
9
|
-
- **Ask AI** starts the Claude Code
|
|
9
|
+
- **Ask AI** starts the AI tool you choose (Claude Code, Antigravity CLI or Codex) on your own computer, with your own login and plan. Parts of your code that Canopy's tools return may be processed by that tool's provider, under your own account and that provider's terms. Canopy never sees or stores your credentials and never reads a tool's login or session files. The token numbers shown under an answer are the tool's own and stay on your computer: they are not stored outside your project, not sent anywhere, and not part of the usage counts. The questions and answers are not kept by Canopy; only the id of the AI tool's conversation is remembered in `.canopy/ai-session.json` so follow-up questions work, and your choices (the path of the tool you allowed, the model, the provider) are saved in `.canopy/prefs.json`.
|
|
10
10
|
- **Send feedback** and the hint at the end of `canopy sync` are `mailto:` links. They open your own mail program with the subject filled in and an empty message. Canopy sends nothing itself.
|
|
11
11
|
|
|
12
12
|
## The update check
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Canopy fetches the public package metadata of `canopy-engine` from registry.npmjs.org (at most once a day, in the background) to tell you if a newer version exists, and `canopy update` uses npm. The viewer asks the same address once when it loads. The requests carry no cookies, no identifiers and no information about you or your project. Disable it with `CANOPY_NO_UPDATE_CHECK=1`.
|
|
15
15
|
|
|
16
16
|
## Optional anonymous usage counts
|
|
17
17
|
|
|
@@ -36,7 +36,7 @@ Events and their only extra fields (each a fixed word or a whole number):
|
|
|
36
36
|
| `viewer_opened` | none |
|
|
37
37
|
| `search_used` | a count |
|
|
38
38
|
| `workflow_opened` | a count |
|
|
39
|
-
| `ask_ai_used` | a count, result (`ok`, `error`, `cancelled`), where
|
|
39
|
+
| `ask_ai_used` | a count, result (`ok`, `error`, `cancelled`), where the AI tool was found (`vscode`, `path`, `env`), answer-time bucket (`<10s`, `10-30s`, `30-90s`, `90s+`) |
|
|
40
40
|
| `feedback_link_clicked` | a count |
|
|
41
41
|
| `update_toast_shown` | a count |
|
|
42
42
|
| `error` | an error code from a fixed list (never a message) |
|
|
@@ -57,11 +57,11 @@ To a PostHog project in the EU region (`eu.i.posthog.com`) run by the maker of C
|
|
|
57
57
|
|
|
58
58
|
### How long it is kept
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
Usage statistics are kept while Canopy is in beta. To have your install's statistics deleted, email canopy.spillitlabs@gmail.com and include your install ID (shown by `canopy telemetry status`).
|
|
61
61
|
|
|
62
62
|
### Your rights
|
|
63
63
|
|
|
64
|
-
Because the counts are anonymous and carry only a random id, they cannot be tied to you. If you want the data for your install id removed, run `canopy telemetry status
|
|
64
|
+
Because the counts are anonymous and carry only a random id, they cannot be tied to you. If you want the data for your install id removed, run `canopy telemetry status` (it prints your install ID) and email that ID to the contact below. After `canopy telemetry off` the id is deleted from your computer and no new data is sent.
|
|
65
65
|
|
|
66
66
|
## Contact
|
|
67
67
|
|
|
@@ -69,4 +69,4 @@ canopy.spillitlabs@gmail.com
|
|
|
69
69
|
|
|
70
70
|
---
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
This document describes how Canopy behaves.
|