@ouro.bot/cli 0.1.0-alpha.698 → 0.1.0-alpha.699

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.json CHANGED
@@ -1,6 +1,13 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.699",
6
+ "changes": [
7
+ "Populate the daemon provider credential cache during selected-provider warm-up so status and context-loss Sentinel report the same provider truth as live provider checks.",
8
+ "Treat first-run scheduled jobs as pending rather than degraded in daemon health, avoiding false ouro up failures for newly native daily habits."
9
+ ]
10
+ },
4
11
  {
5
12
  "version": "0.1.0-alpha.698",
6
13
  "changes": [
@@ -511,7 +511,7 @@ async function preloadProviderCredentialPools() {
511
511
  const providers = providerPreloadTargets(agent);
512
512
  if (providers.length === 0)
513
513
  return;
514
- const result = await (0, provider_credentials_1.refreshProviderCredentialPool)(agent, { preserveCachedOnFailure: true, providers, skipCache: true });
514
+ const result = await (0, provider_credentials_1.refreshProviderCredentialPool)(agent, { preserveCachedOnFailure: true, providers });
515
515
  if (result.ok) {
516
516
  const missingProviders = providerPreloadMissingTargets(result, providers);
517
517
  if (missingProviders.length > 0) {
@@ -113,16 +113,10 @@ class HealthMonitor {
113
113
  }
114
114
  const jobs = this.scheduler.listJobs();
115
115
  const neverRan = jobs.filter((job) => !job.lastRun);
116
- if (neverRan.length > 0) {
117
- results.push({
118
- name: "cron-health",
119
- status: "warn",
120
- message: `jobs never run: ${neverRan.map((job) => job.id).join(", ")}`,
121
- });
122
- }
123
- else {
124
- results.push({ name: "cron-health", status: "ok", message: "cron jobs are healthy" });
125
- }
116
+ const firstRunSuffix = neverRan.length > 0
117
+ ? `; pending first run: ${neverRan.map((job) => job.id).join(", ")}`
118
+ : "";
119
+ results.push({ name: "cron-health", status: "ok", message: `cron jobs are healthy${firstRunSuffix}` });
126
120
  const diskPercent = this.diskUsagePercent();
127
121
  if (diskPercent >= 90) {
128
122
  results.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.698",
3
+ "version": "0.1.0-alpha.699",
4
4
  "main": "dist/heart/daemon/ouro-entry.js",
5
5
  "bin": {
6
6
  "cli": "dist/heart/daemon/ouro-bot-entry.js",