tesseract-agent 0.8.2 → 0.8.3

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.
Files changed (2) hide show
  1. package/dist-bundle/cli.js +61 -0
  2. package/package.json +1 -1
@@ -3928,6 +3928,66 @@ var init_domain_id = __esm({
3928
3928
  }
3929
3929
  });
3930
3930
 
3931
+ // ../../packages/shared/dist/telemetry.js
3932
+ var TELEMETRY_EVENTS, EVENT_CATEGORY;
3933
+ var init_telemetry = __esm({
3934
+ "../../packages/shared/dist/telemetry.js"() {
3935
+ "use strict";
3936
+ TELEMETRY_EVENTS = {
3937
+ app: [
3938
+ "app.launched",
3939
+ "app.foregrounded",
3940
+ "app.backgrounded",
3941
+ "app.quit",
3942
+ "app.updated",
3943
+ "app.crashed"
3944
+ ],
3945
+ onboarding: [
3946
+ "intro.shown",
3947
+ "auth.signed_in",
3948
+ "auth.signed_out",
3949
+ "onboarding.step",
3950
+ "onboarding.completed",
3951
+ "permission.prompted",
3952
+ "permission.granted",
3953
+ "eula.accepted"
3954
+ ],
3955
+ engagement: [
3956
+ "session.started",
3957
+ "session.ended",
3958
+ "turn.sent",
3959
+ "turn.completed",
3960
+ "turn.interrupted",
3961
+ "session.forked",
3962
+ "session.resumed"
3963
+ ],
3964
+ feature: [
3965
+ "tool.used",
3966
+ "mission.started",
3967
+ "mission.completed",
3968
+ "voice.session_started",
3969
+ "voice.session_ended",
3970
+ "browser.tab_opened",
3971
+ "skill.invoked",
3972
+ "plugin.invoked",
3973
+ "connector.used"
3974
+ ],
3975
+ plan: [
3976
+ "plan.viewed",
3977
+ "plan.upgrade_started",
3978
+ "plan.changed",
3979
+ "entitlement.gate_hit"
3980
+ ],
3981
+ reliability: [
3982
+ "error.surfaced",
3983
+ "daemon.disconnected",
3984
+ "daemon.reconnected"
3985
+ ]
3986
+ };
3987
+ EVENT_CATEGORY = Object.fromEntries(Object.entries(TELEMETRY_EVENTS).flatMap(([cat, names]) => names.map((n) => [n, cat])));
3988
+ }
3989
+ });
3990
+
3931
3991
  // ../../packages/shared/dist/plans.js
3932
3992
  var NO_QUOTAS, NO_FEATURES, PLAN_CATALOG;
3933
3993
  var init_plans = __esm({
@@ -5281,6 +5341,7 @@ var init_dist = __esm({
5281
5341
  init_ws_protocol();
5282
5342
  init_frame();
5283
5343
  init_domain_id();
5344
+ init_telemetry();
5284
5345
  init_plans();
5285
5346
  init_slug();
5286
5347
  init_hosting();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tesseract-agent",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "license": "UNLICENSED",
5
5
  "publishConfig": {
6
6
  "access": "public",