@alook/daemon 0.1.38 → 0.1.39
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/cli/index.js +37 -1
- package/dist/index.js +37 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -23643,8 +23643,39 @@ var userBilling = sqliteTable("user_billing", {
|
|
|
23643
23643
|
uniqueIndex("uq_user_billing_subscription").on(t.subscriptionId)
|
|
23644
23644
|
]);
|
|
23645
23645
|
|
|
23646
|
+
// ../shared/src/db/community-funnel-analytics-schema.ts
|
|
23647
|
+
var exports_community_funnel_analytics_schema = {};
|
|
23648
|
+
__export(exports_community_funnel_analytics_schema, {
|
|
23649
|
+
communityFunnelAnalyticsEvent: () => communityFunnelAnalyticsEvent,
|
|
23650
|
+
COMMUNITY_FUNNEL_EVENT_NAMES: () => COMMUNITY_FUNNEL_EVENT_NAMES,
|
|
23651
|
+
COMMUNITY_FUNNEL_CONVERSATION_TYPES: () => COMMUNITY_FUNNEL_CONVERSATION_TYPES
|
|
23652
|
+
});
|
|
23653
|
+
var COMMUNITY_FUNNEL_EVENT_NAMES = [
|
|
23654
|
+
"runtime_connected",
|
|
23655
|
+
"first_agent_reply_persisted",
|
|
23656
|
+
"invited_human_joined"
|
|
23657
|
+
];
|
|
23658
|
+
var COMMUNITY_FUNNEL_CONVERSATION_TYPES = [
|
|
23659
|
+
"dm",
|
|
23660
|
+
"channel",
|
|
23661
|
+
"thread"
|
|
23662
|
+
];
|
|
23663
|
+
var communityFunnelAnalyticsEvent = sqliteTable("community_funnel_analytics_event", {
|
|
23664
|
+
id: text("id").primaryKey(),
|
|
23665
|
+
ownerUserId: text("owner_user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
|
|
23666
|
+
eventName: text("event_name").notNull().$type(),
|
|
23667
|
+
conversationType: text("conversation_type").$type(),
|
|
23668
|
+
sourceId: text("source_id").notNull(),
|
|
23669
|
+
dedupeKey: text("dedupe_key").notNull(),
|
|
23670
|
+
createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString()),
|
|
23671
|
+
claimedAt: text("claimed_at")
|
|
23672
|
+
}, (t) => [
|
|
23673
|
+
uniqueIndex("uq_community_funnel_analytics_dedupe").on(t.dedupeKey),
|
|
23674
|
+
index("idx_community_funnel_analytics_owner_claimed_created").on(t.ownerUserId, t.claimedAt, t.createdAt)
|
|
23675
|
+
]);
|
|
23676
|
+
|
|
23646
23677
|
// ../shared/src/db/index.ts
|
|
23647
|
-
var allSchema = { ...exports_schema, ...exports_community_schema, ...exports_community_machine_schema, ...exports_product_plan_schema, ...exports_billing_schema };
|
|
23678
|
+
var allSchema = { ...exports_schema, ...exports_community_schema, ...exports_community_machine_schema, ...exports_product_plan_schema, ...exports_billing_schema, ...exports_community_funnel_analytics_schema };
|
|
23648
23679
|
// ../shared/src/community-server-rail.ts
|
|
23649
23680
|
var MAX_SERVER_RAIL_COMMANDS = 3;
|
|
23650
23681
|
var idSchema = exports_external.string().trim().min(1);
|
|
@@ -23713,6 +23744,11 @@ var deviceCode = sqliteTable("deviceCode", {
|
|
|
23713
23744
|
id: text("id").primaryKey(),
|
|
23714
23745
|
userId: text("userId")
|
|
23715
23746
|
});
|
|
23747
|
+
// ../shared/src/db/queries/community/funnel-analytics.ts
|
|
23748
|
+
var inviter = alias(user, "community_funnel_inviter");
|
|
23749
|
+
var invitee = alias(user, "community_funnel_invitee");
|
|
23750
|
+
var replyingBot = alias(user, "community_funnel_replying_bot");
|
|
23751
|
+
var botOwner = alias(user, "community_funnel_bot_owner");
|
|
23716
23752
|
// ../shared/src/db/queries/community/search.ts
|
|
23717
23753
|
var FTS_KEYWORDS = new Set(["and", "or", "not", "near"]);
|
|
23718
23754
|
// ../shared/src/db/queries/community/push-device.ts
|
package/dist/index.js
CHANGED
|
@@ -37591,8 +37591,39 @@ var userBilling = sqliteTable("user_billing", {
|
|
|
37591
37591
|
uniqueIndex("uq_user_billing_subscription").on(t.subscriptionId)
|
|
37592
37592
|
]);
|
|
37593
37593
|
|
|
37594
|
+
// ../shared/src/db/community-funnel-analytics-schema.ts
|
|
37595
|
+
var exports_community_funnel_analytics_schema = {};
|
|
37596
|
+
__export(exports_community_funnel_analytics_schema, {
|
|
37597
|
+
communityFunnelAnalyticsEvent: () => communityFunnelAnalyticsEvent,
|
|
37598
|
+
COMMUNITY_FUNNEL_EVENT_NAMES: () => COMMUNITY_FUNNEL_EVENT_NAMES,
|
|
37599
|
+
COMMUNITY_FUNNEL_CONVERSATION_TYPES: () => COMMUNITY_FUNNEL_CONVERSATION_TYPES
|
|
37600
|
+
});
|
|
37601
|
+
var COMMUNITY_FUNNEL_EVENT_NAMES = [
|
|
37602
|
+
"runtime_connected",
|
|
37603
|
+
"first_agent_reply_persisted",
|
|
37604
|
+
"invited_human_joined"
|
|
37605
|
+
];
|
|
37606
|
+
var COMMUNITY_FUNNEL_CONVERSATION_TYPES = [
|
|
37607
|
+
"dm",
|
|
37608
|
+
"channel",
|
|
37609
|
+
"thread"
|
|
37610
|
+
];
|
|
37611
|
+
var communityFunnelAnalyticsEvent = sqliteTable("community_funnel_analytics_event", {
|
|
37612
|
+
id: text("id").primaryKey(),
|
|
37613
|
+
ownerUserId: text("owner_user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
|
|
37614
|
+
eventName: text("event_name").notNull().$type(),
|
|
37615
|
+
conversationType: text("conversation_type").$type(),
|
|
37616
|
+
sourceId: text("source_id").notNull(),
|
|
37617
|
+
dedupeKey: text("dedupe_key").notNull(),
|
|
37618
|
+
createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString()),
|
|
37619
|
+
claimedAt: text("claimed_at")
|
|
37620
|
+
}, (t) => [
|
|
37621
|
+
uniqueIndex("uq_community_funnel_analytics_dedupe").on(t.dedupeKey),
|
|
37622
|
+
index("idx_community_funnel_analytics_owner_claimed_created").on(t.ownerUserId, t.claimedAt, t.createdAt)
|
|
37623
|
+
]);
|
|
37624
|
+
|
|
37594
37625
|
// ../shared/src/db/index.ts
|
|
37595
|
-
var allSchema = { ...exports_schema, ...exports_community_schema, ...exports_community_machine_schema, ...exports_product_plan_schema, ...exports_billing_schema };
|
|
37626
|
+
var allSchema = { ...exports_schema, ...exports_community_schema, ...exports_community_machine_schema, ...exports_product_plan_schema, ...exports_billing_schema, ...exports_community_funnel_analytics_schema };
|
|
37596
37627
|
// ../shared/src/community-server-rail.ts
|
|
37597
37628
|
var MAX_SERVER_RAIL_COMMANDS = 3;
|
|
37598
37629
|
var idSchema = exports_external.string().trim().min(1);
|
|
@@ -37661,6 +37692,11 @@ var deviceCode = sqliteTable("deviceCode", {
|
|
|
37661
37692
|
id: text("id").primaryKey(),
|
|
37662
37693
|
userId: text("userId")
|
|
37663
37694
|
});
|
|
37695
|
+
// ../shared/src/db/queries/community/funnel-analytics.ts
|
|
37696
|
+
var inviter = alias(user, "community_funnel_inviter");
|
|
37697
|
+
var invitee = alias(user, "community_funnel_invitee");
|
|
37698
|
+
var replyingBot = alias(user, "community_funnel_replying_bot");
|
|
37699
|
+
var botOwner = alias(user, "community_funnel_bot_owner");
|
|
37664
37700
|
// ../shared/src/db/queries/community/search.ts
|
|
37665
37701
|
var FTS_KEYWORDS = new Set(["and", "or", "not", "near"]);
|
|
37666
37702
|
// ../shared/src/db/queries/community/push-device.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alook/daemon",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.39",
|
|
4
4
|
"description": "Alook agent daemon — host-side runtime backend, process manager, credential proxy, and control plane.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/alookai/alook#readme",
|