@jmanuelcorral/openteam 0.22.0 → 0.22.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.es.md CHANGED
@@ -945,7 +945,7 @@ Consulta [docs/compatibility.md](docs/compatibility.md). Resumen verificado el `
945
945
 
946
946
  | Superficie | Versión / contrato |
947
947
  | --- | --- |
948
- | openteam | `0.22.0`; versión actual del paquete |
948
+ | openteam | `0.22.1`; versión actual del paquete |
949
949
  | `@opencode-ai/plugin` | `1.18.19` |
950
950
  | `@opencode-ai/sdk` | `1.18.19` |
951
951
  | Hook de routing | `chat.message`; no `chat.params` para cambiar modelo |
package/README.md CHANGED
@@ -903,7 +903,7 @@ See [docs/compatibility.md](docs/compatibility.md). Verified summary as of `2026
903
903
 
904
904
  | Surface | Version / contract |
905
905
  | --- | --- |
906
- | openteam | `0.22.0`; current package version |
906
+ | openteam | `0.22.1`; current package version |
907
907
  | `@opencode-ai/plugin` | `1.18.19` |
908
908
  | `@opencode-ai/sdk` | `1.18.19` |
909
909
  | Routing hook | `chat.message`; not `chat.params` for model changes |
@@ -34,12 +34,12 @@
34
34
  "idempotent": true
35
35
  },
36
36
  "performance": {
37
- "p95Millis": 0.46703899999999976,
37
+ "p95Millis": 0.48969799999997576,
38
38
  "budgetMillis": 50,
39
39
  "samples": 100
40
40
  }
41
41
  },
42
42
  "verdict": "pass",
43
43
  "failedGates": [],
44
- "digest": "8a82d8c669c21edbd756c258fad3222ff85a73c95ca389dcb285746e471c03ac"
44
+ "digest": "74698df75550b729faeaa17c40fa0c31d0570a6348b33f9e8a77cb544c9e17fc"
45
45
  }
@@ -20,7 +20,7 @@
20
20
  "rawFindings": 0
21
21
  },
22
22
  "overhead": {
23
- "p95Millis": 0.3570129999999949,
23
+ "p95Millis": 0.40520899999998505,
24
24
  "budgetMillis": 25,
25
25
  "samples": 1000
26
26
  },
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "verdict": "pass",
37
37
  "failedGates": [],
38
- "digest": "11f48921962389bce45eaaec50943927134b8982b99a4240f9921c4ef9b95dd3"
38
+ "digest": "9ad339e9583126667015455e8b077fd61a7d5e6c03fcfae14a5eafaa0ff7e509"
39
39
  }
package/dist/cli.js CHANGED
@@ -3331,7 +3331,7 @@ var executionSetupMessages = {
3331
3331
  unknownLocalPluginIdentity: (spec) => `plugin entry ${JSON.stringify(spec)} points to a local file whose package identity could not be verified; keep the existing local loader or replace it with an explicit ${JSON.stringify("@jmanuelcorral/openteam@x.y.z")} npm pin before re-running setup`,
3332
3332
  providerModelObjectRequired: (providerID, modelID) => `provider.${providerID}.models.${modelID} must be a JSON object`,
3333
3333
  providerModelLimitObjectRequired: (providerID, modelID) => `provider.${providerID}.models.${modelID}.limit must be a JSON object`,
3334
- providerModelLimitPositiveInteger: (providerID, modelID, field) => `provider.${providerID}.models.${modelID}.limit.${field} must be a positive integer`
3334
+ providerModelLimitInteger: (providerID, modelID, field) => `provider.${providerID}.models.${modelID}.limit.${field} must be ${field === "context" ? "a non-negative integer (0 means unknown)" : "a positive integer"}`
3335
3335
  },
3336
3336
  rolePolicy: {
3337
3337
  whyTitle: "Configure execution and model selection",
@@ -3376,16 +3376,21 @@ var doctorMessages = {
3376
3376
  warningSummary: (count) => ` local model limits: ${count} warning(s)`,
3377
3377
  modelWarning: (providerID, modelID, problems) => ` ⚠ ${providerID}/${modelID}: ${problems}`,
3378
3378
  invalidLimitBlock: "invalid limit block (expected an object)",
3379
- missingOutput: "no limit.output (opencode falls back to its 32 000-token default instead of openteam's 8 192-token client policy)",
3380
- missingContext: "no limit.context (the runtime's usable prompt window remains unknown to opencode)",
3379
+ unconfiguredOutput: "no limit.output (no explicit local output budget; opencode uses its model defaults)",
3380
+ unconfiguredContext: "no limit.context (no explicit usable context budget is configured)",
3381
+ missingOutput: "no limit.output (opencode rejects the provider model because output is required whenever limit is present)",
3382
+ missingContext: "no limit.context (opencode rejects the provider model because context is required whenever limit is present)",
3383
+ unknownContext: "limit.context is 0, so context is unknown and automatic compaction is disabled",
3381
3384
  invalidOutput: "invalid limit.output (expected a positive integer token count)",
3382
- invalidContext: "invalid limit.context (expected a positive integer token count)",
3385
+ invalidContext: "invalid limit.context (expected a non-negative integer token count; 0 means unknown)",
3383
3386
  invalidInput: "invalid limit.input (expected a positive integer token count)",
3384
3387
  outputExceedsContext: "limit.output is greater than or equal to limit.context, so the configured context leaves no usable input window",
3385
3388
  outputExceedsInput: "limit.input is less than or equal to the reserved output budget, so compaction would have no usable input threshold",
3386
3389
  outputRemedy: " remedy: re-run `openteam setup` to write openteam's 8 192-token local output default, then re-run `openteam doctor`.",
3390
+ unconfiguredLimitRemedy: " remedy: the optional limit block may remain absent; to configure explicit limits, manually add a complete limit object in opencode.json with positive output and non-negative context (0 means unknown), because setup fills an absent limit block only for models the runtime currently discovers. Then re-run `openteam doctor`.",
3387
3391
  detectedContextRemedy: " remedy: re-run `openteam setup` while the runtime is reachable to copy the detected usable context budget, then re-run `openteam doctor`.",
3388
- unknownContextRemedy: " remedy: add `limit.context` manually for models whose runtime does not advertise a context window; `openteam setup` will not invent one.",
3392
+ unknownContextRemedy: " remedy: re-run `openteam setup` to write the required context:0 sentinel; automatic compaction remains disabled until a positive context is configured.",
3393
+ zeroContextRemedy: " remedy: edit or remove limit.context and re-run `openteam setup` while the runtime advertises a positive context window to enable automatic compaction.",
3389
3394
  invalidLimitRemedy: " remedy: fix the invalid local limit values in opencode.json before relying on this provider configuration."
3390
3395
  }
3391
3396
  };
@@ -16427,6 +16432,9 @@ function hasOwn(record2, key) {
16427
16432
  function positiveInteger2(value) {
16428
16433
  return typeof value === "number" && Number.isFinite(value) && Number.isInteger(value) && value > 0 ? value : undefined;
16429
16434
  }
16435
+ function nonNegativeInteger2(value) {
16436
+ return typeof value === "number" && Number.isFinite(value) && Number.isInteger(value) && value >= 0 ? value : undefined;
16437
+ }
16430
16438
  function recordAt(source, key) {
16431
16439
  const value = source?.[key];
16432
16440
  return isRecord4(value) ? value : undefined;
@@ -16799,28 +16807,31 @@ function collectLocalModelLimitWarnings(input) {
16799
16807
  const rawContext = limit?.context;
16800
16808
  const rawInput = limit?.input;
16801
16809
  const output = positiveInteger2(rawOutput);
16802
- const context = positiveInteger2(rawContext);
16810
+ const context = nonNegativeInteger2(rawContext);
16803
16811
  const inputLimit = positiveInteger2(rawInput);
16804
16812
  if (limit === undefined || !hasOwn(limit, "output")) {
16805
- problems.push(doctorMessages.localModelLimits.missingOutput);
16806
- remedies.add(doctorMessages.localModelLimits.outputRemedy);
16813
+ problems.push(limit === undefined ? doctorMessages.localModelLimits.unconfiguredOutput : doctorMessages.localModelLimits.missingOutput);
16814
+ remedies.add(limit === undefined ? doctorMessages.localModelLimits.unconfiguredLimitRemedy : doctorMessages.localModelLimits.outputRemedy);
16807
16815
  } else if (output === undefined) {
16808
16816
  problems.push(doctorMessages.localModelLimits.invalidOutput);
16809
16817
  remedies.add(doctorMessages.localModelLimits.invalidLimitRemedy);
16810
16818
  }
16811
16819
  if (limit === undefined || !hasOwn(limit, "context")) {
16812
- problems.push(doctorMessages.localModelLimits.missingContext);
16820
+ problems.push(limit === undefined ? doctorMessages.localModelLimits.unconfiguredContext : doctorMessages.localModelLimits.missingContext);
16813
16821
  const runtimeContext = detectedContexts.get(providerID)?.get(modelID);
16814
- remedies.add(runtimeContext === undefined ? doctorMessages.localModelLimits.unknownContextRemedy : doctorMessages.localModelLimits.detectedContextRemedy);
16822
+ remedies.add(limit === undefined ? doctorMessages.localModelLimits.unconfiguredLimitRemedy : runtimeContext === undefined ? doctorMessages.localModelLimits.unknownContextRemedy : doctorMessages.localModelLimits.detectedContextRemedy);
16815
16823
  } else if (context === undefined) {
16816
16824
  problems.push(doctorMessages.localModelLimits.invalidContext);
16817
16825
  remedies.add(doctorMessages.localModelLimits.invalidLimitRemedy);
16826
+ } else if (context === 0) {
16827
+ problems.push(doctorMessages.localModelLimits.unknownContext);
16828
+ remedies.add(doctorMessages.localModelLimits.zeroContextRemedy);
16818
16829
  }
16819
16830
  if (limit !== undefined && hasOwn(limit, "input") && inputLimit === undefined) {
16820
16831
  problems.push(doctorMessages.localModelLimits.invalidInput);
16821
16832
  remedies.add(doctorMessages.localModelLimits.invalidLimitRemedy);
16822
16833
  }
16823
- if (output !== undefined && context !== undefined && output >= context) {
16834
+ if (output !== undefined && context !== undefined && context > 0 && output >= context) {
16824
16835
  problems.push(doctorMessages.localModelLimits.outputExceedsContext);
16825
16836
  remedies.add(doctorMessages.localModelLimits.invalidLimitRemedy);
16826
16837
  }
@@ -17300,7 +17311,7 @@ import { posix as pathPosix, win32 as pathWin32 } from "node:path";
17300
17311
  // package.json
17301
17312
  var package_default = {
17302
17313
  name: "@jmanuelcorral/openteam",
17303
- version: "0.22.0",
17314
+ version: "0.22.1",
17304
17315
  packageManager: "bun@1.3.14",
17305
17316
  description: "Cost-aware, local-first routing plugin for opencode with cheapest-capable frontier fallback and multi-agent orchestration.",
17306
17317
  license: "MIT",
@@ -17620,13 +17631,12 @@ var OPENCODE_GITIGNORE_PATH = ".opencode/.gitignore";
17620
17631
  var DEFAULT_LOCAL_OUTPUT_TOKENS = 8192;
17621
17632
  var MIN_USABLE_INPUT_TOKENS = 1024;
17622
17633
  function computeModelLimit(contextWindow, inputBudget) {
17623
- const effectiveBudget = contextWindow === undefined ? inputBudget : inputBudget === undefined ? contextWindow : Math.min(contextWindow, inputBudget);
17634
+ const context = contextWindow ?? 0;
17635
+ const contextBudget = context > 0 ? context : undefined;
17636
+ const validInputBudget = inputBudget !== undefined && inputBudget > 0 ? inputBudget : undefined;
17637
+ const effectiveBudget = contextBudget === undefined ? validInputBudget : validInputBudget === undefined ? contextBudget : Math.min(contextBudget, validInputBudget);
17624
17638
  const output = effectiveBudget !== undefined && effectiveBudget - DEFAULT_LOCAL_OUTPUT_TOKENS < MIN_USABLE_INPUT_TOKENS ? Math.max(1, Math.floor(effectiveBudget / 2)) : DEFAULT_LOCAL_OUTPUT_TOKENS;
17625
- const limit = { output };
17626
- if (contextWindow !== undefined) {
17627
- limit.context = contextWindow;
17628
- }
17629
- return limit;
17639
+ return { context, output };
17630
17640
  }
17631
17641
  function collectContextWindows(modelInfo, usedModelIDs) {
17632
17642
  if (modelInfo === undefined) {
@@ -18327,6 +18337,9 @@ function hasOwn2(record2, key) {
18327
18337
  function positiveInteger3(value) {
18328
18338
  return typeof value === "number" && Number.isFinite(value) && Number.isInteger(value) && value > 0 ? value : undefined;
18329
18339
  }
18340
+ function nonNegativeInteger3(value) {
18341
+ return typeof value === "number" && Number.isFinite(value) && Number.isInteger(value) && value >= 0 ? value : undefined;
18342
+ }
18330
18343
  function stripTrailingCommas(src) {
18331
18344
  const out = [];
18332
18345
  let i = 0;
@@ -18745,15 +18758,16 @@ function assertRelevantLimitNumbers(file, providerIDs) {
18745
18758
  throw new ConfigParseError(file.path, executionSetupMessages.rerun.providerModelLimitObjectRequired(providerID, modelID));
18746
18759
  }
18747
18760
  for (const field of LIMIT_FIELDS) {
18748
- if (hasOwn2(modelValue.limit, field) && positiveInteger3(modelValue.limit[field]) === undefined) {
18749
- throw new ConfigParseError(file.path, executionSetupMessages.rerun.providerModelLimitPositiveInteger(providerID, modelID, field));
18761
+ const valid = field === "context" ? nonNegativeInteger3(modelValue.limit[field]) : positiveInteger3(modelValue.limit[field]);
18762
+ if (hasOwn2(modelValue.limit, field) && valid === undefined) {
18763
+ throw new ConfigParseError(file.path, executionSetupMessages.rerun.providerModelLimitInteger(providerID, modelID, field));
18750
18764
  }
18751
18765
  }
18752
18766
  }
18753
18767
  }
18754
18768
  }
18755
18769
  function readModelLimitValues(limit) {
18756
- const context = limit !== undefined ? positiveInteger3(limit.context) : undefined;
18770
+ const context = limit !== undefined ? nonNegativeInteger3(limit.context) : undefined;
18757
18771
  const input = limit !== undefined ? positiveInteger3(limit.input) : undefined;
18758
18772
  const output = limit !== undefined ? positiveInteger3(limit.output) : undefined;
18759
18773
  return {
@@ -18774,19 +18788,80 @@ function mergeModelLimitForRerun(input) {
18774
18788
  merged.output = computed.output;
18775
18789
  } else if (target.output !== undefined) {
18776
18790
  merged.output = target.output;
18777
- } else if (effective.output === undefined) {
18791
+ } else if (effective.output !== undefined) {
18792
+ merged.output = effective.output;
18793
+ } else {
18778
18794
  merged.output = computed.output;
18779
18795
  }
18780
18796
  if (target.context !== undefined) {
18781
18797
  merged.context = target.context;
18782
- } else if (effective.context === undefined && input.generatedLimit?.context !== undefined) {
18783
- merged.context = input.generatedLimit.context;
18798
+ } else if (effective.context !== undefined) {
18799
+ merged.context = effective.context;
18800
+ } else {
18801
+ merged.context = input.generatedLimit?.context ?? 0;
18784
18802
  }
18785
18803
  if (target.input !== undefined) {
18786
18804
  merged.input = target.input;
18787
18805
  }
18788
18806
  return Object.keys(merged).length === 0 ? undefined : merged;
18789
18807
  }
18808
+ function generatedModelLimit(generated, providerID, modelID) {
18809
+ return generated.provider?.[providerID]?.models[modelID]?.limit;
18810
+ }
18811
+ function completePhysicalModelLimit(input) {
18812
+ const target = readModelLimitValues(input.targetLimit);
18813
+ const effective = readModelLimitValues(input.effectiveLimit);
18814
+ const context = target.context ?? effective.context ?? input.generatedLimit?.context ?? 0;
18815
+ const output = target.output ?? effective.output ?? computeModelLimit(context, effective.input).output;
18816
+ return { ...input.targetLimit, context, output };
18817
+ }
18818
+ function repairManagedModelLimits(input) {
18819
+ const targetProvider = recordAt2(input.raw, "provider");
18820
+ if (targetProvider === undefined) {
18821
+ return { raw: input.raw, changed: false };
18822
+ }
18823
+ const effectiveProvider = recordAt2(input.effectiveRaw, "provider");
18824
+ let changed = false;
18825
+ const repairedProvider = { ...targetProvider };
18826
+ for (const providerID of input.providerIDs) {
18827
+ const targetProviderConfig = recordAt2(targetProvider, providerID);
18828
+ const targetModels = recordAt2(targetProviderConfig, "models");
18829
+ if (targetProviderConfig === undefined || targetModels === undefined) {
18830
+ continue;
18831
+ }
18832
+ const effectiveModels = recordAt2(recordAt2(effectiveProvider, providerID), "models");
18833
+ let providerChanged = false;
18834
+ const repairedModels = { ...targetModels };
18835
+ for (const [modelID, modelValue] of Object.entries(targetModels)) {
18836
+ if (!isRecord6(modelValue) || !hasOwn2(modelValue, "limit")) {
18837
+ continue;
18838
+ }
18839
+ const targetLimit = recordAt2(modelValue, "limit");
18840
+ if (targetLimit === undefined) {
18841
+ continue;
18842
+ }
18843
+ const effectiveLimit = recordAt2(recordAt2(effectiveModels, modelID), "limit");
18844
+ const generatedLimit = generatedModelLimit(input.generated, providerID, modelID);
18845
+ const repairedLimit = completePhysicalModelLimit({
18846
+ ...generatedLimit !== undefined ? { generatedLimit } : {},
18847
+ targetLimit,
18848
+ ...effectiveLimit !== undefined ? { effectiveLimit } : {}
18849
+ });
18850
+ if (JSON.stringify(repairedLimit) !== JSON.stringify(targetLimit)) {
18851
+ repairedModels[modelID] = { ...modelValue, limit: repairedLimit };
18852
+ providerChanged = true;
18853
+ }
18854
+ }
18855
+ if (providerChanged) {
18856
+ repairedProvider[providerID] = {
18857
+ ...targetProviderConfig,
18858
+ models: repairedModels
18859
+ };
18860
+ changed = true;
18861
+ }
18862
+ }
18863
+ return changed ? { raw: { ...input.raw, provider: repairedProvider }, changed: true } : { raw: input.raw, changed: false };
18864
+ }
18790
18865
  function recordAt2(source, key) {
18791
18866
  const value = source?.[key];
18792
18867
  return isRecord6(value) ? value : undefined;
@@ -19154,17 +19229,41 @@ async function runSetup(deps) {
19154
19229
  const finalOpenTeamConfig = existingOpenTeamConfig !== undefined ? mergeOpenTeamConfigForRerun(openTeamConfig, existingOpenTeamConfig) : openTeamConfig;
19155
19230
  assertEffectiveConfigModelDomains(finalOpenTeamConfig);
19156
19231
  const dataTargetRaw = opencodeFileAt(existingOpencodeFiles, opencodeDataPath)?.raw ?? {};
19157
- const finalOpencodeRaw = mergeOpencodeConfigForRerun(opencodeConfig, dataTargetRaw, {
19232
+ const mergedOpencodeRaw = mergeOpencodeConfigForRerun(opencodeConfig, dataTargetRaw, {
19158
19233
  ...effectiveExistingOpencode !== undefined ? { effectiveRaw: effectiveExistingOpencode } : {},
19159
19234
  includePlugin: includePluginInDataFile,
19160
19235
  ...includePluginInDataFile ? { pluginEntries: pluginPlan.plugins } : {},
19161
19236
  yolo
19162
19237
  });
19163
- const finalOpencodeOutput = serializeOpencodeConfig(finalOpencodeRaw);
19164
- const finalPluginOutput = !includePluginInDataFile && pluginPlan.changed ? serializeOpencodeConfig({
19165
- ...pluginOwnerFile?.raw ?? {},
19166
- plugin: [...pluginPlan.plugins]
19167
- }) : undefined;
19238
+ const repairedDataTarget = repairManagedModelLimits({
19239
+ raw: mergedOpencodeRaw,
19240
+ effectiveRaw: effectiveExistingOpencode,
19241
+ generated: opencodeConfig,
19242
+ providerIDs: relevantProviderIDs
19243
+ });
19244
+ const opencodeWritePlan = new Map([
19245
+ [opencodeDataPath, serializeOpencodeConfig(repairedDataTarget.raw)]
19246
+ ]);
19247
+ for (const file of existingOpencodeFiles) {
19248
+ if (file.path === opencodeDataPath) {
19249
+ continue;
19250
+ }
19251
+ const repaired = repairManagedModelLimits({
19252
+ raw: file.raw,
19253
+ effectiveRaw: effectiveExistingOpencode,
19254
+ generated: opencodeConfig,
19255
+ providerIDs: relevantProviderIDs
19256
+ });
19257
+ let plannedRaw = repaired.raw;
19258
+ let changed = repaired.changed;
19259
+ if (file.path === pluginOwnerPath && !includePluginInDataFile && pluginPlan.changed) {
19260
+ plannedRaw = { ...plannedRaw, plugin: [...pluginPlan.plugins] };
19261
+ changed = true;
19262
+ }
19263
+ if (changed) {
19264
+ opencodeWritePlan.set(file.path, serializeOpencodeConfig(plannedRaw));
19265
+ }
19266
+ }
19168
19267
  const roleAgentFiles = buildRoleAgentFiles(finalOpenTeamConfig);
19169
19268
  const opencodeGitignorePath = OPENCODE_GITIGNORE_PATH;
19170
19269
  const existingGitignore = await deps.fileExists(opencodeGitignorePath) ? await deps.readFile(opencodeGitignorePath) ?? "" : "";
@@ -19177,8 +19276,10 @@ async function runSetup(deps) {
19177
19276
  if (opencodeFileAt(existingOpencodeFiles, opencodeDataPath) !== undefined) {
19178
19277
  existing.add(opencodeDataPath);
19179
19278
  }
19180
- if (finalPluginOutput !== undefined && pluginOwnerFile !== undefined) {
19181
- existing.add(pluginOwnerPath);
19279
+ for (const path2 of opencodeWritePlan.keys()) {
19280
+ if (opencodeFileAt(existingOpencodeFiles, path2) !== undefined) {
19281
+ existing.add(path2);
19282
+ }
19182
19283
  }
19183
19284
  if (await deps.fileExists(agentPath)) {
19184
19285
  existing.add(ORCHESTRATOR_AGENT_PATH);
@@ -19210,12 +19311,11 @@ async function runSetup(deps) {
19210
19311
  }
19211
19312
  }
19212
19313
  const filesNeedingNormalization = new Map;
19213
- const dataTargetFile = opencodeFileAt(existingOpencodeFiles, opencodeDataPath);
19214
- if (dataTargetFile !== undefined) {
19215
- filesNeedingNormalization.set(opencodeDataPath, dataTargetFile.format);
19216
- }
19217
- if (finalPluginOutput !== undefined && pluginOwnerFile !== undefined) {
19218
- filesNeedingNormalization.set(pluginOwnerPath, pluginOwnerFile.format);
19314
+ for (const path2 of opencodeWritePlan.keys()) {
19315
+ const file = opencodeFileAt(existingOpencodeFiles, path2);
19316
+ if (file !== undefined) {
19317
+ filesNeedingNormalization.set(path2, file.format);
19318
+ }
19219
19319
  }
19220
19320
  for (const [path2, format] of filesNeedingNormalization) {
19221
19321
  const confirm2 = await confirmJsonNormalization(prompt, path2, format);
@@ -19232,9 +19332,8 @@ async function runSetup(deps) {
19232
19332
  };
19233
19333
  }
19234
19334
  await deps.writeFile(openTeamPath, serializeOpenTeamConfig(finalOpenTeamConfig));
19235
- await deps.writeFile(opencodeDataPath, finalOpencodeOutput);
19236
- if (finalPluginOutput !== undefined) {
19237
- await deps.writeFile(pluginOwnerPath, finalPluginOutput);
19335
+ for (const [path2, contents] of opencodeWritePlan) {
19336
+ await deps.writeFile(path2, contents);
19238
19337
  }
19239
19338
  await deps.writeFile(agentPath, orchestratorAgent);
19240
19339
  for (const roleAgent of roleAgentFiles) {
@@ -19250,10 +19349,7 @@ async function runSetup(deps) {
19250
19349
  const remote = runtime.baseURL !== undefined && !runtime.baseURL.includes("localhost") && !runtime.baseURL.includes("127.0.0.1") ? ` @ ${runtime.baseURL}` : "";
19251
19350
  return `${runtime.id} (${runtime.defaultModelID})${remote}`;
19252
19351
  }).join(", ");
19253
- const writtenOpencodePaths = [
19254
- opencodeDataPath,
19255
- ...finalPluginOutput !== undefined && pluginOwnerPath !== opencodeDataPath ? [pluginOwnerPath] : []
19256
- ].join(", ");
19352
+ const writtenOpencodePaths = [...opencodeWritePlan.keys()].join(", ");
19257
19353
  prompt.note(executionSetupMessages.configuredSummary({
19258
19354
  executionMode: executionMode2,
19259
19355
  primaryModel: `${primaryModel.providerID}/${primaryModel.modelID}`,
@@ -1 +1 @@
1
- {"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAM3D,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EACV,oBAAoB,EAGrB,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB;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A2kBF,wBAAgB,YAAY,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAyMvD"}
@@ -1,3 +1,4 @@
1
+ import type { ProviderConfig } from "@opencode-ai/sdk";
1
2
  import type { ModelCapabilityProfile } from "../capabilities/types";
2
3
  import { type ModelRef, type OpenTeamConfig } from "../config/schema";
3
4
  import type { LocalModelInfo, LocalRuntimeId, LocalRuntimeKind } from "../local/types";
@@ -25,12 +26,11 @@ export declare const OPENCODE_GITIGNORE_PATH = ".opencode/.gitignore";
25
26
  export declare const DEFAULT_LOCAL_OUTPUT_TOKENS = 8192;
26
27
  /**
27
28
  * Limit block written into a local model's opencode provider config entry.
28
- * Mirrors opencode's `provider.<id>.models.<id>.limit` shape (verified against
29
- * opencode v1.18.29 provider/provider.ts).
29
+ * The required fields come from the pinned SDK's `ProviderConfig`; `input` is
30
+ * the narrow v1.18.19 host extension verified in provider.ts/overflow.ts.
30
31
  */
31
- export type ModelLimitConfig = {
32
- /** Full context window for this model in tokens. */
33
- context?: number;
32
+ type SdkModelLimitConfig = NonNullable<NonNullable<ProviderConfig["models"]>[string]["limit"]>;
33
+ export type ModelLimitConfig = SdkModelLimitConfig & {
34
34
  /**
35
35
  * Explicit input budget in tokens. When set, opencode's session/overflow.ts
36
36
  * uses `max(0, input - reserved)` rather than `context - maxOutputTokens`,
@@ -38,8 +38,6 @@ export type ModelLimitConfig = {
38
38
  * opencode compute the usable window from `context` and `output`.
39
39
  */
40
40
  input?: number;
41
- /** Maximum output tokens for a single generation. */
42
- output?: number;
43
41
  };
44
42
  /**
45
43
  * Computes the `limit` block for a local model entry in opencode.json. Pure.
@@ -47,9 +45,9 @@ export type ModelLimitConfig = {
47
45
  * - `output` defaults to {@link DEFAULT_LOCAL_OUTPUT_TOKENS} (8192), openteam's
48
46
  * client-side local default. This cap is written explicitly so opencode uses
49
47
  * it instead of its own 32 000-token fallback.
50
- * - `context` is written only when the runtime reported it: no fake 32 k
51
- * fallback, and no extra inflation beyond the adapter-provided
52
- * `contextWindow` value.
48
+ * - `context` preserves a positive runtime-reported value. When unavailable it
49
+ * is `0`, opencode's explicit unknown-context sentinel; this is not a guessed
50
+ * capacity and disables automatic compaction.
53
51
  * - When an existing `limit.context` or `limit.input` override is smaller than
54
52
  * the discovered context, the smaller effective budget governs the scaling so
55
53
  * a re-run setup does not write a default output cap that wipes out the
@@ -63,8 +61,8 @@ export declare function computeModelLimit(contextWindow?: number, inputBudget?:
63
61
  * Measured rather than guessed: reads the adapter's already-normalized
64
62
  * `contextWindow` value, whether that came directly from the runtime or from a
65
63
  * conservative adapter-side derivation. Returns `undefined` when no defensible
66
- * context metadata was available, so the generated config contains no fake
67
- * value.
64
+ * context metadata was available; the config builder then writes opencode's
65
+ * required `context: 0` unknown sentinel rather than guessing a capacity.
68
66
  * Pure.
69
67
  */
70
68
  export declare function collectContextWindows(modelInfo: readonly LocalModelInfo[] | undefined, usedModelIDs: readonly string[]): Record<string, number> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/commands/setup.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAkBpE,OAAO,EAOL,KAAK,QAAQ,EACb,KAAK,cAAc,EAEpB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AAUxB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAQ/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EACL,KAAK,cAAc,IAAI,kBAAkB,EAK1C,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD;;;;;;GAMG;AACH,OAAO,EAAE,qBAAqB,IAAI,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAErF,0DAA0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AC,MAAM,EAAE,OAAO,CAAC,CA0FzB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,cAAc,EACzB,QAAQ,EAAE,cAAc,GACvB,cAAc,CAoFhB;AAoDD,wBAAsB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAkdlE"}
package/dist/index.js CHANGED
@@ -5408,7 +5408,7 @@ import { z as z15 } from "zod";
5408
5408
  // package.json
5409
5409
  var package_default = {
5410
5410
  name: "@jmanuelcorral/openteam",
5411
- version: "0.22.0",
5411
+ version: "0.22.1",
5412
5412
  packageManager: "bun@1.3.14",
5413
5413
  description: "Cost-aware, local-first routing plugin for opencode with cheapest-capable frontier fallback and multi-agent orchestration.",
5414
5414
  license: "MIT",
@@ -5757,7 +5757,7 @@ var executionSetupMessages = {
5757
5757
  unknownLocalPluginIdentity: (spec) => `plugin entry ${JSON.stringify(spec)} points to a local file whose package identity could not be verified; keep the existing local loader or replace it with an explicit ${JSON.stringify("@jmanuelcorral/openteam@x.y.z")} npm pin before re-running setup`,
5758
5758
  providerModelObjectRequired: (providerID, modelID) => `provider.${providerID}.models.${modelID} must be a JSON object`,
5759
5759
  providerModelLimitObjectRequired: (providerID, modelID) => `provider.${providerID}.models.${modelID}.limit must be a JSON object`,
5760
- providerModelLimitPositiveInteger: (providerID, modelID, field) => `provider.${providerID}.models.${modelID}.limit.${field} must be a positive integer`
5760
+ providerModelLimitInteger: (providerID, modelID, field) => `provider.${providerID}.models.${modelID}.limit.${field} must be ${field === "context" ? "a non-negative integer (0 means unknown)" : "a positive integer"}`
5761
5761
  },
5762
5762
  rolePolicy: {
5763
5763
  whyTitle: "Configure execution and model selection",
@@ -5802,16 +5802,21 @@ var doctorMessages = {
5802
5802
  warningSummary: (count) => ` local model limits: ${count} warning(s)`,
5803
5803
  modelWarning: (providerID, modelID, problems) => ` ⚠ ${providerID}/${modelID}: ${problems}`,
5804
5804
  invalidLimitBlock: "invalid limit block (expected an object)",
5805
- missingOutput: "no limit.output (opencode falls back to its 32 000-token default instead of openteam's 8 192-token client policy)",
5806
- missingContext: "no limit.context (the runtime's usable prompt window remains unknown to opencode)",
5805
+ unconfiguredOutput: "no limit.output (no explicit local output budget; opencode uses its model defaults)",
5806
+ unconfiguredContext: "no limit.context (no explicit usable context budget is configured)",
5807
+ missingOutput: "no limit.output (opencode rejects the provider model because output is required whenever limit is present)",
5808
+ missingContext: "no limit.context (opencode rejects the provider model because context is required whenever limit is present)",
5809
+ unknownContext: "limit.context is 0, so context is unknown and automatic compaction is disabled",
5807
5810
  invalidOutput: "invalid limit.output (expected a positive integer token count)",
5808
- invalidContext: "invalid limit.context (expected a positive integer token count)",
5811
+ invalidContext: "invalid limit.context (expected a non-negative integer token count; 0 means unknown)",
5809
5812
  invalidInput: "invalid limit.input (expected a positive integer token count)",
5810
5813
  outputExceedsContext: "limit.output is greater than or equal to limit.context, so the configured context leaves no usable input window",
5811
5814
  outputExceedsInput: "limit.input is less than or equal to the reserved output budget, so compaction would have no usable input threshold",
5812
5815
  outputRemedy: " remedy: re-run `openteam setup` to write openteam's 8 192-token local output default, then re-run `openteam doctor`.",
5816
+ unconfiguredLimitRemedy: " remedy: the optional limit block may remain absent; to configure explicit limits, manually add a complete limit object in opencode.json with positive output and non-negative context (0 means unknown), because setup fills an absent limit block only for models the runtime currently discovers. Then re-run `openteam doctor`.",
5813
5817
  detectedContextRemedy: " remedy: re-run `openteam setup` while the runtime is reachable to copy the detected usable context budget, then re-run `openteam doctor`.",
5814
- unknownContextRemedy: " remedy: add `limit.context` manually for models whose runtime does not advertise a context window; `openteam setup` will not invent one.",
5818
+ unknownContextRemedy: " remedy: re-run `openteam setup` to write the required context:0 sentinel; automatic compaction remains disabled until a positive context is configured.",
5819
+ zeroContextRemedy: " remedy: edit or remove limit.context and re-run `openteam setup` while the runtime advertises a positive context window to enable automatic compaction.",
5815
5820
  invalidLimitRemedy: " remedy: fix the invalid local limit values in opencode.json before relying on this provider configuration."
5816
5821
  }
5817
5822
  };
@@ -11830,6 +11835,9 @@ function hasOwn(record, key) {
11830
11835
  function positiveInteger2(value) {
11831
11836
  return typeof value === "number" && Number.isFinite(value) && Number.isInteger(value) && value > 0 ? value : undefined;
11832
11837
  }
11838
+ function nonNegativeInteger2(value) {
11839
+ return typeof value === "number" && Number.isFinite(value) && Number.isInteger(value) && value >= 0 ? value : undefined;
11840
+ }
11833
11841
  function recordAt(source, key) {
11834
11842
  const value = source?.[key];
11835
11843
  return isRecord6(value) ? value : undefined;
@@ -12202,28 +12210,31 @@ function collectLocalModelLimitWarnings(input) {
12202
12210
  const rawContext = limit?.context;
12203
12211
  const rawInput = limit?.input;
12204
12212
  const output = positiveInteger2(rawOutput);
12205
- const context = positiveInteger2(rawContext);
12213
+ const context = nonNegativeInteger2(rawContext);
12206
12214
  const inputLimit = positiveInteger2(rawInput);
12207
12215
  if (limit === undefined || !hasOwn(limit, "output")) {
12208
- problems.push(doctorMessages.localModelLimits.missingOutput);
12209
- remedies.add(doctorMessages.localModelLimits.outputRemedy);
12216
+ problems.push(limit === undefined ? doctorMessages.localModelLimits.unconfiguredOutput : doctorMessages.localModelLimits.missingOutput);
12217
+ remedies.add(limit === undefined ? doctorMessages.localModelLimits.unconfiguredLimitRemedy : doctorMessages.localModelLimits.outputRemedy);
12210
12218
  } else if (output === undefined) {
12211
12219
  problems.push(doctorMessages.localModelLimits.invalidOutput);
12212
12220
  remedies.add(doctorMessages.localModelLimits.invalidLimitRemedy);
12213
12221
  }
12214
12222
  if (limit === undefined || !hasOwn(limit, "context")) {
12215
- problems.push(doctorMessages.localModelLimits.missingContext);
12223
+ problems.push(limit === undefined ? doctorMessages.localModelLimits.unconfiguredContext : doctorMessages.localModelLimits.missingContext);
12216
12224
  const runtimeContext = detectedContexts.get(providerID)?.get(modelID);
12217
- remedies.add(runtimeContext === undefined ? doctorMessages.localModelLimits.unknownContextRemedy : doctorMessages.localModelLimits.detectedContextRemedy);
12225
+ remedies.add(limit === undefined ? doctorMessages.localModelLimits.unconfiguredLimitRemedy : runtimeContext === undefined ? doctorMessages.localModelLimits.unknownContextRemedy : doctorMessages.localModelLimits.detectedContextRemedy);
12218
12226
  } else if (context === undefined) {
12219
12227
  problems.push(doctorMessages.localModelLimits.invalidContext);
12220
12228
  remedies.add(doctorMessages.localModelLimits.invalidLimitRemedy);
12229
+ } else if (context === 0) {
12230
+ problems.push(doctorMessages.localModelLimits.unknownContext);
12231
+ remedies.add(doctorMessages.localModelLimits.zeroContextRemedy);
12221
12232
  }
12222
12233
  if (limit !== undefined && hasOwn(limit, "input") && inputLimit === undefined) {
12223
12234
  problems.push(doctorMessages.localModelLimits.invalidInput);
12224
12235
  remedies.add(doctorMessages.localModelLimits.invalidLimitRemedy);
12225
12236
  }
12226
- if (output !== undefined && context !== undefined && output >= context) {
12237
+ if (output !== undefined && context !== undefined && context > 0 && output >= context) {
12227
12238
  problems.push(doctorMessages.localModelLimits.outputExceedsContext);
12228
12239
  remedies.add(doctorMessages.localModelLimits.invalidLimitRemedy);
12229
12240
  }
@@ -77,7 +77,7 @@ export declare const executionSetupMessages: {
77
77
  readonly unknownLocalPluginIdentity: (spec: string) => string;
78
78
  readonly providerModelObjectRequired: (providerID: string, modelID: string) => string;
79
79
  readonly providerModelLimitObjectRequired: (providerID: string, modelID: string) => string;
80
- readonly providerModelLimitPositiveInteger: (providerID: string, modelID: string, field: "context" | "input" | "output") => string;
80
+ readonly providerModelLimitInteger: (providerID: string, modelID: string, field: "context" | "input" | "output") => string;
81
81
  };
82
82
  readonly rolePolicy: {
83
83
  readonly whyTitle: "Configure execution and model selection";
@@ -128,16 +128,21 @@ export declare const doctorMessages: {
128
128
  readonly warningSummary: (count: number) => string;
129
129
  readonly modelWarning: (providerID: string, modelID: string, problems: string) => string;
130
130
  readonly invalidLimitBlock: "invalid limit block (expected an object)";
131
- readonly missingOutput: "no limit.output (opencode falls back to its 32 000-token default instead of openteam's 8 192-token client policy)";
132
- readonly missingContext: "no limit.context (the runtime's usable prompt window remains unknown to opencode)";
131
+ readonly unconfiguredOutput: "no limit.output (no explicit local output budget; opencode uses its model defaults)";
132
+ readonly unconfiguredContext: "no limit.context (no explicit usable context budget is configured)";
133
+ readonly missingOutput: "no limit.output (opencode rejects the provider model because output is required whenever limit is present)";
134
+ readonly missingContext: "no limit.context (opencode rejects the provider model because context is required whenever limit is present)";
135
+ readonly unknownContext: "limit.context is 0, so context is unknown and automatic compaction is disabled";
133
136
  readonly invalidOutput: "invalid limit.output (expected a positive integer token count)";
134
- readonly invalidContext: "invalid limit.context (expected a positive integer token count)";
137
+ readonly invalidContext: "invalid limit.context (expected a non-negative integer token count; 0 means unknown)";
135
138
  readonly invalidInput: "invalid limit.input (expected a positive integer token count)";
136
139
  readonly outputExceedsContext: "limit.output is greater than or equal to limit.context, so the configured context leaves no usable input window";
137
140
  readonly outputExceedsInput: "limit.input is less than or equal to the reserved output budget, so compaction would have no usable input threshold";
138
141
  readonly outputRemedy: " remedy: re-run `openteam setup` to write openteam's 8 192-token local output default, then re-run `openteam doctor`.";
142
+ readonly unconfiguredLimitRemedy: " remedy: the optional limit block may remain absent; to configure explicit limits, manually add a complete limit object in opencode.json with positive output and non-negative context (0 means unknown), because setup fills an absent limit block only for models the runtime currently discovers. Then re-run `openteam doctor`.";
139
143
  readonly detectedContextRemedy: " remedy: re-run `openteam setup` while the runtime is reachable to copy the detected usable context budget, then re-run `openteam doctor`.";
140
- readonly unknownContextRemedy: " remedy: add `limit.context` manually for models whose runtime does not advertise a context window; `openteam setup` will not invent one.";
144
+ readonly unknownContextRemedy: " remedy: re-run `openteam setup` to write the required context:0 sentinel; automatic compaction remains disabled until a positive context is configured.";
145
+ readonly zeroContextRemedy: " remedy: edit or remove limit.context and re-run `openteam setup` while the runtime advertises a positive context window to enable automatic compaction.";
141
146
  readonly invalidLimitRemedy: " remedy: fix the invalid local limit values in opencode.json before relying on this provider configuration.";
142
147
  };
143
148
  };
@@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,oHAAoH;aACtH,+BAA+B,EAC7B,4GAA4G;aAC9G,0BAA0B,eAAe,MAAM,KAAG,MAAM;CAEhD,CAAC;AAEX,eAAO,MAAM,cAAc;aACzB,gBAAgB;iBACd,OAAO,EAAE,uBAAuB;iBAChC,OAAO,EACL,+FAA+F;iBACjG,cAAc,UAAU,MAAM,KAAG,MAAM;iBAEvC,YAAY,eACE,MAAM,WACT,MAAM,YACL,MAAM,KACf,MAAM;iBACT,iBAAiB,EAAE,0CAA0C;iBAC7D,aAAa,EACX,mHAAmH;iBACrH,cAAc,EACZ,mFAAmF;iBACrF,aAAa,EACX,gEAAgE;iBAClE,cAAc,EACZ,iEAAiE;iBACnE,YAAY,EACV,+DAA+D;iBACjE,oBAAoB,EAClB,iHAAiH;iBACnH,kBAAkB,EAChB,qHAAqH;iBACvH,YAAY,EACV,0HAA0H;iBAC5H,qBAAqB,EACnB,+IAA+I;iBACjJ,oBAAoB,EAClB,8IAA8I;iBAChJ,kBAAkB,EAChB,gHAAgH;;CAE5G,CAAC;AAEX,eAAO,MAAM,6BAA6B;aACxC,KAAK,EAAE,4BAA4B;aACnC,UAAU,EAAE,uBAAuB;aACnC,YAAY,EAAE,eAAe;aAC7B,gBAAgB,EAAE,mBAAmB;aACrC,WAAW,EAAE,cAAc;aAC3B,SAAS,EAAE,MAAM;aACjB,OAAO,EAAE,SAAS;aAClB,IAAI,EAAE,MAAM;aACZ,UAAU,eAAe,MAAM,oBAAoB,MAAM,KAAG,MAAM;CAE1D,CAAC;AAEX,eAAO,MAAM,uBAAuB;aAClC,6BAA6B,SACrB,MAAM,cACA,MAAM,cACN,MAAM,WACT,MAAM,KACd,MAAM;aAET,6BAA6B,SACrB,MAAM,cACA,MAAM,cACN,MAAM,WACT,MAAM,KACd,MAAM;CAED,CAAC"}
1
+ {"version":3,"file":"executionSetup.d.ts","sourceRoot":"","sources":["../../src/messages/executionSetup.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;aACjC,UAAU,EAC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BACd,OAAO,EAAE,uBAAuB;iBAChC,OAAO,EACL,+FAA+F;iBACjG,cAAc,UAAU,MAAM,KAAG,MAAM;iBAEvC,YAAY,eACE,MAAM,WACT,MAAM,YACL,MAAM,KACf,MAAM;iBACT,iBAAiB,EAAE,0CAA0C;iBAC7D,kBAAkB,EAChB,qFAAqF;iBACvF,mBAAmB,EACjB,oEAAoE;iBACtE,aAAa,EACX,4GAA4G;iBAC9G,cAAc,EACZ,8GAA8G;iBAChH,cAAc,EACZ,gFAAgF;iBAClF,aAAa,EACX,gEAAgE;iBAClE,cAAc,EACZ,sFAAsF;iBACxF,YAAY,EACV,+DAA+D;iBACjE,oBAAoB,EAClB,iHAAiH;iBACnH,kBAAkB,EAChB,qHAAqH;iBACvH,YAAY,EACV,0HAA0H;iBAC5H,uBAAuB,EACrB,wUAAwU;iBAC1U,qBAAqB,EACnB,+IAA+I;iBACjJ,oBAAoB,EAClB,6JAA6J;iBAC/J,iBAAiB,EACf,6JAA6J;iBAC/J,kBAAkB,EAChB,gHAAgH;;CAE5G,CAAC;AAEX,eAAO,MAAM,6BAA6B;aACxC,KAAK,EAAE,4BAA4B;aACnC,UAAU,EAAE,uBAAuB;aACnC,YAAY,EAAE,eAAe;aAC7B,gBAAgB,EAAE,mBAAmB;aACrC,WAAW,EAAE,cAAc;aAC3B,SAAS,EAAE,MAAM;aACjB,OAAO,EAAE,SAAS;aAClB,IAAI,EAAE,MAAM;aACZ,UAAU,eAAe,MAAM,oBAAoB,MAAM,KAAG,MAAM;CAE1D,CAAC;AAEX,eAAO,MAAM,uBAAuB;aAClC,6BAA6B,SACrB,MAAM,cACA,MAAM,cACN,MAAM,WACT,MAAM,KACd,MAAM;aAET,6BAA6B,SACrB,MAAM,cACA,MAAM,cACN,MAAM,WACT,MAAM,KACd,MAAM;CAED,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jmanuelcorral/openteam",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "packageManager": "bun@1.3.14",
5
5
  "description": "Cost-aware, local-first routing plugin for opencode with cheapest-capable frontier fallback and multi-agent orchestration.",
6
6
  "license": "MIT",