omnius 1.0.250 → 1.0.251

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/dist/index.js CHANGED
@@ -631513,9 +631513,14 @@ async function prewarmImageModel(ctx3, model, backend) {
631513
631513
  async function handlePointcloudCommand(ctx3, arg, _hasLocal) {
631514
631514
  const parsed = parseImageCommand(arg);
631515
631515
  const tool = new PointcloudGenerateTool(ctx3.repoRoot);
631516
+ tool.setProgressHandler((event) => {
631517
+ renderInfo(event.message);
631518
+ });
631516
631519
  if (!parsed.prompt || parsed.subcommand === "menu") {
631520
+ const result2 = await tool.execute({ action: "list_models" });
631521
+ if (result2.success) safeLog(result2.output);
631517
631522
  renderInfo(
631518
- "Point cloud generation creates 3D PLY files from images using depth estimation.\n Models: Depth-Anything-V3 (monocular) or MDA (multi-view)\n Usage: /pointcloud --image <path> [--model <model>] [--backend <backend>]\n /pointcloud --image path1,path2 --backend mda (multi-view)\n Subcommands: setup, list, prewarm"
631523
+ "Usage:\n /pointcloud --image <path> [--model <id>] [--backend depth-anything|mda]\n /pointcloud --image path1,path2 --backend mda (multi-view)"
631519
631524
  );
631520
631525
  return "handled";
631521
631526
  }
@@ -631526,17 +631531,12 @@ async function handlePointcloudCommand(ctx3, arg, _hasLocal) {
631526
631531
  return "handled";
631527
631532
  }
631528
631533
  if (parsed.subcommand === "setup") {
631529
- const backend2 = String(
631530
- parsed.flags["backend"] || parsed.prompt.split(/\s+/)[1] || "depth-anything"
631531
- );
631532
- const model2 = String(parsed.flags["model"] || "");
631533
- const result2 = await tool.execute({
631534
- action: "setup",
631535
- backend: backend2,
631536
- model: model2 || void 0
631537
- });
631538
- if (result2.success) safeLog(result2.output);
631539
- else renderError(result2.error || "Setup plan failed.");
631534
+ const model2 = String(parsed.flags["model"] || "depth-anything-v3-base");
631535
+ const backend2 = String(parsed.flags["backend"] || "depth-anything");
631536
+ renderInfo(`Auto-setting up ${model2}...`);
631537
+ const result2 = await tool.execute({ action: "prewarm", model: model2, backend: backend2 });
631538
+ if (result2.success) renderInfo(`Ready: ${model2}`);
631539
+ else renderError(result2.error || "Setup failed.");
631540
631540
  return "handled";
631541
631541
  }
631542
631542
  if (parsed.subcommand === "prewarm") {
@@ -631544,14 +631544,14 @@ async function handlePointcloudCommand(ctx3, arg, _hasLocal) {
631544
631544
  const backend2 = String(parsed.flags["backend"] || "depth-anything");
631545
631545
  renderInfo(`Pre-warming ${model2}...`);
631546
631546
  const result2 = await tool.execute({ action: "prewarm", model: model2, backend: backend2 });
631547
- if (result2.success) renderInfo(result2.output);
631547
+ if (result2.success) renderInfo(`Ready: ${model2}`);
631548
631548
  else renderError(result2.error || "Prewarm failed.");
631549
631549
  return "handled";
631550
631550
  }
631551
631551
  const image = String(parsed.flags["image"] || "");
631552
631552
  if (!image) {
631553
631553
  renderError(
631554
- "No --image provided. Usage: /pointcloud --image <path> [--model <model>]"
631554
+ "No --image provided. Usage: /pointcloud --image <path> [--model <id>]"
631555
631555
  );
631556
631556
  return "handled";
631557
631557
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.250",
3
+ "version": "1.0.251",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.250",
9
+ "version": "1.0.251",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.250",
3
+ "version": "1.0.251",
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",