@clagentic/console 1.0.4-beta.2 → 1.0.4-beta.3

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/lib/agents.js +2 -2
  2. package/package.json +1 -1
package/lib/agents.js CHANGED
@@ -115,7 +115,7 @@ async function* _emptyIterable() {
115
115
  // Returns a promise that never rejects — failures are logged and the cache
116
116
  // retains its last-known value.
117
117
  //
118
- // settingSources: comma-separated string, defaults to 'user,project,local'
118
+ // settingSources: string array, defaults to ['user','project','local']
119
119
  // to match the prior CLI --setting-sources flag.
120
120
  function refresh(settingSources) {
121
121
  if (_refreshPromise) return _refreshPromise;
@@ -130,7 +130,7 @@ function refresh(settingSources) {
130
130
  return;
131
131
  }
132
132
 
133
- var sources = settingSources || "user,project,local";
133
+ var sources = Array.isArray(settingSources) ? settingSources : ["user", "project", "local"];
134
134
  var abortController = new AbortController();
135
135
  var queryInstance = null;
136
136
  try {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.0.4-beta.2",
6
+ "version": "1.0.4-beta.3",
7
7
  "description": "Self-hosted console for Claude Code and Codex. Multi-user, browser-based, persistent AI sessions.",
8
8
  "bin": {
9
9
  "clagentic": "./bin/cli.js",