iosm-cli 0.2.6 → 0.2.7
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 +26 -0
- package/README.md +7 -7
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +4 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/core/agent-profiles.d.ts.map +1 -1
- package/dist/core/agent-profiles.js +3 -1
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +14 -1
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/sdk.d.ts +2 -2
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +3 -3
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/shadow-guard.js +1 -1
- package/dist/core/shadow-guard.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +17 -2
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/fetch.d.ts +56 -0
- package/dist/core/tools/fetch.d.ts.map +1 -0
- package/dist/core/tools/fetch.js +272 -0
- package/dist/core/tools/fetch.js.map +1 -0
- package/dist/core/tools/fs-ops.d.ts +54 -0
- package/dist/core/tools/fs-ops.d.ts.map +1 -0
- package/dist/core/tools/fs-ops.js +206 -0
- package/dist/core/tools/fs-ops.js.map +1 -0
- package/dist/core/tools/git-read.d.ts +60 -0
- package/dist/core/tools/git-read.d.ts.map +1 -0
- package/dist/core/tools/git-read.js +267 -0
- package/dist/core/tools/git-read.js.map +1 -0
- package/dist/core/tools/index.d.ts +44 -0
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/index.js +22 -0
- package/dist/core/tools/index.js.map +1 -1
- package/dist/core/tools/task.js +1 -1
- package/dist/core/tools/task.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +56 -22
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/docs/cli-reference.md +4 -1
- package/docs/configuration.md +2 -2
- package/docs/interactive-mode.md +2 -2
- package/docs/rpc-json-sdk.md +1 -1
- package/package.json +1 -1
package/docs/cli-reference.md
CHANGED
|
@@ -257,13 +257,16 @@ iosm --api-key sk-test-123 # Override for this run
|
|
|
257
257
|
|
|
258
258
|
### Available Tools
|
|
259
259
|
|
|
260
|
-
`read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`, `rg`, `fd`, `ast_grep`, `comby`, `jq`, `yq`, `semgrep`, `sed`, `semantic_search`
|
|
260
|
+
`read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`, `rg`, `fd`, `ast_grep`, `comby`, `jq`, `yq`, `semgrep`, `sed`, `semantic_search`, `fetch`, `git_read`, `fs_ops`
|
|
261
261
|
|
|
262
262
|
Tool notes:
|
|
263
263
|
- `rg`, `fd` are managed by iosm-cli and auto-resolved when missing.
|
|
264
264
|
- `ast_grep`, `comby`, `jq`, `yq`, `semgrep` are optional external CLIs and should be available in `PATH` to use their tools.
|
|
265
265
|
- `sed` tool is preview/extraction-oriented; in-place edits are intentionally blocked.
|
|
266
266
|
- `semantic_search` uses configured embeddings provider/index (`/semantic setup`).
|
|
267
|
+
- `fetch` is profile-aware: read-only profiles allow only `GET/HEAD/OPTIONS`; write-capable profiles allow full HTTP method set.
|
|
268
|
+
- `git_read` provides structured read-only git actions (`status`, `diff`, `log`, `blame`) without raw shell passthrough.
|
|
269
|
+
- `fs_ops` performs structured filesystem mutations (`mkdir`, `move`, `copy`, `delete`) with explicit `recursive`/`force` safety flags.
|
|
267
270
|
|
|
268
271
|
**Examples:**
|
|
269
272
|
|
package/docs/configuration.md
CHANGED
|
@@ -245,8 +245,8 @@ Profiles control the agent's behavior, available tools, and system prompt.
|
|
|
245
245
|
|
|
246
246
|
| Profile | Tools | Behavior |
|
|
247
247
|
|---------|-------|----------|
|
|
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
|
-
| `plan` | Read-only (read, grep, find, ls) | Architecture planning and code review |
|
|
248
|
+
| `full` | All built-ins (read, bash, edit, write, fs_ops, grep, find, ls, rg, fd, ast_grep, comby, jq, yq, semgrep, sed, semantic_search, fetch, git_read) | Default full development capabilities |
|
|
249
|
+
| `plan` | Read-only bundle (read, grep, find, ls, rg, fd, ast_grep, comby, jq, yq, semgrep, sed, semantic_search, fetch, git_read) | Architecture planning and code review |
|
|
250
250
|
| `iosm` | All + IOSM context | IOSM cycle execution with artifact synchronization |
|
|
251
251
|
| `meta` | Full tools + orchestration-first contract | Adaptive multi-agent/delegate execution with verification closure |
|
|
252
252
|
|
package/docs/interactive-mode.md
CHANGED
|
@@ -336,8 +336,8 @@ Profiles change the agent's behavior, available tools, and system prompt:
|
|
|
336
336
|
|
|
337
337
|
| Profile | Tools | Use Case |
|
|
338
338
|
|---------|-------|----------|
|
|
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 |
|
|
340
|
-
| `plan` | Read-only (read, grep, find, ls) | Architecture planning, code review |
|
|
339
|
+
| `full` | All built-ins (read, bash, edit, write, fs_ops, grep, find, ls, rg, fd, ast_grep, comby, jq, yq, semgrep, sed, semantic_search, fetch, git_read) | Default development work |
|
|
340
|
+
| `plan` | Read-only bundle (read, grep, find, ls, rg, fd, ast_grep, comby, jq, yq, semgrep, sed, semantic_search, fetch, git_read) | Architecture planning, code review |
|
|
341
341
|
| `iosm` | All + IOSM context | IOSM cycle execution with artifact sync |
|
|
342
342
|
| `meta` | Full toolset + orchestration-first contract | Adaptive multi-agent/delegate execution with verification closure |
|
|
343
343
|
|
package/docs/rpc-json-sdk.md
CHANGED
|
@@ -233,7 +233,7 @@ const { session } = await createAgentSession({
|
|
|
233
233
|
import { readOnlyTools } from "iosm-cli";
|
|
234
234
|
|
|
235
235
|
const { session } = await createAgentSession({
|
|
236
|
-
tools: readOnlyTools, //
|
|
236
|
+
tools: readOnlyTools, // Read-only bundle (code search + semantic + HTTP/git introspection)
|
|
237
237
|
authStorage,
|
|
238
238
|
modelRegistry,
|
|
239
239
|
});
|