@4onstudios/iris-agent 0.2.0 → 0.2.1
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/README.md +3 -3
- package/dist/api/acp/providerSetup.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -145,7 +145,7 @@ To switch workspaces, close the process and respawn `iris-agent` with the new
|
|
|
145
145
|
When the current directory is the target workspace, `--workspace` is optional:
|
|
146
146
|
|
|
147
147
|
```sh
|
|
148
|
-
OPENROUTER_API_KEY=... npx
|
|
148
|
+
OPENROUTER_API_KEY=... npx @4onstudios/iris-agent@latest --acp
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
If the selected model's credentials are missing, Iris Agent stops before opening
|
|
@@ -158,7 +158,7 @@ keys in `acp.agents.<name>.env`; do not put them in the argument list:
|
|
|
158
158
|
"acp.agents": {
|
|
159
159
|
"Iris Agent": {
|
|
160
160
|
"command": "npx",
|
|
161
|
-
"args": ["
|
|
161
|
+
"args": ["@4onstudios/iris-agent@latest", "--acp"],
|
|
162
162
|
"env": {
|
|
163
163
|
"OPENROUTER_API_KEY": "your-openrouter-api-key"
|
|
164
164
|
}
|
|
@@ -207,7 +207,7 @@ npm run cli -- --workspace . --chat --modelId openrouter/anthropic/claude-3.7-so
|
|
|
207
207
|
npm run cli -- --workspace . --acp
|
|
208
208
|
|
|
209
209
|
# ACP server from the current workspace
|
|
210
|
-
npx
|
|
210
|
+
npx @4onstudios/iris-agent@latest --acp
|
|
211
211
|
|
|
212
212
|
# ACP server with custom default model
|
|
213
213
|
npm run cli -- --workspace . --acp --modelId openrouter/openai/gpt-4o
|
|
@@ -109,14 +109,14 @@ export const getMissingProviderSetup = (modelId, environment = process.env) => {
|
|
|
109
109
|
`Iris Agent cannot start model '${modelId}' because ${credential} is not configured.`,
|
|
110
110
|
"",
|
|
111
111
|
`Provide ${description} before starting the agent:`,
|
|
112
|
-
` ${credential}=<your-api-key> npx
|
|
112
|
+
` ${credential}=<your-api-key> npx @4onstudios/iris-agent@latest --acp --modelId ${modelId}`,
|
|
113
113
|
"",
|
|
114
114
|
"For VS Code ACP Client, add the key to the agent's environment in settings.json:",
|
|
115
115
|
JSON.stringify({
|
|
116
116
|
"acp.agents": {
|
|
117
117
|
"Iris Agent": {
|
|
118
118
|
command: "npx",
|
|
119
|
-
args: ["
|
|
119
|
+
args: ["@4onstudios/iris-agent@latest", "--acp", "--modelId", modelId],
|
|
120
120
|
env: { [credential]: "<your-api-key>" },
|
|
121
121
|
},
|
|
122
122
|
},
|