open-agents-ai 0.187.299 → 0.187.300

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 +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -297392,10 +297392,11 @@ async function handleSlashCommand(input, ctx3) {
297392
297392
  description: "Show/set OA_ACCESS (loopback|lan|any)",
297393
297393
  handler: async ({ arg: arg2, hasLocal: hasLocal2, ctx: ctx4 }) => {
297394
297394
  const normalize2 = (v) => v.toLowerCase().trim();
297395
+ const normalizeMode2 = (v) => v === "all" ? "any" : v;
297395
297396
  const curAccess2 = normalize2(process.env["OA_ACCESS"] ?? "");
297396
297397
  const curHost2 = process.env["OA_HOST"] ?? "0.0.0.0:11435";
297397
297398
  const allowed2 = /* @__PURE__ */ new Set(["loopback", "lan", "any"]);
297398
- const val2 = normalize2(arg2);
297399
+ const val2 = normalizeMode2(normalize2(arg2));
297399
297400
  if (!val2) {
297400
297401
  renderInfo2(`Access: ${curAccess2 || "(default)"} Host: ${curHost2}`);
297401
297402
  renderInfo2("Use /access loopback|lan|any to change (restarts daemon).\n");
@@ -297420,10 +297421,11 @@ async function handleSlashCommand(input, ctx3) {
297420
297421
  }
297421
297422
  });
297422
297423
  const normalize = (v) => v.toLowerCase().trim();
297424
+ const normalizeMode = (v) => v === "all" ? "any" : v;
297423
297425
  const curAccess = normalize(process.env["OA_ACCESS"] ?? "");
297424
297426
  const curHost = process.env["OA_HOST"] ?? "0.0.0.0:11435";
297425
297427
  const allowed = /* @__PURE__ */ new Set(["loopback", "lan", "any"]);
297426
- const val = normalize(arg);
297428
+ const val = normalizeMode(normalize(arg));
297427
297429
  if (!val) {
297428
297430
  renderInfo2(`Access: ${curAccess || "(default)"} Host: ${curHost}`);
297429
297431
  renderInfo2("Use /access loopback|lan|any to change (restarts daemon).\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.299",
3
+ "version": "0.187.300",
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",