@rallycry/conveyor-agent 10.13.52 → 10.13.53

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.
@@ -7136,7 +7136,8 @@ async function seedOpenCodeOauth(env) {
7136
7136
  // src/harness/opencode/credentials.ts
7137
7137
  var PROVIDER_KEY_ENV = {
7138
7138
  openai: "OPENAI_API_KEY",
7139
- anthropic: "ANTHROPIC_API_KEY"
7139
+ anthropic: "ANTHROPIC_API_KEY",
7140
+ zen: "OPENCODE_API_KEY"
7140
7141
  };
7141
7142
  var DEFAULT_OPENCODE_PROVIDER = "openai";
7142
7143
  function buildOpenCodeCredentialEnv(source) {
@@ -7165,9 +7166,10 @@ function buildOpenCodeChildEnv(source, configContent) {
7165
7166
  function resolveOpenCodeModel(source, optionsModel) {
7166
7167
  const model = source.CONVEYOR_AGENT_MODEL ?? optionsModel;
7167
7168
  if (!model) return void 0;
7169
+ if (model.startsWith("zen/")) return `opencode/${model.slice("zen/".length)}`;
7168
7170
  if (model.includes("/")) return model;
7169
7171
  const provider = source.CONVEYOR_AGENT_PROVIDER ?? DEFAULT_OPENCODE_PROVIDER;
7170
- return `${provider}/${model}`;
7172
+ return `${provider === "zen" ? "opencode" : provider}/${model}`;
7171
7173
  }
7172
7174
 
7173
7175
  // src/harness/opencode/spawn.ts
@@ -16189,4 +16191,4 @@ export {
16189
16191
  loadConveyorConfig,
16190
16192
  unshallowRepo
16191
16193
  };
16192
- //# sourceMappingURL=chunk-ZTLGCN5G.js.map
16194
+ //# sourceMappingURL=chunk-HSL7QH72.js.map