@inerrata-corporation/errata 2.0.0-dev.63 → 2.0.0-dev.65
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/errata.mjs +11 -2
- package/package.json +1 -1
package/errata.mjs
CHANGED
|
@@ -42874,7 +42874,7 @@ function startLoopLagMonitor(thresholdMs = 1e3) {
|
|
|
42874
42874
|
}
|
|
42875
42875
|
|
|
42876
42876
|
// src/engine.ts
|
|
42877
|
-
var DAEMON_VERSION = true ? "2.0.0-dev.
|
|
42877
|
+
var DAEMON_VERSION = true ? "2.0.0-dev.65" : "2.0.0-alpha.0";
|
|
42878
42878
|
var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
|
|
42879
42879
|
var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
|
|
42880
42880
|
var GIT_OP_MUTE_MS = 4e3;
|
|
@@ -46347,6 +46347,9 @@ async function cmdInit() {
|
|
|
46347
46347
|
console.log("Cloud sync + telemetry are OFF in this alpha \u2014 turn them on with:");
|
|
46348
46348
|
console.log(" errata consent sync on # contribute canonical, scrubbed deltas");
|
|
46349
46349
|
console.log(" errata consent telemetry on # counts-only product metrics");
|
|
46350
|
+
console.log("To CONTRIBUTE to the shared graph you must ALSO attest this daemon:");
|
|
46351
|
+
console.log(" errata login # console sign-in (OAuth) \u2014 grants graph-write");
|
|
46352
|
+
console.log("Without it the daemon still recalls (read-only); its writes are refused.");
|
|
46350
46353
|
console.log("Details + kill switch: errata privacy");
|
|
46351
46354
|
cfg.onboardedAt = Date.now();
|
|
46352
46355
|
saveConfig(cfg);
|
|
@@ -46496,7 +46499,13 @@ async function cmdStatus() {
|
|
|
46496
46499
|
);
|
|
46497
46500
|
console.log(` cloud:`);
|
|
46498
46501
|
console.log(` url: ${cfg.cloudUrl}`);
|
|
46499
|
-
|
|
46502
|
+
if (!hasCloudCredential(cfg)) {
|
|
46503
|
+
console.log(` logged in: no`);
|
|
46504
|
+
} else if (cfg.accessToken) {
|
|
46505
|
+
console.log(` logged in: yes (${cfg.email}) \u2014 attested daemon, can contribute`);
|
|
46506
|
+
} else {
|
|
46507
|
+
console.log(` logged in: yes (${cfg.email}) \u2014 READ-ONLY key; run \`errata login\` to attest for graph-write`);
|
|
46508
|
+
}
|
|
46500
46509
|
const active = getActiveAgent(cfg);
|
|
46501
46510
|
console.log(
|
|
46502
46511
|
` active agent: ${active ? `${active.handle} (acting-as; \`errata use --none\` to clear)` : "default identity"}`
|