opencode-kiro 0.3.2 → 0.3.3

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 (2) hide show
  1. package/dist/server.js +2 -1
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -99,7 +99,8 @@ var server = async (input) => {
99
99
  provider: {
100
100
  id: "kiro",
101
101
  // inject per-model reasoning-effort variants (consumed as providerOptions.kiro.reasoningEffort)
102
- async models(provider, _ctx) {
102
+ async models(provider, ctx) {
103
+ if (!ctx.auth) return provider.models;
103
104
  const { reasoningEffortsFor } = await import("kiro-acp-ai-provider");
104
105
  for (const model of Object.values(provider.models)) {
105
106
  const apiId = model.api?.id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-kiro",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "The ACP-compliant Kiro plugin for opencode: auth via the official kiro-cli login, the live Kiro model lineup through the Agent Client Protocol, and TUI credits display",
5
5
  "license": "MIT",
6
6
  "author": "Nacho F. Lizaur (https://github.com/NachoFLizaur)",