@runeya/runeya 2.0.68 → 2.0.69

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/index.js CHANGED
@@ -274,7 +274,7 @@ async function main() {
274
274
  ensureNodeBinOnPath();
275
275
  await ensureUserBinsOnPath();
276
276
  if (!isPullEnv) stampConsole();
277
- const { createLocalServer, pullEnv, PullEnvError, registerInstance } = await import("./src-WT7HSY3I.js");
277
+ const { createLocalServer, pullEnv, PullEnvError, registerInstance } = await import("./src-MQWOIUB5.js");
278
278
  if (isPullEnv) {
279
279
  if (!serviceArg) {
280
280
  console.error("Error: --service (-s) is required with --pull-env");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runeya/runeya",
3
- "version": "2.0.68",
3
+ "version": "2.0.69",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "runeya": "./index.js"
@@ -7965,11 +7965,11 @@ ${apiDocs}` : systemContext;
7965
7965
 
7966
7966
  ${TOKEN_INSTRUCTIONS}`;
7967
7967
  const mcpArgs = mcpConfig && !opts.excludeMcp ? ["--mcp-config", mcpConfig] : [];
7968
+ const modelArgs = model ? ["--model", model] : [];
7968
7969
  const args = [
7969
7970
  ...sessionArg,
7970
7971
  "--dangerously-skip-permissions",
7971
- "--model",
7972
- model,
7972
+ ...modelArgs,
7973
7973
  "--append-system-prompt",
7974
7974
  systemPrompt,
7975
7975
  ...mcpArgs,
@@ -8259,6 +8259,7 @@ ${apiDocs}` : systemContext;
8259
8259
  ${TOKEN_INSTRUCTIONS}`;
8260
8260
  const inputArgs = hasImages ? ["--input-format", "stream-json"] : ["-p", prompt];
8261
8261
  const mcpArgs = mcpConfig && !opts?.excludeMcp ? ["--mcp-config", mcpConfig] : [];
8262
+ const modelArgs = model ? ["--model", model] : [];
8262
8263
  const args = [
8263
8264
  ...sessionArg,
8264
8265
  "--output-format",
@@ -8266,8 +8267,7 @@ ${TOKEN_INSTRUCTIONS}`;
8266
8267
  "--verbose",
8267
8268
  "--include-partial-messages",
8268
8269
  "--dangerously-skip-permissions",
8269
- "--model",
8270
- model,
8270
+ ...modelArgs,
8271
8271
  ...thinkingArgs,
8272
8272
  "--append-system-prompt",
8273
8273
  systemPrompt,
@@ -12917,7 +12917,8 @@ var KanbanQueueService = class extends EventEmitter5 {
12917
12917
  maxConcurrent: this.maxConcurrent
12918
12918
  };
12919
12919
  }
12920
- add(item) {
12920
+ add(rawItem) {
12921
+ const item = rawItem.scenarioId || rawItem.runner ? rawItem : { ...rawItem, runner: "claude-code" };
12921
12922
  const alreadyQueued = this.items.find((i) => i.boardId === item.boardId && i.cardId === item.cardId);
12922
12923
  if (alreadyQueued) return alreadyQueued;
12923
12924
  const alreadyRunning = this.running.find((r) => r.boardId === item.boardId && r.cardId === item.cardId);
@@ -13049,7 +13050,7 @@ var KanbanQueueService = class extends EventEmitter5 {
13049
13050
  }
13050
13051
  async runWithRunner(runItem, item, cardContent) {
13051
13052
  try {
13052
- const model = item.model || (item.runner === "codex" ? "" : "claude-opus-4-6");
13053
+ const model = item.model || "";
13053
13054
  const starter = item.runner === "codex" ? startCodexSession : startClaudeCodeSession;
13054
13055
  const jwt = await signJwt();
13055
13056
  const { done } = await starter(runItem.conversationId, cardContent, { model, jwt });
@@ -17555,4 +17556,4 @@ export {
17555
17556
  pullEnv,
17556
17557
  registerInstance
17557
17558
  };
17558
- //# sourceMappingURL=src-WT7HSY3I.js.map
17559
+ //# sourceMappingURL=src-MQWOIUB5.js.map