omp-fabric 1.26.12 → 1.26.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omp-fabric",
3
- "version": "1.26.12",
3
+ "version": "1.26.13",
4
4
  "description": "A programmable tool and agent runtime for Oh My Pi (OMP)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -33,7 +33,7 @@ Shell tools reject on an ordinary nonzero exit; pass `settle:true` to get `{ok:f
33
33
 
34
34
  Aliases are normalized to canonical fields before host validation. Command aliases include `cmd`/`shell`/`cmdline`/`script`/`commandLine`; pattern aliases include `query`/`regex`/`search` plus `q`/`expression`/`text` for grep and `name`/`filename`/`glob`/`include` for find. Path aliases include `file`, `file_path`, camel-case path variants, `dir`/`folder`/`directory`, and target-file variants. Edit text accepts `old`/`from`/`old_string`-style and `new`/`to`/`replacement`/`new_string`-style spellings, including inside `edits`; write content accepts `contents`/`body`/`text`/`data`/`fileContent`. `ic`/`caseInsensitive`→`ignoreCase`, `globPattern`→`glob`, `ctx`→`context`, `max`→`limit`, and `start`→`offset`.
35
35
 
36
- `async:true` starts the command as a host background job: the call resolves at once with `details.async.jobId`, the command keeps running past this program, and its output reaches the agent as a follow-up message. The program never sees that output, and `settle` has nothing to settle on a call that resolved, so await `omp.wait()` when a later step needs its result. `omp.wait()` takes no arguments and returns the next finished background job result owned by this session; never poll it with `sleep`, because every poll is a wasted turn. With nothing running it rejects ("Nothing to wait for") instead of returning, so guard it or leave the wait to a turn where a job is live. Foreground calls are never backgrounded on their own, whatever their duration; `executor.autoBackground` is the setting that arms the host handover. Both `async:true` and `omp.wait()` need this session to have a live owning agent with a host job manager, so start a new session; do not rely on one appearing mid-session. Where that owner is missing, parked, or has no manager, `async` leaves the schema and passing it anyway fails with `Async bash execution is disabled`, and `omp.wait()` returns "No running background jobs to wait for."
36
+ `async:true` starts the command as a host background job: the call resolves at once with `details.async.jobId`, the command keeps running past this program, and its output reaches the agent as a follow-up message. The program never sees that output, and `settle` has nothing to settle on a call that resolved, so await `omp.wait()` when a later step needs its result. `omp.wait()` takes no arguments and returns the next finished background job result owned by this session; never poll it with `sleep`, because every poll is a wasted turn. With nothing running it resolves at once with a "Nothing to wait for" result and waits for nothing, so start the job first or leave the wait to a turn where a job is live. Foreground calls are never backgrounded on their own, whatever their duration; `executor.autoBackground` is the setting that arms the host handover. Both `async:true` and `omp.wait()` need this session to have a live owning agent with a host job manager, so start a new session; do not rely on one appearing mid-session. Where that owner is missing, parked, or has no manager, `async` leaves the schema and passing it anyway fails with `Async bash execution is disabled`, and `omp.wait()` returns "No running background jobs to wait for."
37
37
 
38
38
  Shell `timeout` is in seconds; `timeoutMs` is converted from milliseconds. Numeric strings in `limit`, `timeout`, `offset`, `skip`, and `context` coerce to numbers. `null`/`undefined` is omitted only for known optional fields; required fields remain invalid so authoritative host validation still reports them. Canonical fields win when both canonical and alias spellings are present. Unknown keys still fail the excess-property type check.
39
39