@caplets/pi 0.8.3 → 0.9.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/README.md CHANGED
@@ -91,3 +91,11 @@ export default createCapletsPiExtension({
91
91
 
92
92
  The explicit config shape is `{ mode, remote: { url, pollIntervalMs } }`. Credentials come from
93
93
  `caplets remote login <url>`, not settings files or source code.
94
+
95
+ ## Anonymous Telemetry
96
+
97
+ Caplets native integrations share the core anonymous telemetry controls. Native-first runs do not
98
+ send telemetry until the CLI has recorded a visible telemetry notice. Disable telemetry with
99
+ top-level `"telemetry": false` in the user Caplets config or `CAPLETS_DISABLE_TELEMETRY=1`.
100
+ Telemetry never includes prompts, tool arguments, tool outputs, paths, URLs, hostnames, Caplet IDs,
101
+ credentials, tokens, raw env, Code Mode code, logs, raw error messages, or unsanitized stack traces.
package/dist/index.js CHANGED
@@ -3081,7 +3081,10 @@ async function registerCapletsPiExtension(pi, options) {
3081
3081
  const explicitNativeOptions = options.native ?? options.args;
3082
3082
  const settingsArgs = ownsService && !explicitNativeOptions && options.loadSettings ? await loadPiSettingsArgs(options) : void 0;
3083
3083
  const serviceOptions = explicitNativeOptions ?? settingsArgs ?? {};
3084
- const service = options.service ?? createNativeCapletsService(nativeServiceOptions(serviceOptions));
3084
+ const service = options.service ?? createNativeCapletsService({
3085
+ ...nativeServiceOptions(serviceOptions),
3086
+ telemetryIntegration: "pi"
3087
+ });
3085
3088
  const showStatusWidget = shouldShowStatusWidget(serviceOptions, options.statusWidget ?? settingsArgs?.statusWidget);
3086
3089
  const useNerdFontIcons = settingsArgs?.nerdFontIcons !== false;
3087
3090
  if (ownsService) registerNativeCapletsProcessCleanup(service);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caplets/pi",
3
- "version": "0.8.3",
3
+ "version": "0.9.0",
4
4
  "description": "Native Pi extension for Caplets.",
5
5
  "homepage": "https://github.com/spiritledsoftware/caplets#readme",
6
6
  "bugs": {
@@ -26,7 +26,7 @@
26
26
  "access": "public"
27
27
  },
28
28
  "dependencies": {
29
- "@caplets/core": "0.26.1"
29
+ "@caplets/core": "0.28.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@jitl/quickjs-wasmfile-release-sync": "^0.32.0",