iosm-cli 0.1.0 → 0.1.2

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 (74) hide show
  1. package/CHANGELOG.md +3 -1
  2. package/README.md +218 -547
  3. package/dist/cli/args.d.ts.map +1 -1
  4. package/dist/cli/args.js +11 -3
  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 +20 -5
  8. package/dist/core/agent-profiles.js.map +1 -1
  9. package/dist/core/sdk.d.ts +2 -2
  10. package/dist/core/sdk.d.ts.map +1 -1
  11. package/dist/core/sdk.js +3 -3
  12. package/dist/core/sdk.js.map +1 -1
  13. package/dist/core/slash-commands.d.ts.map +1 -1
  14. package/dist/core/slash-commands.js +4 -1
  15. package/dist/core/slash-commands.js.map +1 -1
  16. package/dist/core/system-prompt.d.ts.map +1 -1
  17. package/dist/core/system-prompt.js +34 -3
  18. package/dist/core/system-prompt.js.map +1 -1
  19. package/dist/core/tools/ast-grep.d.ts +12 -0
  20. package/dist/core/tools/ast-grep.d.ts.map +1 -0
  21. package/dist/core/tools/ast-grep.js +12 -0
  22. package/dist/core/tools/ast-grep.js.map +1 -0
  23. package/dist/core/tools/comby.d.ts +12 -0
  24. package/dist/core/tools/comby.d.ts.map +1 -0
  25. package/dist/core/tools/comby.js +14 -0
  26. package/dist/core/tools/comby.js.map +1 -0
  27. package/dist/core/tools/external-cli.d.ts +33 -0
  28. package/dist/core/tools/external-cli.d.ts.map +1 -0
  29. package/dist/core/tools/external-cli.js +201 -0
  30. package/dist/core/tools/external-cli.js.map +1 -0
  31. package/dist/core/tools/fd.d.ts +12 -0
  32. package/dist/core/tools/fd.d.ts.map +1 -0
  33. package/dist/core/tools/fd.js +15 -0
  34. package/dist/core/tools/fd.js.map +1 -0
  35. package/dist/core/tools/index.d.ts +57 -0
  36. package/dist/core/tools/index.d.ts.map +1 -1
  37. package/dist/core/tools/index.js +61 -2
  38. package/dist/core/tools/index.js.map +1 -1
  39. package/dist/core/tools/jq.d.ts +12 -0
  40. package/dist/core/tools/jq.d.ts.map +1 -0
  41. package/dist/core/tools/jq.js +12 -0
  42. package/dist/core/tools/jq.js.map +1 -0
  43. package/dist/core/tools/rg.d.ts +12 -0
  44. package/dist/core/tools/rg.d.ts.map +1 -0
  45. package/dist/core/tools/rg.js +15 -0
  46. package/dist/core/tools/rg.js.map +1 -0
  47. package/dist/core/tools/sed.d.ts +12 -0
  48. package/dist/core/tools/sed.d.ts.map +1 -0
  49. package/dist/core/tools/sed.js +14 -0
  50. package/dist/core/tools/sed.js.map +1 -0
  51. package/dist/core/tools/semgrep.d.ts +12 -0
  52. package/dist/core/tools/semgrep.d.ts.map +1 -0
  53. package/dist/core/tools/semgrep.js +13 -0
  54. package/dist/core/tools/semgrep.js.map +1 -0
  55. package/dist/core/tools/yq.d.ts +12 -0
  56. package/dist/core/tools/yq.d.ts.map +1 -0
  57. package/dist/core/tools/yq.js +12 -0
  58. package/dist/core/tools/yq.js.map +1 -0
  59. package/dist/index.d.ts +2 -2
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +2 -2
  62. package/dist/index.js.map +1 -1
  63. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  64. package/dist/modes/interactive/interactive-mode.js +136 -3
  65. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  66. package/docs/assets/preview.jpg +0 -0
  67. package/docs/cli-reference.md +12 -4
  68. package/docs/configuration.md +4 -4
  69. package/docs/development-and-testing.md +1 -1
  70. package/docs/extensions-packages-themes.md +1 -1
  71. package/docs/getting-started.md +3 -3
  72. package/docs/interactive-mode.md +1 -1
  73. package/docs/rpc-json-sdk.md +1 -1
  74. package/package.json +6 -2
Binary file
@@ -168,7 +168,7 @@ iosm --no-session # Ephemeral run
168
168
 
169
169
  | Format | Example | Description |
170
170
  |--------|---------|-------------|
171
- | `provider/model-id` | `openai/gpt-4o` | Explicit provider and model |
171
+ | `provider/model-id` | `openai/gpt-5.3` | Explicit provider and model |
172
172
  | `model-id` | `sonnet` | Model with auto-detected provider |
173
173
  | `model-id:thinking` | `sonnet:high` | Model with thinking level |
174
174
 
@@ -186,11 +186,11 @@ iosm --no-session # Ephemeral run
186
186
  **Examples:**
187
187
 
188
188
  ```bash
189
- iosm --provider openai --model gpt-4o
189
+ iosm --provider openai --model gpt-5.3
190
190
  iosm --model anthropic/claude-sonnet-4-20250514
191
191
  iosm --model sonnet:high
192
192
  iosm --thinking medium
193
- iosm --models "sonnet,gpt-4o,gemini-2.5-pro"
193
+ iosm --models "sonnet,gpt-5.3,gemini-2.5-pro"
194
194
  iosm --list-models # All models
195
195
  iosm --list-models gemini # Filter by name
196
196
  iosm --api-key sk-test-123 # Override for this run
@@ -209,7 +209,12 @@ iosm --api-key sk-test-123 # Override for this run
209
209
 
210
210
  ### Available Tools
211
211
 
212
- `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`
212
+ `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`, `rg`, `fd`, `ast_grep`, `comby`, `jq`, `yq`, `semgrep`, `sed`
213
+
214
+ Tool notes:
215
+ - `rg`, `fd` are managed by iosm-cli and auto-resolved when missing.
216
+ - `ast_grep`, `comby`, `jq`, `yq`, `semgrep` are optional external CLIs and should be available in `PATH` to use their tools.
217
+ - `sed` tool is preview/extraction-oriented; in-place edits are intentionally blocked.
213
218
 
214
219
  **Examples:**
215
220
 
@@ -220,6 +225,9 @@ iosm
220
225
  # Read-only analysis
221
226
  iosm --tools read,grep,find,ls -p "Audit for dead code"
222
227
 
228
+ # Structural/security analysis pass
229
+ iosm --tools read,rg,ast_grep,semgrep -p "Find risky auth patterns and report"
230
+
223
231
  # No tools
224
232
  iosm --no-tools -p "Explain polymorphism"
225
233
 
@@ -165,7 +165,7 @@ Profiles control the agent's behavior, available tools, and system prompt.
165
165
 
166
166
  | Profile | Tools | Behavior |
167
167
  |---------|-------|----------|
168
- | `full` | All (read, bash, edit, write, grep, find, ls) | Default full development capabilities |
168
+ | `full` | All built-ins (read, bash, edit, write, grep, find, ls, rg, fd, ast_grep, comby, jq, yq, semgrep, sed) | Default full development capabilities |
169
169
  | `plan` | Read-only (read, grep, find, ls) | Architecture planning and code review |
170
170
  | `iosm` | All + IOSM context | IOSM cycle execution with artifact synchronization |
171
171
 
@@ -248,8 +248,8 @@ iosm --model sonnet:high # With thinking
248
248
  ```bash
249
249
  export OPENAI_API_KEY="sk-..."
250
250
 
251
- iosm --model gpt-4o
252
- iosm --model openai/gpt-4o-mini
251
+ iosm --model gpt-5.3
252
+ iosm --model openai/gpt-5.3-mini
253
253
  ```
254
254
 
255
255
  ### Google Gemini
@@ -278,7 +278,7 @@ iosm --provider bedrock --model anthropic.claude-v2
278
278
  export AZURE_OPENAI_API_KEY="..."
279
279
  export AZURE_OPENAI_ENDPOINT="https://your-resource.openai.azure.com"
280
280
 
281
- iosm --provider azure --model gpt-4o
281
+ iosm --provider azure --model gpt-5.3
282
282
  ```
283
283
 
284
284
  ### OAuth-Based Providers
@@ -157,7 +157,7 @@ Tests are organized by feature area:
157
157
 
158
158
  | Area | Test Files | Coverage |
159
159
  |------|-----------|----------|
160
- | **Tools** | `tools.test.ts` | All 7 built-in tools |
160
+ | **Tools** | `tools.test.ts` | Built-in tools (`read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`, `rg`, `fd`, `ast_grep`, `comby`, `jq`, `yq`, `semgrep`, `sed`) |
161
161
  | **Session** | `session-manager/`, `session-*.test.ts` | Persistence, branching, migration |
162
162
  | **Extensions** | `extensions-*.test.ts` | Discovery, running, hooks, input events |
163
163
  | **Compaction** | `compaction*.test.ts` | Context summarization |
@@ -166,7 +166,7 @@ export default function (pi: ExtensionAPI) {
166
166
  handler: async (args, ctx) => {
167
167
  const choice = await ctx.ui.select("Select Model", [
168
168
  { label: "Claude Sonnet", value: "sonnet" },
169
- { label: "GPT-4o", value: "gpt-4o" },
169
+ { label: "GPT-5.3", value: "gpt-5.3" },
170
170
  { label: "Gemini Pro", value: "gemini-pro" },
171
171
  ]);
172
172
  if (choice) {
@@ -123,7 +123,7 @@ iosm -p "Review src/ and list the top 5 refactoring opportunities"
123
123
  iosm --tools read,grep,find,ls -p "Audit src/ for dead code"
124
124
 
125
125
  # With a specific model
126
- iosm --model openai/gpt-4o -p "Explain the auth module"
126
+ iosm --model openai/gpt-5.3 -p "Explain the auth module"
127
127
 
128
128
  # With file attachments
129
129
  iosm @README.md @src/main.ts -p "How does the CLI entry point work?"
@@ -184,12 +184,12 @@ Select a model at startup or switch during a session:
184
184
  ```bash
185
185
  # At startup
186
186
  iosm --model sonnet # Claude Sonnet
187
- iosm --model openai/gpt-4o # GPT-4o
187
+ iosm --model openai/gpt-5.3 # GPT-5.3
188
188
  iosm --model gemini-2.5-pro # Gemini Pro
189
189
  iosm --model sonnet:high # With high thinking level
190
190
 
191
191
  # Model rotation (cycles through models)
192
- iosm --models "sonnet,gpt-4o,gemini-2.5-pro"
192
+ iosm --models "sonnet,gpt-5.3,gemini-2.5-pro"
193
193
 
194
194
  # During interactive session
195
195
  /model # Opens model selector
@@ -161,7 +161,7 @@ Profiles change the agent's behavior, available tools, and system prompt:
161
161
 
162
162
  | Profile | Tools | Use Case |
163
163
  |---------|-------|----------|
164
- | `full` | All (read, bash, edit, write, grep, find, ls) | Default development work |
164
+ | `full` | All built-ins (read, bash, edit, write, grep, find, ls, rg, fd, ast_grep, comby, jq, yq, semgrep, sed) | Default development work |
165
165
  | `plan` | Read-only (read, grep, find, ls) | Architecture planning, code review |
166
166
  | `iosm` | All + IOSM context | IOSM cycle execution with artifact sync |
167
167
 
@@ -156,7 +156,7 @@ iosm -p "Generate API documentation for src/core/sdk.ts" > api-docs.md
156
156
  iosm --tools read,grep,find,ls -p "List all external dependencies and their versions"
157
157
 
158
158
  # With specific model
159
- iosm --model gpt-4o -p "Explain the authentication flow"
159
+ iosm --model gpt-5.3 -p "Explain the authentication flow"
160
160
 
161
161
  # With file attachments
162
162
  iosm @src/auth.ts -p "Find vulnerabilities in this file"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iosm-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Standalone IOSM CLI with agent tooling, session management, and IOSM artifact orchestration",
5
5
  "type": "module",
6
6
  "iosmConfig": {
@@ -100,8 +100,12 @@
100
100
  "type": "git",
101
101
  "url": "https://github.com/rokoss21/iosm-cli.git"
102
102
  },
103
+ "homepage": "https://github.com/rokoss21/iosm-cli#readme",
104
+ "bugs": {
105
+ "url": "https://github.com/rokoss21/iosm-cli/issues"
106
+ },
103
107
  "license": "MIT",
104
108
  "engines": {
105
109
  "node": ">=20.6.0"
106
110
  }
107
- }
111
+ }