iosm-cli 0.2.5 → 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.
Files changed (59) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/README.md +460 -304
  3. package/dist/cli/args.d.ts.map +1 -1
  4. package/dist/cli/args.js +4 -1
  5. package/dist/cli/args.js.map +1 -1
  6. package/dist/core/agent-profiles.d.ts.map +1 -1
  7. package/dist/core/agent-profiles.js +4 -2
  8. package/dist/core/agent-profiles.js.map +1 -1
  9. package/dist/core/agent-session.d.ts.map +1 -1
  10. package/dist/core/agent-session.js +14 -1
  11. package/dist/core/agent-session.js.map +1 -1
  12. package/dist/core/sdk.d.ts +2 -2
  13. package/dist/core/sdk.d.ts.map +1 -1
  14. package/dist/core/sdk.js +3 -3
  15. package/dist/core/sdk.js.map +1 -1
  16. package/dist/core/shadow-guard.js +1 -1
  17. package/dist/core/shadow-guard.js.map +1 -1
  18. package/dist/core/shared-memory.d.ts +14 -0
  19. package/dist/core/shared-memory.d.ts.map +1 -1
  20. package/dist/core/shared-memory.js +63 -0
  21. package/dist/core/shared-memory.js.map +1 -1
  22. package/dist/core/system-prompt.d.ts.map +1 -1
  23. package/dist/core/system-prompt.js +17 -2
  24. package/dist/core/system-prompt.js.map +1 -1
  25. package/dist/core/tools/fetch.d.ts +56 -0
  26. package/dist/core/tools/fetch.d.ts.map +1 -0
  27. package/dist/core/tools/fetch.js +272 -0
  28. package/dist/core/tools/fetch.js.map +1 -0
  29. package/dist/core/tools/fs-ops.d.ts +54 -0
  30. package/dist/core/tools/fs-ops.d.ts.map +1 -0
  31. package/dist/core/tools/fs-ops.js +206 -0
  32. package/dist/core/tools/fs-ops.js.map +1 -0
  33. package/dist/core/tools/git-read.d.ts +60 -0
  34. package/dist/core/tools/git-read.d.ts.map +1 -0
  35. package/dist/core/tools/git-read.js +267 -0
  36. package/dist/core/tools/git-read.js.map +1 -0
  37. package/dist/core/tools/index.d.ts +44 -0
  38. package/dist/core/tools/index.d.ts.map +1 -1
  39. package/dist/core/tools/index.js +22 -0
  40. package/dist/core/tools/index.js.map +1 -1
  41. package/dist/core/tools/shared-memory.d.ts.map +1 -1
  42. package/dist/core/tools/shared-memory.js +45 -5
  43. package/dist/core/tools/shared-memory.js.map +1 -1
  44. package/dist/core/tools/task.d.ts +12 -1
  45. package/dist/core/tools/task.d.ts.map +1 -1
  46. package/dist/core/tools/task.js +565 -9
  47. package/dist/core/tools/task.js.map +1 -1
  48. package/dist/index.d.ts +1 -1
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/index.js +1 -1
  51. package/dist/index.js.map +1 -1
  52. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  53. package/dist/modes/interactive/interactive-mode.js +185 -26
  54. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  55. package/docs/cli-reference.md +4 -1
  56. package/docs/configuration.md +2 -2
  57. package/docs/interactive-mode.md +2 -2
  58. package/docs/rpc-json-sdk.md +1 -1
  59. package/package.json +1 -1
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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, // Only: read, grep, find, ls
236
+ tools: readOnlyTools, // Read-only bundle (code search + semantic + HTTP/git introspection)
237
237
  authStorage,
238
238
  modelRegistry,
239
239
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iosm-cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Standalone IOSM CLI with agent tooling, session management, and IOSM artifact orchestration",
5
5
  "type": "module",
6
6
  "iosmConfig": {