tesseract-agent 0.8.2 → 0.8.4
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/dist-bundle/cli.js +74 -0
- package/package.json +1 -1
package/dist-bundle/cli.js
CHANGED
|
@@ -3928,6 +3928,73 @@ 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
|
+
|
|
3991
|
+
// ../../packages/shared/dist/eula.js
|
|
3992
|
+
var init_eula = __esm({
|
|
3993
|
+
"../../packages/shared/dist/eula.js"() {
|
|
3994
|
+
"use strict";
|
|
3995
|
+
}
|
|
3996
|
+
});
|
|
3997
|
+
|
|
3931
3998
|
// ../../packages/shared/dist/plans.js
|
|
3932
3999
|
var NO_QUOTAS, NO_FEATURES, PLAN_CATALOG;
|
|
3933
4000
|
var init_plans = __esm({
|
|
@@ -5281,6 +5348,8 @@ var init_dist = __esm({
|
|
|
5281
5348
|
init_ws_protocol();
|
|
5282
5349
|
init_frame();
|
|
5283
5350
|
init_domain_id();
|
|
5351
|
+
init_telemetry();
|
|
5352
|
+
init_eula();
|
|
5284
5353
|
init_plans();
|
|
5285
5354
|
init_slug();
|
|
5286
5355
|
init_hosting();
|
|
@@ -5291,6 +5360,7 @@ var init_dist = __esm({
|
|
|
5291
5360
|
init_runner_configs();
|
|
5292
5361
|
init_rotation();
|
|
5293
5362
|
init_settings();
|
|
5363
|
+
init_settings();
|
|
5294
5364
|
init_manifest_validation();
|
|
5295
5365
|
init_capability_consent();
|
|
5296
5366
|
init_commands_registry();
|
|
@@ -58633,6 +58703,10 @@ function connect() {
|
|
|
58633
58703
|
hooks?.notify(env.payload);
|
|
58634
58704
|
return;
|
|
58635
58705
|
}
|
|
58706
|
+
if (channel === "policy") {
|
|
58707
|
+
hooks?.onPolicy?.(env.payload);
|
|
58708
|
+
return;
|
|
58709
|
+
}
|
|
58636
58710
|
if (channel === "p2p") {
|
|
58637
58711
|
const m = env.payload;
|
|
58638
58712
|
for (const cb of [...p2pSubscribers])
|