@revealyst/agent 0.2.0 → 0.2.1
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.js +1 -1
- package/dist/index.js +10 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -16,7 +16,7 @@ const discover_1 = require("./discover");
|
|
|
16
16
|
const push_1 = require("./push");
|
|
17
17
|
const stream_1 = require("./stream");
|
|
18
18
|
const sync_run_1 = require("./sync-run");
|
|
19
|
-
const AGENT_VERSION = "0.2.
|
|
19
|
+
const AGENT_VERSION = "0.2.1";
|
|
20
20
|
const DEFAULT_API = "https://app.revealyst.com";
|
|
21
21
|
const DEFAULT_DAYS = 30;
|
|
22
22
|
function fail(message) {
|
package/dist/index.js
CHANGED
|
@@ -81,6 +81,16 @@ function buildIngestRequest(opts) {
|
|
|
81
81
|
detail: `log parse drift: ${skippedLines} lines skipped, ${unknownTypes} unknown record types`,
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
|
+
// ADR 0025: when the pin narrowed the window, say so honestly — the days
|
|
85
|
+
// between the requested start and the covered start were left untouched
|
|
86
|
+
// server-side (never zeroed), and the dashboard should be able to say why.
|
|
87
|
+
if (window.start !== opts.window.start) {
|
|
88
|
+
allGaps.push({
|
|
89
|
+
kind: "sync_window_incomplete",
|
|
90
|
+
detail: `local logs only cover from ${window.start}; requested lookback ` +
|
|
91
|
+
`started ${opts.window.start} — earlier days were left untouched`,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
84
94
|
return {
|
|
85
95
|
agentVersion: opts.agentVersion,
|
|
86
96
|
summarizerVersion: prices_1.SUMMARIZER_VERSION,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revealyst/agent",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Revealyst Agent — reads Claude Code session logs, summarizes them locally to metric records (never raw prompt content), pushes via device token.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|