@pdpp/local-collector 0.16.12 → 0.18.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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const COLLECTOR_BUILD_SOURCE_SENTINEL = "source";
|
|
2
2
|
const COLLECTOR_BUILD_INFO = {
|
|
3
|
-
builtAt: "2026-06-
|
|
4
|
-
revision: "
|
|
5
|
-
version: "0.
|
|
3
|
+
builtAt: "2026-06-26T07:40:40.696Z",
|
|
4
|
+
revision: "618789f4d4cb",
|
|
5
|
+
version: "0.18.0",
|
|
6
6
|
};
|
|
7
7
|
function buildAgentVersion(info = COLLECTOR_BUILD_INFO) {
|
|
8
8
|
return `${info.version}+${info.revision}`;
|
|
@@ -4,6 +4,7 @@ import { DatabaseSync } from "node:sqlite";
|
|
|
4
4
|
import { hashCanonicalJson } from "./local-device-envelope.js";
|
|
5
5
|
const CURRENT_SCHEMA_VERSION = 2;
|
|
6
6
|
const LEGACY_COVERAGE_SCAN_BUDGET = 5000;
|
|
7
|
+
const SQLITE_IN_CLAUSE_CHUNK = 500;
|
|
7
8
|
export class LocalDeviceOutbox {
|
|
8
9
|
#clock;
|
|
9
10
|
#db;
|
|
@@ -802,7 +803,6 @@ function normalizeLimit(value) {
|
|
|
802
803
|
function sqlStringLiteral(value) {
|
|
803
804
|
return `'${value.replaceAll("'", "''")}'`;
|
|
804
805
|
}
|
|
805
|
-
const SQLITE_IN_CLAUSE_CHUNK = 500;
|
|
806
806
|
function chunkArray(items, size) {
|
|
807
807
|
const chunks = [];
|
|
808
808
|
for (let i = 0; i < items.length; i += size) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pdpp/local-collector",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Publishable local collector runtime for PDPP: filesystem-class connectors (Claude Code, Codex) plus the device-exporter ingest client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|