iosm-cli 0.2.3 → 0.2.5
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/CHANGELOG.md +56 -0
- package/README.md +43 -10
- package/dist/cli/args.d.ts +1 -1
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +1 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/core/agent-profiles.d.ts +2 -1
- package/dist/core/agent-profiles.d.ts.map +1 -1
- package/dist/core/agent-profiles.js +18 -5
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-session.d.ts +7 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +64 -15
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/agent-teams.d.ts.map +1 -1
- package/dist/core/agent-teams.js +90 -19
- package/dist/core/agent-teams.js.map +1 -1
- package/dist/core/extensions/types.d.ts +1 -1
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/footer-data-provider.d.ts +6 -1
- package/dist/core/footer-data-provider.d.ts.map +1 -1
- package/dist/core/footer-data-provider.js +9 -0
- package/dist/core/footer-data-provider.js.map +1 -1
- package/dist/core/orchestration-limits.d.ts +6 -0
- package/dist/core/orchestration-limits.d.ts.map +1 -0
- package/dist/core/orchestration-limits.js +6 -0
- package/dist/core/orchestration-limits.js.map +1 -0
- package/dist/core/parallel-task-agent.d.ts +23 -1
- package/dist/core/parallel-task-agent.d.ts.map +1 -1
- package/dist/core/parallel-task-agent.js +110 -20
- package/dist/core/parallel-task-agent.js.map +1 -1
- package/dist/core/sdk.d.ts +6 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +34 -6
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/shared-memory.d.ts +2 -2
- package/dist/core/shared-memory.d.ts.map +1 -1
- package/dist/core/shared-memory.js +220 -91
- package/dist/core/shared-memory.js.map +1 -1
- package/dist/core/singular.d.ts.map +1 -1
- package/dist/core/singular.js +3 -1
- package/dist/core/singular.js.map +1 -1
- package/dist/core/subagents.d.ts +1 -1
- package/dist/core/subagents.d.ts.map +1 -1
- package/dist/core/subagents.js +32 -10
- package/dist/core/subagents.js.map +1 -1
- package/dist/core/swarm/planner.d.ts.map +1 -1
- package/dist/core/swarm/planner.js +200 -12
- package/dist/core/swarm/planner.js.map +1 -1
- package/dist/core/swarm/scheduler.d.ts +2 -0
- package/dist/core/swarm/scheduler.d.ts.map +1 -1
- package/dist/core/swarm/scheduler.js +87 -6
- package/dist/core/swarm/scheduler.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +1 -0
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/ast-grep.d.ts.map +1 -1
- package/dist/core/tools/ast-grep.js +2 -0
- package/dist/core/tools/ast-grep.js.map +1 -1
- package/dist/core/tools/edit.d.ts +8 -4
- package/dist/core/tools/edit.d.ts.map +1 -1
- package/dist/core/tools/edit.js +18 -3
- package/dist/core/tools/edit.js.map +1 -1
- package/dist/core/tools/index.d.ts +9 -7
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/shared-memory.d.ts.map +1 -1
- package/dist/core/tools/shared-memory.js +34 -6
- package/dist/core/tools/shared-memory.js.map +1 -1
- package/dist/core/tools/task.d.ts +10 -3
- package/dist/core/tools/task.d.ts.map +1 -1
- package/dist/core/tools/task.js +830 -184
- package/dist/core/tools/task.js.map +1 -1
- package/dist/core/tools/todo.d.ts +10 -10
- package/dist/core/tools/todo.d.ts.map +1 -1
- package/dist/core/tools/todo.js +135 -17
- package/dist/core/tools/todo.js.map +1 -1
- package/dist/core/tools/yq.d.ts.map +1 -1
- package/dist/core/tools/yq.js +2 -0
- package/dist/core/tools/yq.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts +1 -1
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +10 -9
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +22 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +957 -75
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/docs/cli-reference.md +8 -0
- package/docs/configuration.md +5 -1
- package/docs/interactive-mode.md +7 -1
- package/docs/orchestration-and-subagents.md +5 -0
- package/package.json +1 -1
package/docs/cli-reference.md
CHANGED
|
@@ -137,6 +137,10 @@ These commands run inside interactive mode (`iosm`), not as top-level CLI subcom
|
|
|
137
137
|
- consistency model: `Scopes -> Touches -> Locks -> Gates -> Done`
|
|
138
138
|
- built-in scheduler guards: progress heuristic + conflict density guard
|
|
139
139
|
- high-risk spawn candidates are confirmation-gated
|
|
140
|
+
- `/orchestrate` — legacy manual team splitting remains available:
|
|
141
|
+
- in `--parallel` mode, omitted `--max-parallel` defaults to selected `--agents`
|
|
142
|
+
- if profiles are omitted for parallel assignments, runtime defaults workers to `meta` (except read-only host contexts)
|
|
143
|
+
- assignment hints include `delegate_parallel_hint` for nested delegate planning
|
|
140
144
|
|
|
141
145
|
Migration notes:
|
|
142
146
|
- `/blast` removed in favor of `/singular`
|
|
@@ -329,16 +333,20 @@ iosm --no-extensions --no-skills --no-prompt-templates
|
|
|
329
333
|
| `full` | Default — all tools, full capabilities |
|
|
330
334
|
| `plan` | Read-only architecture/planning |
|
|
331
335
|
| `iosm` | IOSM artifact context and synchronization |
|
|
336
|
+
| `meta` | Full tools + orchestration-first execution contract |
|
|
332
337
|
| `explore` | Exploratory analysis |
|
|
333
338
|
| `iosm_analyst` | IOSM metric deep-dive |
|
|
334
339
|
| `iosm_verifier` | IOSM verification specialist |
|
|
335
340
|
| `cycle_planner` | Cycle planning specialist |
|
|
336
341
|
|
|
342
|
+
**Meta mode quality note:** for complex orchestration use modern models with large context windows (`>=128k`, ideally `>=200k`) and high token limits. Smaller models degrade orchestration stability and synthesis quality.
|
|
343
|
+
|
|
337
344
|
**Examples:**
|
|
338
345
|
|
|
339
346
|
```bash
|
|
340
347
|
iosm --profile plan # Planning mode
|
|
341
348
|
iosm --profile iosm # IOSM mode
|
|
349
|
+
iosm --profile meta # Orchestration-first mode
|
|
342
350
|
iosm --offline # No network
|
|
343
351
|
iosm --session-trace # Enable tracing
|
|
344
352
|
iosm --verbose # Verbose startup
|
package/docs/configuration.md
CHANGED
|
@@ -248,6 +248,7 @@ Profiles control the agent's behavior, available tools, and system prompt.
|
|
|
248
248
|
| `full` | All built-ins (read, bash, edit, write, grep, find, ls, rg, fd, ast_grep, comby, jq, yq, semgrep, sed, semantic_search) | Default full development capabilities |
|
|
249
249
|
| `plan` | Read-only (read, grep, find, ls) | Architecture planning and code review |
|
|
250
250
|
| `iosm` | All + IOSM context | IOSM cycle execution with artifact synchronization |
|
|
251
|
+
| `meta` | Full tools + orchestration-first contract | Adaptive multi-agent/delegate execution with verification closure |
|
|
251
252
|
|
|
252
253
|
### Advanced Profiles
|
|
253
254
|
|
|
@@ -258,15 +259,18 @@ Profiles control the agent's behavior, available tools, and system prompt.
|
|
|
258
259
|
| `iosm_verifier` | IOSM quality gate verification |
|
|
259
260
|
| `cycle_planner` | IOSM cycle planning specialist |
|
|
260
261
|
|
|
262
|
+
> `meta` profile recommendation: for orchestration-heavy work, prefer modern models with large context windows (`>=128k`, ideally `>=200k`) and high output limits. This improves delegate routing, contract retention, and synthesis reliability.
|
|
263
|
+
|
|
261
264
|
### Usage
|
|
262
265
|
|
|
263
266
|
```bash
|
|
264
267
|
# CLI flag
|
|
265
268
|
iosm --profile plan
|
|
266
269
|
iosm --profile iosm
|
|
270
|
+
iosm --profile meta
|
|
267
271
|
|
|
268
272
|
# Interactive: cycle with Shift+Tab
|
|
269
|
-
# full → plan → iosm → full → ...
|
|
273
|
+
# full → plan → iosm → meta → full → ...
|
|
270
274
|
|
|
271
275
|
# In orchestration
|
|
272
276
|
/orchestrate --profiles explore,full,iosm_verifier
|
package/docs/interactive-mode.md
CHANGED
|
@@ -110,6 +110,8 @@ In `/semantic setup`, the headers step is optional: press `Enter` on empty input
|
|
|
110
110
|
`/contract` edits contract fields interactively (`goal`, scope, constraints, quality gates, DoD, risks, etc.), then writes JSON automatically.
|
|
111
111
|
`/singular <request>` runs a two-pass feasibility analysis (baseline scan + standard agent pass), builds concrete implementation options, then prompts `Start with Swarm` / `Continue without Swarm` / `Cancel`.
|
|
112
112
|
`/swarm` enforces `Scopes -> Touches -> Locks -> Gates -> Done`. If effective contract is missing, it blocks execution and opens a bootstrap menu (auto-draft, guided Q&A, or manual `/contract` editor).
|
|
113
|
+
`/orchestrate --parallel` defaults `--max-parallel` to `--agents` when omitted and auto-selects `meta` workers when profiles are not explicitly set (outside read-only host contexts).
|
|
114
|
+
For orchestrate assignments, `delegate_parallel_hint` is carried into child task calls; high hints should trigger nested delegate fan-out or explicit `DELEGATION_IMPOSSIBLE`.
|
|
113
115
|
`/blast` and `/shadow` are removed from active interactive workflow.
|
|
114
116
|
|
|
115
117
|
### `/contract` Detailed Guide
|
|
@@ -289,7 +291,7 @@ Runtime artifacts:
|
|
|
289
291
|
|
|
290
292
|
| Key | Action |
|
|
291
293
|
|-----|--------|
|
|
292
|
-
| `Shift+Tab` | Cycle profile (full → plan → iosm) |
|
|
294
|
+
| `Shift+Tab` | Cycle profile (full → plan → iosm → meta) |
|
|
293
295
|
| `Shift+Ctrl+T` | Cycle thinking level |
|
|
294
296
|
| `Ctrl+P` | Next model in rotation |
|
|
295
297
|
| `Shift+Ctrl+P` | Previous model in rotation |
|
|
@@ -337,6 +339,10 @@ Profiles change the agent's behavior, available tools, and system prompt:
|
|
|
337
339
|
| `full` | All built-ins (read, bash, edit, write, grep, find, ls, rg, fd, ast_grep, comby, jq, yq, semgrep, sed, semantic_search) | Default development work |
|
|
338
340
|
| `plan` | Read-only (read, grep, find, ls) | Architecture planning, code review |
|
|
339
341
|
| `iosm` | All + IOSM context | IOSM cycle execution with artifact sync |
|
|
342
|
+
| `meta` | Full toolset + orchestration-first contract | Adaptive multi-agent/delegate execution with verification closure |
|
|
343
|
+
|
|
344
|
+
> `meta` profile recommendation: use modern high-capability models with large context windows (`>=128k`, ideally `>=200k`) and high output limits.
|
|
345
|
+
> This directly impacts orchestration quality (delegate fan-out, constraint retention, and final synthesis reliability).
|
|
340
346
|
|
|
341
347
|
### Advanced Profiles (via `--profile` or orchestration)
|
|
342
348
|
|
|
@@ -146,6 +146,11 @@ Legacy orchestration remains available for existing workflows:
|
|
|
146
146
|
Analyze security, optimize performance, verify IOSM compliance
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
+
`/orchestrate` parallel defaults in current runtime:
|
|
150
|
+
- if `--max-parallel` is omitted, it defaults to `--agents` (bounded by runtime limit)
|
|
151
|
+
- if worker profiles are omitted, parallel assignments default to `meta` in non-read-only host contexts
|
|
152
|
+
- assignments include `delegate_parallel_hint`; when hint is high, child tasks are expected to fan out with nested delegates (or emit explicit `DELEGATION_IMPOSSIBLE: <reason>`)
|
|
153
|
+
|
|
149
154
|
Use legacy mode when you explicitly need old team-run semantics.
|
|
150
155
|
|
|
151
156
|
---
|