@laplace.live/internal 1.3.39 → 1.3.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.3.39",
3
+ "version": "1.3.40",
4
4
  "module": "src/index.d.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1250,8 +1250,8 @@ export declare namespace LaplaceInternal {
1250
1250
  // ============================================
1251
1251
 
1252
1252
  /**
1253
- * AI review session lifecycle on our side.
1254
- * - `running` — Browser Use session dispatched, waiting for terminal status
1253
+ * AI review lifecycle on our side.
1254
+ * - `running` — Browser Use run dispatched, waiting for terminal status
1255
1255
  * - `done` — verdict landed (see aiVerdict)
1256
1256
  * - `errored` — Browser Use failed or returned non-conforming output
1257
1257
  * - `skipped` — source URL was off-list (e.g. not a Bilibili page); never dispatched
@@ -1300,6 +1300,12 @@ export declare namespace LaplaceInternal {
1300
1300
  extractedPeriodStartDate: string | null
1301
1301
  /** YYYY-MM-DD in Asia/Shanghai; the post's publish date (auxiliary). */
1302
1302
  postedAt: string | null
1303
+ /**
1304
+ * HH:mm (24h) in Asia/Shanghai; the post's publish time. Null when the page shows no exact time.
1305
+ *
1306
+ * @since Oct 25, 2026
1307
+ */
1308
+ postedAtTime?: string | null
1303
1309
  contentMentionsPeriod: boolean
1304
1310
  evidenceQuote: string | null
1305
1311
  pageType: 'video' | 'dynamic' | 'livestream_replay' | 'space' | 'unknown'
@@ -1312,8 +1318,12 @@ export declare namespace LaplaceInternal {
1312
1318
  * Used both by the workers and by Drizzle via $type<>().
1313
1319
  */
1314
1320
  export interface FertilityAiData {
1321
+ /** Browser Use session holding the run; empty when skipped. */
1315
1322
  sessionId: string
1323
+ /** Browser Use v4 run polled for the verdict. Absent on skipped checks and rows predating API v4. */
1324
+ runId?: string
1316
1325
  model: string
1326
+ /** Live view of the agent's browser; backfilled once the browser starts, dead once it stops. */
1317
1327
  liveUrl?: string
1318
1328
  /** What kicked off the check. Undefined on rows predating the auto-check; treat as `admin`. */
1319
1329
  trigger?: FertilityAiTrigger
@@ -1321,10 +1331,18 @@ export declare namespace LaplaceInternal {
1321
1331
  startedAt: string
1322
1332
  /** ISO 8601, set when status leaves 'running' */
1323
1333
  checkedAt?: string
1334
+ /** USD. Since API v4, the run's LLM cost only; browser time and proxy traffic are billed per session. */
1324
1335
  costUsd?: string
1325
1336
  confidence?: number
1326
1337
  evidence?: FertilityAiEvidence
1327
1338
  autoActionResult?: FertilityAiAutoActionResult
1339
+ /**
1340
+ * Set when the check moved the contribution's periodStart (unix ms) to the AI's date before auto-approving,
1341
+ * because the contributor had entered the publish date of a "昨天" / "第N天" post.
1342
+ *
1343
+ * @since Oct 25, 2026
1344
+ */
1345
+ periodStartCorrection?: { from: number; to: number }
1328
1346
  errorMessage?: string
1329
1347
  }
1330
1348