@badger_badger/badger_hq 1.6.0 → 1.8.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/CHANGELOG.md +28 -0
- package/dist/{agent-session-oZI9RyQ_.d.cts → agent-session-C7C0Z1e1.d.cts} +145 -14
- package/dist/{agent-session-oZI9RyQ_.d.ts → agent-session-C7C0Z1e1.d.ts} +145 -14
- package/dist/index.cjs +99 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +301 -28
- package/dist/index.d.ts +301 -28
- package/dist/index.js +87 -4
- package/dist/index.js.map +1 -1
- package/dist/mongo/index.cjs +19 -0
- package/dist/mongo/index.cjs.map +1 -1
- package/dist/mongo/index.d.cts +243 -17
- package/dist/mongo/index.d.ts +243 -17
- package/dist/mongo/index.js +19 -1
- package/dist/mongo/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# badger_hq
|
|
2
2
|
|
|
3
|
+
## 1.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 276c35c: Agent-found sources record why they were found.
|
|
8
|
+
|
|
9
|
+
- `SourceSchema.discovery` (optional, `SourceDiscoverySchema`): `{ taskId, captureId?, capturedUrl?, name, description?, reason, relevanceScore, discoveredAt }` — the Discovery task and capture a source came from and the judge's reason and score. Written by hero-service at agent intake only; omitted from `SourceCreateSchema` / `SourceUpdateSchema`. Mongo: embedded `sourceDiscoverySchema` on `sources` (no new index). The posts the agent saw from the source are ordinary DataItems (`sourceId` + `taskId`), not part of this block.
|
|
10
|
+
- `SourceIntakeBodySchema` gains optional `captureId` and `capturedUrl` (http(s)).
|
|
11
|
+
|
|
12
|
+
Additive; existing documents and consumers are unaffected.
|
|
13
|
+
|
|
14
|
+
## 1.7.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- e85a4c8: Monitor tasks as a batch of sources.
|
|
19
|
+
|
|
20
|
+
- `AgentTaskSchema.sources` (`AgentTaskSourceSchema[]`, default `[]`): the sources attached to a Monitor task other than its `target` — `{ platform, url, label? }`, http(s) only, no internal source id.
|
|
21
|
+
Each also carries `lastCapturedAt?`, `dueAt?` (under current urgency; absent when parked) and `accessProblem?`.
|
|
22
|
+
- `AgentAssignmentVersionSchema.sourcesUpdatedAt?`: the latest change to a Monitor task's attached sources, so a visit refreshes agents without bumping the task version.
|
|
23
|
+
- `MONITOR_TASK_MAX_SOURCES` (20): the most sources one Monitor task may have attached (enforced by hero-service).
|
|
24
|
+
- `Source.visitIntervalMs?`: the activity-based wait set by the last visit, before urgency.
|
|
25
|
+
- Source schedule helpers (pure, browser-safe): `effectiveDueAt` applies current urgency (`URGENCY_FACTOR`: emergency ×0.5; mission priority critical ×0.5, high ×0.75, medium ×1, low ×1.5) to the base interval, clamped to 1–72 h; `effectiveInterval` (that interval, for `overdueLevel`); `overdueLevel` (`none` / `late` / `missed` after one more interval; `OverdueLevelSchema`); `baseVisitInterval`, `urgencyFactor`, `clampInterval`.
|
|
26
|
+
A source without `visitIntervalMs` (scheduled before it existed) falls back to its last `nextVisitAt − lastCollectedAt` gap, which already includes the urgency of that visit and is not scaled again.
|
|
27
|
+
- Sources index `{ orgId, taskIds }` (multikey): the sources attached to a task.
|
|
28
|
+
|
|
29
|
+
Wire-compatible: existing documents and payloads still parse. The inferred `AgentTask` type now always has `sources`, so code that builds `AgentTask` objects must set it (`[]` when none).
|
|
30
|
+
|
|
3
31
|
## 1.6.0
|
|
4
32
|
|
|
5
33
|
### Minor Changes
|
|
@@ -2368,6 +2368,45 @@ declare const DiscoveredBySchema: z.ZodObject<{
|
|
|
2368
2368
|
importId?: string | undefined;
|
|
2369
2369
|
}>;
|
|
2370
2370
|
type DiscoveredBy = z.infer<typeof DiscoveredBySchema>;
|
|
2371
|
+
/**
|
|
2372
|
+
* Why the agent proposed this source: written once by hero-service at agent intake,
|
|
2373
|
+
* never by clients, absent on sources added by analysts or imports. The posts the agent
|
|
2374
|
+
* saw from it are ordinary DataItems (`sourceId` + `taskId`), not stored here.
|
|
2375
|
+
*/
|
|
2376
|
+
declare const SourceDiscoverySchema: z.ZodObject<{
|
|
2377
|
+
/** The Discovery task whose capture found it. */
|
|
2378
|
+
taskId: z.ZodString;
|
|
2379
|
+
/** agent-service capture id, when the source came from a task-tagged capture. */
|
|
2380
|
+
captureId: z.ZodOptional<z.ZodString>;
|
|
2381
|
+
/** The page the person captured (e.g. a search or hashtag page), not the source itself. */
|
|
2382
|
+
capturedUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2383
|
+
name: z.ZodString;
|
|
2384
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2385
|
+
/** The judge's reason for keeping it. */
|
|
2386
|
+
reason: z.ZodString;
|
|
2387
|
+
/** 0..1 relevance from the `judge` capability. */
|
|
2388
|
+
relevanceScore: z.ZodNumber;
|
|
2389
|
+
discoveredAt: z.ZodDate;
|
|
2390
|
+
}, "strip", z.ZodTypeAny, {
|
|
2391
|
+
name: string;
|
|
2392
|
+
taskId: string;
|
|
2393
|
+
reason: string;
|
|
2394
|
+
relevanceScore: number;
|
|
2395
|
+
discoveredAt: Date;
|
|
2396
|
+
description?: string | undefined;
|
|
2397
|
+
captureId?: string | undefined;
|
|
2398
|
+
capturedUrl?: string | undefined;
|
|
2399
|
+
}, {
|
|
2400
|
+
name: string;
|
|
2401
|
+
taskId: string;
|
|
2402
|
+
reason: string;
|
|
2403
|
+
relevanceScore: number;
|
|
2404
|
+
discoveredAt: Date;
|
|
2405
|
+
description?: string | undefined;
|
|
2406
|
+
captureId?: string | undefined;
|
|
2407
|
+
capturedUrl?: string | undefined;
|
|
2408
|
+
}>;
|
|
2409
|
+
type SourceDiscovery = z.infer<typeof SourceDiscoverySchema>;
|
|
2371
2410
|
/**
|
|
2372
2411
|
* A place to collect from. `(orgId, platform, url)` is unique. Lives in the
|
|
2373
2412
|
* org's logical Database: `databaseId` is set by the server, never by clients.
|
|
@@ -2413,8 +2452,43 @@ declare const SourceSchema: z.ZodObject<{
|
|
|
2413
2452
|
userId?: string | undefined;
|
|
2414
2453
|
importId?: string | undefined;
|
|
2415
2454
|
}>;
|
|
2455
|
+
discovery: z.ZodOptional<z.ZodObject<{
|
|
2456
|
+
/** The Discovery task whose capture found it. */
|
|
2457
|
+
taskId: z.ZodString;
|
|
2458
|
+
/** agent-service capture id, when the source came from a task-tagged capture. */
|
|
2459
|
+
captureId: z.ZodOptional<z.ZodString>;
|
|
2460
|
+
/** The page the person captured (e.g. a search or hashtag page), not the source itself. */
|
|
2461
|
+
capturedUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2462
|
+
name: z.ZodString;
|
|
2463
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2464
|
+
/** The judge's reason for keeping it. */
|
|
2465
|
+
reason: z.ZodString;
|
|
2466
|
+
/** 0..1 relevance from the `judge` capability. */
|
|
2467
|
+
relevanceScore: z.ZodNumber;
|
|
2468
|
+
discoveredAt: z.ZodDate;
|
|
2469
|
+
}, "strip", z.ZodTypeAny, {
|
|
2470
|
+
name: string;
|
|
2471
|
+
taskId: string;
|
|
2472
|
+
reason: string;
|
|
2473
|
+
relevanceScore: number;
|
|
2474
|
+
discoveredAt: Date;
|
|
2475
|
+
description?: string | undefined;
|
|
2476
|
+
captureId?: string | undefined;
|
|
2477
|
+
capturedUrl?: string | undefined;
|
|
2478
|
+
}, {
|
|
2479
|
+
name: string;
|
|
2480
|
+
taskId: string;
|
|
2481
|
+
reason: string;
|
|
2482
|
+
relevanceScore: number;
|
|
2483
|
+
discoveredAt: Date;
|
|
2484
|
+
description?: string | undefined;
|
|
2485
|
+
captureId?: string | undefined;
|
|
2486
|
+
capturedUrl?: string | undefined;
|
|
2487
|
+
}>>;
|
|
2416
2488
|
lastCollectedAt: z.ZodOptional<z.ZodDate>;
|
|
2417
2489
|
nextVisitAt: z.ZodOptional<z.ZodDate>;
|
|
2490
|
+
/** Activity-based wait set by the last visit, before current urgency (see `effectiveDueAt`). */
|
|
2491
|
+
visitIntervalMs: z.ZodOptional<z.ZodNumber>;
|
|
2418
2492
|
} & {
|
|
2419
2493
|
createdAt: z.ZodDate;
|
|
2420
2494
|
updatedAt: z.ZodDate;
|
|
@@ -2441,6 +2515,16 @@ declare const SourceSchema: z.ZodObject<{
|
|
|
2441
2515
|
importId?: string | undefined;
|
|
2442
2516
|
};
|
|
2443
2517
|
deletedAt?: Date | undefined;
|
|
2518
|
+
discovery?: {
|
|
2519
|
+
name: string;
|
|
2520
|
+
taskId: string;
|
|
2521
|
+
reason: string;
|
|
2522
|
+
relevanceScore: number;
|
|
2523
|
+
discoveredAt: Date;
|
|
2524
|
+
description?: string | undefined;
|
|
2525
|
+
captureId?: string | undefined;
|
|
2526
|
+
capturedUrl?: string | undefined;
|
|
2527
|
+
} | undefined;
|
|
2444
2528
|
handle?: string | undefined;
|
|
2445
2529
|
scraperId?: string | undefined;
|
|
2446
2530
|
rating?: {
|
|
@@ -2450,6 +2534,7 @@ declare const SourceSchema: z.ZodObject<{
|
|
|
2450
2534
|
} | undefined;
|
|
2451
2535
|
lastCollectedAt?: Date | undefined;
|
|
2452
2536
|
nextVisitAt?: Date | undefined;
|
|
2537
|
+
visitIntervalMs?: number | undefined;
|
|
2453
2538
|
}, {
|
|
2454
2539
|
type: "channel" | "group" | "profile" | "forum" | "site";
|
|
2455
2540
|
createdAt: Date;
|
|
@@ -2468,6 +2553,16 @@ declare const SourceSchema: z.ZodObject<{
|
|
|
2468
2553
|
};
|
|
2469
2554
|
status?: "active" | "paused" | "closed" | "access_problem" | undefined;
|
|
2470
2555
|
deletedAt?: Date | undefined;
|
|
2556
|
+
discovery?: {
|
|
2557
|
+
name: string;
|
|
2558
|
+
taskId: string;
|
|
2559
|
+
reason: string;
|
|
2560
|
+
relevanceScore: number;
|
|
2561
|
+
discoveredAt: Date;
|
|
2562
|
+
description?: string | undefined;
|
|
2563
|
+
captureId?: string | undefined;
|
|
2564
|
+
capturedUrl?: string | undefined;
|
|
2565
|
+
} | undefined;
|
|
2471
2566
|
tags?: string[] | undefined;
|
|
2472
2567
|
missionIds?: string[] | undefined;
|
|
2473
2568
|
taskIds?: string[] | undefined;
|
|
@@ -2480,6 +2575,7 @@ declare const SourceSchema: z.ZodObject<{
|
|
|
2480
2575
|
} | undefined;
|
|
2481
2576
|
lastCollectedAt?: Date | undefined;
|
|
2482
2577
|
nextVisitAt?: Date | undefined;
|
|
2578
|
+
visitIntervalMs?: number | undefined;
|
|
2483
2579
|
}>;
|
|
2484
2580
|
declare const SourceCreateSchema: z.ZodObject<Omit<{
|
|
2485
2581
|
_id: z.ZodString;
|
|
@@ -2522,14 +2618,49 @@ declare const SourceCreateSchema: z.ZodObject<Omit<{
|
|
|
2522
2618
|
userId?: string | undefined;
|
|
2523
2619
|
importId?: string | undefined;
|
|
2524
2620
|
}>;
|
|
2621
|
+
discovery: z.ZodOptional<z.ZodObject<{
|
|
2622
|
+
/** The Discovery task whose capture found it. */
|
|
2623
|
+
taskId: z.ZodString;
|
|
2624
|
+
/** agent-service capture id, when the source came from a task-tagged capture. */
|
|
2625
|
+
captureId: z.ZodOptional<z.ZodString>;
|
|
2626
|
+
/** The page the person captured (e.g. a search or hashtag page), not the source itself. */
|
|
2627
|
+
capturedUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2628
|
+
name: z.ZodString;
|
|
2629
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
/** The judge's reason for keeping it. */
|
|
2631
|
+
reason: z.ZodString;
|
|
2632
|
+
/** 0..1 relevance from the `judge` capability. */
|
|
2633
|
+
relevanceScore: z.ZodNumber;
|
|
2634
|
+
discoveredAt: z.ZodDate;
|
|
2635
|
+
}, "strip", z.ZodTypeAny, {
|
|
2636
|
+
name: string;
|
|
2637
|
+
taskId: string;
|
|
2638
|
+
reason: string;
|
|
2639
|
+
relevanceScore: number;
|
|
2640
|
+
discoveredAt: Date;
|
|
2641
|
+
description?: string | undefined;
|
|
2642
|
+
captureId?: string | undefined;
|
|
2643
|
+
capturedUrl?: string | undefined;
|
|
2644
|
+
}, {
|
|
2645
|
+
name: string;
|
|
2646
|
+
taskId: string;
|
|
2647
|
+
reason: string;
|
|
2648
|
+
relevanceScore: number;
|
|
2649
|
+
discoveredAt: Date;
|
|
2650
|
+
description?: string | undefined;
|
|
2651
|
+
captureId?: string | undefined;
|
|
2652
|
+
capturedUrl?: string | undefined;
|
|
2653
|
+
}>>;
|
|
2525
2654
|
lastCollectedAt: z.ZodOptional<z.ZodDate>;
|
|
2526
2655
|
nextVisitAt: z.ZodOptional<z.ZodDate>;
|
|
2656
|
+
/** Activity-based wait set by the last visit, before current urgency (see `effectiveDueAt`). */
|
|
2657
|
+
visitIntervalMs: z.ZodOptional<z.ZodNumber>;
|
|
2527
2658
|
} & {
|
|
2528
2659
|
createdAt: z.ZodDate;
|
|
2529
2660
|
updatedAt: z.ZodDate;
|
|
2530
2661
|
} & {
|
|
2531
2662
|
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
2532
|
-
}, "createdAt" | "updatedAt" | "deletedAt" | "_id" | "orgId" | "databaseId" | "discoveredBy" | "lastCollectedAt">, "strip", z.ZodTypeAny, {
|
|
2663
|
+
}, "createdAt" | "updatedAt" | "deletedAt" | "_id" | "orgId" | "databaseId" | "discovery" | "discoveredBy" | "lastCollectedAt" | "visitIntervalMs">, "strip", z.ZodTypeAny, {
|
|
2533
2664
|
type: "channel" | "group" | "profile" | "forum" | "site";
|
|
2534
2665
|
status: "active" | "paused" | "closed" | "access_problem";
|
|
2535
2666
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
@@ -4266,16 +4397,16 @@ declare const SourceResultCardSchema: z.ZodObject<{
|
|
|
4266
4397
|
name: string;
|
|
4267
4398
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4268
4399
|
kind: "source_result";
|
|
4269
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4270
4400
|
reason: string;
|
|
4401
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4271
4402
|
url?: string | undefined;
|
|
4272
4403
|
score?: number | undefined;
|
|
4273
4404
|
}, {
|
|
4274
4405
|
name: string;
|
|
4275
4406
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4276
4407
|
kind: "source_result";
|
|
4277
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4278
4408
|
reason: string;
|
|
4409
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4279
4410
|
url?: string | undefined;
|
|
4280
4411
|
score?: number | undefined;
|
|
4281
4412
|
}>;
|
|
@@ -4396,16 +4527,16 @@ declare const AgentCardSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
4396
4527
|
name: string;
|
|
4397
4528
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4398
4529
|
kind: "source_result";
|
|
4399
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4400
4530
|
reason: string;
|
|
4531
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4401
4532
|
url?: string | undefined;
|
|
4402
4533
|
score?: number | undefined;
|
|
4403
4534
|
}, {
|
|
4404
4535
|
name: string;
|
|
4405
4536
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4406
4537
|
kind: "source_result";
|
|
4407
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4408
4538
|
reason: string;
|
|
4539
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4409
4540
|
url?: string | undefined;
|
|
4410
4541
|
score?: number | undefined;
|
|
4411
4542
|
}>, z.ZodObject<{
|
|
@@ -4522,16 +4653,16 @@ declare const AgentMessageSchema: z.ZodObject<{
|
|
|
4522
4653
|
name: string;
|
|
4523
4654
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4524
4655
|
kind: "source_result";
|
|
4525
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4526
4656
|
reason: string;
|
|
4657
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4527
4658
|
url?: string | undefined;
|
|
4528
4659
|
score?: number | undefined;
|
|
4529
4660
|
}, {
|
|
4530
4661
|
name: string;
|
|
4531
4662
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4532
4663
|
kind: "source_result";
|
|
4533
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4534
4664
|
reason: string;
|
|
4665
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4535
4666
|
url?: string | undefined;
|
|
4536
4667
|
score?: number | undefined;
|
|
4537
4668
|
}>, z.ZodObject<{
|
|
@@ -4626,8 +4757,8 @@ declare const AgentMessageSchema: z.ZodObject<{
|
|
|
4626
4757
|
name: string;
|
|
4627
4758
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4628
4759
|
kind: "source_result";
|
|
4629
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4630
4760
|
reason: string;
|
|
4761
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4631
4762
|
url?: string | undefined;
|
|
4632
4763
|
score?: number | undefined;
|
|
4633
4764
|
} | {
|
|
@@ -4673,8 +4804,8 @@ declare const AgentMessageSchema: z.ZodObject<{
|
|
|
4673
4804
|
name: string;
|
|
4674
4805
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4675
4806
|
kind: "source_result";
|
|
4676
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4677
4807
|
reason: string;
|
|
4808
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4678
4809
|
url?: string | undefined;
|
|
4679
4810
|
score?: number | undefined;
|
|
4680
4811
|
} | {
|
|
@@ -4744,16 +4875,16 @@ declare const AgentMessageCreateSchema: z.ZodObject<Omit<{
|
|
|
4744
4875
|
name: string;
|
|
4745
4876
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4746
4877
|
kind: "source_result";
|
|
4747
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4748
4878
|
reason: string;
|
|
4879
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4749
4880
|
url?: string | undefined;
|
|
4750
4881
|
score?: number | undefined;
|
|
4751
4882
|
}, {
|
|
4752
4883
|
name: string;
|
|
4753
4884
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4754
4885
|
kind: "source_result";
|
|
4755
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4756
4886
|
reason: string;
|
|
4887
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4757
4888
|
url?: string | undefined;
|
|
4758
4889
|
score?: number | undefined;
|
|
4759
4890
|
}>, z.ZodObject<{
|
|
@@ -4844,8 +4975,8 @@ declare const AgentMessageCreateSchema: z.ZodObject<Omit<{
|
|
|
4844
4975
|
name: string;
|
|
4845
4976
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4846
4977
|
kind: "source_result";
|
|
4847
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4848
4978
|
reason: string;
|
|
4979
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4849
4980
|
url?: string | undefined;
|
|
4850
4981
|
score?: number | undefined;
|
|
4851
4982
|
} | {
|
|
@@ -4887,8 +5018,8 @@ declare const AgentMessageCreateSchema: z.ZodObject<Omit<{
|
|
|
4887
5018
|
name: string;
|
|
4888
5019
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
4889
5020
|
kind: "source_result";
|
|
4890
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4891
5021
|
reason: string;
|
|
5022
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
4892
5023
|
url?: string | undefined;
|
|
4893
5024
|
score?: number | undefined;
|
|
4894
5025
|
} | {
|
|
@@ -5811,4 +5942,4 @@ type LlmCall = z.infer<typeof LlmCallSchema>;
|
|
|
5811
5942
|
type LlmCallCreate = z.infer<typeof LlmCallCreateSchema>;
|
|
5812
5943
|
type LlmCallCreateInput = z.input<typeof LlmCallCreateSchema>;
|
|
5813
5944
|
|
|
5814
|
-
export {
|
|
5945
|
+
export { AssignmentUpdateSchema as $, ACCESS_ISSUE_VALUES as A, AgentSessionMode as B, AgentSessionSchema as C, type AgentSessionStats as D, AgentSessionStatsSchema as E, AgentSessionStatus as F, type AgentSessionUpdate as G, AgentSessionUpdateSchema as H, AgentSourceOutcome as I, type AnalystProfile as J, AnalystProfileSchema as K, type AnalystProfileUpdate as L, MissionPriority as M, type AnalystProfileUpdateInput as N, AnalystProfileUpdateSchema as O, type AssigneeLoad as P, AssigneeLoadSchema as Q, AssigneeType as R, SourceStatus as S, type Assignment as T, type AssignmentCreate as U, type AssignmentCreateInput as V, AssignmentCreateSchema as W, AssignmentSchema as X, AssignmentSource as Y, AssignmentStatus as Z, type AssignmentUpdate as _, AGENT_CARD_KIND_VALUES as a, DatabaseUpdateSchema as a$, type AuditLog as a0, type AuditLogCreate as a1, AuditLogCreateSchema as a2, AuditLogSchema as a3, type AuditLogUpdate as a4, AuditLogUpdateSchema as a5, type AuditTarget as a6, AuditTargetSchema as a7, type BlobRef as a8, BlobRefSchema as a9, DATABASE_COLLECTION_VALUES as aA, DATABASE_STATUS_VALUES as aB, DEFAULT_ANALYST_TASK_LIMIT as aC, DEFAULT_SCOUT_TASK_LIMIT as aD, DEPLOYMENT_KIND_VALUES as aE, DEPLOYMENT_STATUS_VALUES as aF, DISCOVERED_BY_TYPE_VALUES as aG, type DataItem as aH, type DataItemContent as aI, DataItemContentSchema as aJ, type DataItemCreate as aK, type DataItemCreateInput as aL, DataItemCreateSchema as aM, type DataItemEntity as aN, DataItemEntitySchema as aO, DataItemSchema as aP, type DataItemUpdate as aQ, DataItemUpdateSchema as aR, type Database as aS, DatabaseCollection as aT, type DatabaseCreate as aU, type DatabaseCreateInput as aV, DatabaseCreateSchema as aW, DatabaseName as aX, DatabaseSchema as aY, DatabaseStatus as aZ, type DatabaseUpdate as a_, CAPTURE_DOM_STATUS_VALUES as aa, CAPTURE_STATUS_VALUES as ab, CAPTURE_WINDOW_MODE_VALUES as ac, COLLECTIONS as ad, COLLECTOR_TYPE_VALUES as ae, type Capture as af, type CaptureCreate as ag, type CaptureCreateInput as ah, CaptureCreateSchema as ai, type CaptureDomSnapshot as aj, CaptureDomSnapshotSchema as ak, CaptureDomStatus as al, type CaptureDomSummary as am, CaptureDomSummarySchema as an, CapturePromptCardSchema as ao, type CaptureRegion as ap, CaptureRegionSchema as aq, CaptureSchema as ar, CaptureStatus as as, CaptureThumbCardSchema as at, CaptureWindowMode as au, type CollectionName as av, type Collector as aw, CollectorSchema as ax, CollectorType as ay, ConnectionString as az, AGENT_MESSAGE_KIND_VALUES as b, type OrgSettingsUpdate as b$, type Deployment as b0, type DeploymentCreate as b1, DeploymentCreateSchema as b2, DeploymentKind as b3, DeploymentSchema as b4, DeploymentStatus as b5, type DeploymentStep as b6, DeploymentStepSchema as b7, type DeploymentUpdate as b8, DeploymentUpdateSchema as b9, type LlmCall as bA, type LlmCallCreate as bB, type LlmCallCreateInput as bC, LlmCallCreateSchema as bD, LlmCallSchema as bE, LlmCapability as bF, LlmOutcome as bG, LlmProvider as bH, type LlmUsage as bI, LlmUsageSchema as bJ, LoadScope as bK, MAX_AGENT_MESSAGE_TEXT_LENGTH as bL, MAX_RATING_COMMENT_LENGTH as bM, MAX_SOURCE_IMPORT_ROW_ERRORS as bN, MISSION_PRIORITY_VALUES as bO, MISSION_STATUS_VALUES as bP, type Mission as bQ, type MissionCreate as bR, type MissionCreateInput as bS, MissionCreateSchema as bT, MissionSchema as bU, MissionStatus as bV, type MissionUpdate as bW, MissionUpdateSchema as bX, OpenLinkCardSchema as bY, type OrgSettings as bZ, OrgSettingsSchema as b_, type DiscoveredBy as ba, DiscoveredBySchema as bb, DiscoveredByType as bc, type DomBlock as bd, DomBlockSchema as be, type DomLink as bf, DomLinkSchema as bg, type DomRect as bh, DomRectSchema as bi, Email as bj, GLOBAL_LOAD_SCOPE as bk, type Geo as bl, GeoSchema as bm, HOURS_LOG_SOURCE_VALUES as bn, type HoursLog as bo, type HoursLogCreate as bp, HoursLogCreateSchema as bq, HoursLogSchema as br, HoursLogSource as bs, type HoursLogUpdate as bt, HoursLogUpdateSchema as bu, HoursProposalCardSchema as bv, ItemResultCardSchema as bw, LLM_CAPABILITY_VALUES as bx, LLM_OUTCOME_VALUES as by, LLM_PROVIDER_VALUES as bz, AGENT_MESSAGE_ROLE_VALUES as c, SourceImportSchema as c$, OrgSettingsUpdateSchema as c0, PLATFORM_VALUES as c1, Platform as c2, QuickRepliesCardSchema as c3, type QuickReplyOption as c4, QuickReplyOptionSchema as c5, RATER_TYPE_VALUES as c6, REGION_MODE_VALUES as c7, RaterType as c8, RatingScore as c9, ScoutStatus as cA, type Scraper as cB, type ScraperCreate as cC, ScraperCreateSchema as cD, type ScraperMetric as cE, type ScraperMetricCreate as cF, ScraperMetricCreateSchema as cG, ScraperMetricSchema as cH, type ScraperMetricUpdate as cI, ScraperMetricUpdateSchema as cJ, ScraperSchema as cK, ScraperStatus as cL, type ScraperUpdate as cM, ScraperUpdateSchema as cN, type Source as cO, SourceAccess as cP, type SourceCreate as cQ, type SourceCreateInput as cR, SourceCreateSchema as cS, type SourceDiscovery as cT, SourceDiscoverySchema as cU, type SourceImport as cV, type SourceImportCreate as cW, SourceImportCreateSchema as cX, SourceImportKind as cY, type SourceImportRowError as cZ, SourceImportRowErrorSchema as c_, type RatingSummary as ca, RatingSummarySchema as cb, RegionMode as cc, SCOUT_STATUS_VALUES as cd, SCRAPER_STATUS_VALUES as ce, SOURCE_ACCESS_VALUES as cf, SOURCE_IMPORT_KIND_VALUES as cg, SOURCE_IMPORT_STATUS_VALUES as ch, SOURCE_INTAKE_OUTCOME_VALUES as ci, SOURCE_ROUTE_VALUES as cj, SOURCE_STATUS_VALUES as ck, SOURCE_TYPE_VALUES as cl, type ScoutProfile as cm, type ScoutProfileCreate as cn, type ScoutProfileCreateInput as co, ScoutProfileCreateSchema as cp, ScoutProfileSchema as cq, type ScoutProfileUpdate as cr, type ScoutProfileUpdateInput as cs, ScoutProfileUpdateSchema as ct, type ScoutRating as cu, type ScoutRatingInput as cv, ScoutRatingInputSchema as cw, ScoutRatingSchema as cx, type ScoutSelfUpdate as cy, ScoutSelfUpdateSchema as cz, AGENT_SESSION_MODE_VALUES as d, SourceImportStatus as d0, type SourceImportSummary as d1, SourceImportSummarySchema as d2, type SourceImportUpdate as d3, SourceImportUpdateSchema as d4, SourceIntakeOutcome as d5, type SourceRating as d6, SourceRatingSchema as d7, SourceResultCardSchema as d8, SourceRoute as d9, SourceSchema as da, SourceType as db, type SourceUpdate as dc, SourceUpdateSchema as dd, type SystemRecommendation as de, type SystemRecommendationInput as df, SystemRecommendationInputSchema as dg, SystemRecommendationSchema as dh, TASK_KIND_VALUES as di, TASK_ORIGIN_VALUES as dj, TASK_STATUS_VALUES as dk, type Task as dl, type TaskCreate as dm, type TaskCreateInput as dn, TaskCreateSchema as dp, TaskKind as dq, TaskOrigin as dr, TaskSchema as ds, TaskStatus as dt, type TaskUpdate as du, TaskUpdateSchema as dv, VETTING_STATUS_VALUES as dw, VettingStatus as dx, AGENT_SESSION_STATUS_VALUES as e, AGENT_SOURCE_OUTCOME_VALUES as f, ASSIGNEE_TYPE_VALUES as g, ASSIGNMENT_SOURCE_VALUES as h, ASSIGNMENT_STATUS_VALUES as i, AccessIssue as j, type AgentCard as k, AgentCardKind as l, AgentCardSchema as m, type AgentMessage as n, type AgentMessageCreate as o, type AgentMessageCreateInput as p, AgentMessageCreateSchema as q, AgentMessageKind as r, AgentMessageRole as s, AgentMessageSchema as t, type AgentSession as u, type AgentSessionBudget as v, AgentSessionBudgetSchema as w, type AgentSessionCreate as x, type AgentSessionCreateInput as y, AgentSessionCreateSchema as z };
|