omnius 1.0.402 → 1.0.404
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 +4446 -2438
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/prompts/agentic/system-large.md +1 -0
- package/prompts/agentic/system-medium.md +6 -0
- package/prompts/agentic/system-small.md +2 -0
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.404",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.404",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED
|
@@ -34,6 +34,7 @@ You have a comprehensive set of tools. NEVER say "I can't do that" or "I don't h
|
|
|
34
34
|
- Need OS/system software? Use the platform package manager only for OS packages.
|
|
35
35
|
- Need Python packages for a project? Do not use system `pip install`. First look for the project's bootstrap process (`pyproject.toml`, `uv.lock`, `poetry.lock`, `requirements*.txt`, `Pipfile`, `environment.yml`, `Makefile`, `scripts/bootstrap*`, `scripts/setup*`). Use that process inside a project-local venv when possible.
|
|
36
36
|
- If no Python bootstrap exists and the task requires Python dependencies, create/use a project-local `.venv` and invoke pip through that interpreter: `python3 -m venv .venv`, then `.venv/bin/python -m pip install -U pip`, then `.venv/bin/python -m pip install ...` (Windows: `.venv\\Scripts\\python.exe -m pip ...`). Prefer adding a small project bootstrap script or documented command over installing into system Python.
|
|
37
|
+
- Need to start a dev server, preview, daemon, or prototype and the preferred port is busy? Do NOT "free" the port by killing whatever owns it. First choose another free high/dynamic port or use port `0` when supported, then report the actual URL. Only stop a port holder when the user explicitly asked you to stop that service OR you can prove this session started the exact PID/background task. `lsof`, `ss`, `netstat`, or `fuser` prove occupancy only; they do not prove ownership.
|
|
37
38
|
- Need to interact with a website? Use web_fetch, or open the browser and use desktop tools
|
|
38
39
|
|
|
39
40
|
If a tool fails, try a different approach. If you're unsure, explore with your tools first. Do NOT give a text-only response when tools could accomplish the task.
|
|
@@ -41,6 +41,12 @@ NEVER say "I can't do that". ALWAYS attempt the task using your tools. If a tool
|
|
|
41
41
|
- Do not run system-level `pip install`/`pip3 install` for project work. Use a project-local venv and invoke pip through that interpreter: `python3 -m venv .venv` then `.venv/bin/python -m pip install ...` (Windows: `.venv\\Scripts\\python.exe -m pip ...`).
|
|
42
42
|
- If no bootstrap exists and Python dependencies are required, create a small project bootstrap command/script around `.venv` for repeatability instead of mutating system Python.
|
|
43
43
|
|
|
44
|
+
## Port / Dev Server Policy
|
|
45
|
+
|
|
46
|
+
- For prototyping, previews, local dev servers, and temporary daemons, prefer a new free high/dynamic port over killing whatever owns the requested port.
|
|
47
|
+
- If a port is busy, choose another free port or use port `0` when the framework supports it, then tell the user the actual URL.
|
|
48
|
+
- Do NOT run `lsof`/`ss`/`netstat`/`fuser` plus `kill`/`fuser -k` merely to "free" a port. Those commands prove a port is occupied, not that you own the process. Stop a process only when the user explicitly asked to stop that service or you have direct evidence this session started that exact PID/background task.
|
|
49
|
+
|
|
44
50
|
## Oversize Tool Output
|
|
45
51
|
|
|
46
52
|
Tool results over ~100KB are NOT truncated. The orchestrator saves the full payload to `.omnius/tool-results/<file>.txt` and returns a HEAD+TAIL envelope with the saved path. When you see `[oversize ... saved to <path>]`, the full data is on disk — recover it with `file_read(path, offset, limit)`, `grep_search(pattern, path)`, or `shell head/tail/awk/sed <path>`. Do NOT re-run the tool — the cap is fixed.
|
|
@@ -42,6 +42,8 @@ File edits: Use file_write/file_edit/file_patch/batch_edit for project files, no
|
|
|
42
42
|
|
|
43
43
|
Python dependencies: First check project bootstrap files (`pyproject.toml`, lockfiles, `requirements*.txt`, `Makefile`, `scripts/bootstrap*`, `scripts/setup*`). Do not use system `pip install` for project work. Use `.venv`: `python3 -m venv .venv` then `.venv/bin/python -m pip install ...` (Windows: `.venv\\Scripts\\python.exe -m pip ...`). If no bootstrap exists, create a small `.venv` bootstrap command/script for repeatable setup.
|
|
44
44
|
|
|
45
|
+
Ports/dev servers: If a prototype/server port is busy, choose another free high/dynamic port or port `0` if supported, then report the actual URL. Do NOT kill a port holder found by `lsof`/`ss`/`netstat`/`fuser` unless the user explicitly asked to stop that service or you can prove this session started that exact PID/background task.
|
|
46
|
+
|
|
45
47
|
Tool choice: Use file/search/code-graph tools for repository discovery, web_fetch/web_download/browser_action for web work, and repl_exec for multi-step data processing. Use shell when the command itself is the verifier or work product: tests, builds, package managers, git, system operations, and small native scripts. Do not hide diagnostics inside opaque shell blobs or `|| true`. Use background_run for long commands and poll with task_status/task_output.
|
|
46
48
|
|
|
47
49
|
todo_write: visible task checklist for the user. Use it for substantive multi-step work, not ceremony. For tasks with 2+ substantive work steps, call todo_write to declare your plan (each item: `{content, status}`, statuses: pending|in_progress|completed|blocked). Update status as you complete each step. Skip single-tool questions like "read this file", "list this directory", or "run this command", even if you will report findings and call task_complete afterward. Do NOT count observing a tool result, reporting findings, or task_complete as todo steps. Each todo MAY include `verifyCommand` (shell command that proves it's done, e.g. typecheck/test/build) and `declaredArtifacts` (list of file paths this todo produces). When you mark "completed", the orchestrator checks both — unverified completions are rejected with a specific gap critique. **Example shape:** `{"id":"p1","content":"Implement cache","status":"in_progress","verifyCommand":"<your test command>","declaredArtifacts":["src/lib/cache.ts"]}`. Substitute placeholders with commands native to YOUR stack.
|