open-agents-ai 0.185.80 → 0.185.81

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/dist/index.js +9 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -66205,7 +66205,12 @@ var init_web_ui = __esm({
66205
66205
  });
66206
66206
 
66207
66207
  // packages/cli/dist/api/logger.js
66208
+ function setQuiet(quiet) {
66209
+ _quiet = quiet;
66210
+ }
66208
66211
  function log(level, fields) {
66212
+ if (_quiet)
66213
+ return;
66209
66214
  if (LEVEL_NUM[level] > LEVEL_NUM[configuredLevel])
66210
66215
  return;
66211
66216
  if (useJson) {
@@ -66221,7 +66226,7 @@ function log(level, fields) {
66221
66226
  function logRequest(fields) {
66222
66227
  log("info", fields);
66223
66228
  }
66224
- var LEVEL_NUM, configuredLevel, useJson;
66229
+ var LEVEL_NUM, configuredLevel, useJson, _quiet;
66225
66230
  var init_logger = __esm({
66226
66231
  "packages/cli/dist/api/logger.js"() {
66227
66232
  "use strict";
@@ -66233,6 +66238,7 @@ var init_logger = __esm({
66233
66238
  return "info";
66234
66239
  })();
66235
66240
  useJson = (process.env["OA_LOG_FORMAT"] || "json").toLowerCase() !== "text";
66241
+ _quiet = false;
66236
66242
  }
66237
66243
  });
66238
66244
 
@@ -68234,6 +68240,8 @@ async function handleRequest(req, res, ollamaUrl, verbose) {
68234
68240
  }
68235
68241
  }
68236
68242
  function startApiServer(options = {}) {
68243
+ if (options.quiet)
68244
+ setQuiet(true);
68237
68245
  const log2 = options.quiet ? (_msg) => {
68238
68246
  } : (msg) => process.stderr.write(msg);
68239
68247
  let host = "127.0.0.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.185.80",
3
+ "version": "0.185.81",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",