neuralos 2.9.11 → 2.9.13

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.
Files changed (2) hide show
  1. package/bin/gybackend.cjs +21 -0
  2. package/package.json +4 -3
package/bin/gybackend.cjs CHANGED
@@ -346913,6 +346913,10 @@ ${body}`;
346913
346913
  fireCount: 0
346914
346914
  };
346915
346915
  m.upsertTrigger(entry);
346916
+ try {
346917
+ engine?.upsert?.(entry);
346918
+ } catch {
346919
+ }
346916
346920
  const msg2 = `Created trigger "${entry.name}" (${entry.id}) [${entry.kind}] \u2192 ${entry.action} ${entry.playbookId}.`;
346917
346921
  emit8(context2, "manage_trigger", args, msg2);
346918
346922
  return msg2;
@@ -346945,6 +346949,10 @@ ${body}`;
346945
346949
  ...args.cooldownSeconds !== void 0 ? { cooldownSeconds: args.cooldownSeconds } : {}
346946
346950
  };
346947
346951
  m.upsertTrigger(merged);
346952
+ try {
346953
+ engine?.upsert?.(merged);
346954
+ } catch {
346955
+ }
346948
346956
  const msg2 = `Updated trigger "${merged.name}" (${merged.id}).`;
346949
346957
  emit8(context2, "manage_trigger", args, msg2);
346950
346958
  return msg2;
@@ -346957,6 +346965,12 @@ ${body}`;
346957
346965
  return msg3;
346958
346966
  }
346959
346967
  const ok = m.deleteTrigger(key);
346968
+ if (ok) {
346969
+ try {
346970
+ engine?.remove?.(key);
346971
+ } catch {
346972
+ }
346973
+ }
346960
346974
  const msg2 = ok ? `Deleted trigger "${key}".` : `No trigger "${key}".`;
346961
346975
  emit8(context2, "manage_trigger", args, msg2);
346962
346976
  return msg2;
@@ -346969,6 +346983,13 @@ ${body}`;
346969
346983
  return msg3;
346970
346984
  }
346971
346985
  const ok = m.setTriggerEnabled(key, action === "enable");
346986
+ if (ok) {
346987
+ try {
346988
+ const t = m.listTriggers().find((x) => x.id === key || x.name === key);
346989
+ if (t) engine?.upsert?.({ ...t, enabled: action === "enable" });
346990
+ } catch {
346991
+ }
346992
+ }
346972
346993
  const msg2 = ok ? `Trigger "${key}" ${action}d.` : `No trigger "${key}".`;
346973
346994
  emit8(context2, "manage_trigger", args, msg2);
346974
346995
  return msg2;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "neuralos",
3
- "version": "2.9.11",
4
- "description": "neuralOS — the headless AI-native backend for RTerm. run RTerm-as-a-service (AI agent, SSH/WinRM/Serial/local terminals, fleet orchestration, advanced automation, SRE observability, Netdata, AWS APerf, plugin system, governance/audit, Prometheus/OTel metrics export, secrets vault, on-call paging, AI cost budgets, GitOps, cloud inventory, APM/DEM/Infra/ETW ingestion, AgentSpan/Conductor durable-agent bridge). The RTerm desktop app stays RTerm; neuralOS is the standalone backend daemon. Dual-published as rterm-backend. v2.9.11: fix agent-tool session recording now captures (start routed via TerminalService).",
3
+ "version": "2.9.13",
4
+ "description": "neuralOS — the headless AI-native backend for RTerm. run RTerm-as-a-service (AI agent, SSH/WinRM/Serial/local terminals, fleet orchestration, advanced automation, SRE observability, Netdata, AWS APerf, plugin system, governance/audit, Prometheus/OTel metrics export, secrets vault, on-call paging, AI cost budgets, GitOps, cloud inventory, APM/DEM/Infra/ETW ingestion, AgentSpan/Conductor durable-agent bridge). The RTerm desktop app stays RTerm; neuralOS is the standalone backend daemon. Dual-published as rterm-backend. v2.9.13: version check 403 fix (raw URL) + silent background updates + rterm.app source/download URLs.",
5
5
  "main": "bin/gybackend.cjs",
6
6
  "bin": {
7
7
  "neuralos": "bin/gybackend.cjs",
@@ -63,6 +63,7 @@
63
63
  "apm",
64
64
  "dem",
65
65
  "etw",
66
- "monitoring"
66
+ "monitoring",
67
+ "agentspan"
67
68
  ]
68
69
  }