iosm-cli 0.2.1 → 0.2.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.
- package/CHANGELOG.md +53 -0
- package/README.md +8 -7
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +2 -3
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/models-dev-provider-catalog.d.ts +30 -0
- package/dist/core/models-dev-provider-catalog.d.ts.map +1 -0
- package/dist/core/models-dev-provider-catalog.js +118 -0
- package/dist/core/models-dev-provider-catalog.js.map +1 -0
- package/dist/core/models-dev-providers.d.ts +12 -0
- package/dist/core/models-dev-providers.d.ts.map +1 -0
- package/dist/core/models-dev-providers.js +736 -0
- package/dist/core/models-dev-providers.js.map +1 -0
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +3 -11
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.d.ts +13 -1
- package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.js +89 -27
- package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +12 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +232 -20
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/docs/configuration.md +4 -1
- package/docs/getting-started.md +2 -2
- package/docs/interactive-mode.md +1 -1
- package/package.json +2 -2
package/docs/configuration.md
CHANGED
|
@@ -186,6 +186,9 @@ Index storage (global cache):
|
|
|
186
186
|
|
|
187
187
|
### Provider API Keys
|
|
188
188
|
|
|
189
|
+
`/login` supports the full provider catalog from `models.dev` and stores credentials in `~/.iosm/agent/auth.json`.
|
|
190
|
+
The table below lists common environment variables, but is not exhaustive.
|
|
191
|
+
|
|
189
192
|
| Variable | Provider | Notes |
|
|
190
193
|
|----------|----------|-------|
|
|
191
194
|
| `ANTHROPIC_API_KEY` | Anthropic (Claude) | Primary recommended provider |
|
|
@@ -360,7 +363,7 @@ iosm --provider azure --model gpt-5.3
|
|
|
360
363
|
|
|
361
364
|
### OAuth-Based Providers
|
|
362
365
|
|
|
363
|
-
Some providers support OAuth login (for example, Qwen CLI free OAuth):
|
|
366
|
+
Some providers support OAuth login (for example, Qwen CLI free OAuth). API-key providers are available via the same `/login` flow from the models.dev catalog:
|
|
364
367
|
|
|
365
368
|
```bash
|
|
366
369
|
iosm
|
package/docs/getting-started.md
CHANGED
|
@@ -64,7 +64,7 @@ export OPENROUTER_API_KEY="sk-or-..."
|
|
|
64
64
|
export MISTRAL_API_KEY="..."
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
You can also use `/login` in interactive mode for OAuth providers
|
|
67
|
+
You can also use `/login` in interactive mode for OAuth providers and API-key providers from the full `models.dev` catalog:
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
70
|
iosm
|
|
@@ -91,7 +91,7 @@ You'll see a prompt where you can type messages. The agent has access to your fi
|
|
|
91
91
|
| Command | What it does |
|
|
92
92
|
|---------|-------------|
|
|
93
93
|
| `/model` | Pick or change the active model |
|
|
94
|
-
| `/login` | Authenticate with OAuth providers
|
|
94
|
+
| `/login` | Authenticate with OAuth providers or add API keys for providers from models.dev catalog |
|
|
95
95
|
| `/semantic` | Configure semantic provider and index/query meaning-based code search |
|
|
96
96
|
| `/init` | Bootstrap IOSM artifacts for the current project |
|
|
97
97
|
| `/agents` | View available custom/system agents |
|
package/docs/interactive-mode.md
CHANGED
|
@@ -97,7 +97,7 @@ iosm --continue
|
|
|
97
97
|
| `/reload` | Reload extensions and resources | `/reload` |
|
|
98
98
|
| `/permissions` | View/set tool permissions | `/permissions` |
|
|
99
99
|
| `/yolo` | Toggle auto-approve mode | `/yolo on` |
|
|
100
|
-
| `/login` | Authenticate with provider (OAuth
|
|
100
|
+
| `/login` | Authenticate with provider (OAuth + API key providers from full models.dev catalog) | `/login` |
|
|
101
101
|
| `/auth` | Alias for `/login` | `/auth` |
|
|
102
102
|
| `/logout` | Clear saved provider credentials | `/logout` |
|
|
103
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iosm-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Standalone IOSM CLI with agent tooling, session management, and IOSM artifact orchestration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"iosmConfig": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"clean": "shx rm -rf dist",
|
|
33
33
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
|
|
34
34
|
"build": "tsc -p tsconfig.build.json && shx chmod +x dist/cli.js && npm run copy-assets",
|
|
35
|
-
"deploy-local": "npm run build &&
|
|
35
|
+
"deploy-local": "npm run build && node scripts/deploy-local.mjs",
|
|
36
36
|
"build:binary": "npm run build && bun build --compile ./dist/cli.js --outfile dist/iosm && npm run copy-binary-assets",
|
|
37
37
|
"check": "tsc --noEmit -p tsconfig.build.json",
|
|
38
38
|
"copy-assets": "shx mkdir -p dist/modes/interactive/theme && shx cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && shx mkdir -p dist/core/export-html/vendor && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html/ && shx cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/",
|