@rayu-dev/rayu-cli 1.2.14 → 1.2.16

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/rayu.js +233 -153
  2. package/package.json +1 -1
package/dist/rayu.js CHANGED
@@ -35635,9 +35635,10 @@ function withTimeout(p, ms) {
35635
35635
  function tokenSources() {
35636
35636
  if (tokenSourcesOverride)
35637
35637
  return tokenSourcesOverride;
35638
- const sources = [adcTokenSource];
35638
+ const sources = [];
35639
35639
  if (oauthFallback)
35640
35640
  sources.push(oauthFallback);
35641
+ sources.push(adcTokenSource);
35641
35642
  return sources;
35642
35643
  }
35643
35644
  async function getVertexAccessToken() {
@@ -36367,8 +36368,11 @@ async function fetchVertexGeminiModels(p) {
36367
36368
  const { vertexHost: vertexHost2 } = await Promise.resolve().then(() => (init_rayuProviders(), exports_rayuProviders));
36368
36369
  const token = await getVertexAccessToken2();
36369
36370
  const url = `https://${vertexHost2(region)}/v1beta1/publishers/google/models?pageSize=200`;
36371
+ const headers = { Authorization: `Bearer ${token}` };
36372
+ if (p.gcpProject)
36373
+ headers["x-goog-user-project"] = p.gcpProject;
36370
36374
  const res = await fetch(url, {
36371
- headers: { Authorization: `Bearer ${token}` },
36375
+ headers,
36372
36376
  signal: AbortSignal.timeout(15000)
36373
36377
  });
36374
36378
  if (!res.ok) {
@@ -36378,7 +36382,8 @@ async function fetchVertexGeminiModels(p) {
36378
36382
  });
36379
36383
  return mergeGeminiModels([]);
36380
36384
  }
36381
- return mergeGeminiModels(parseVertexGeminiModels(await res.json()));
36385
+ const live = parseVertexGeminiModels(await res.json());
36386
+ return live.length ? live : mergeGeminiModels([]);
36382
36387
  } catch (e2) {
36383
36388
  reportIssue("rayu_models.fetch_error", "vertex publisher models request failed", {
36384
36389
  provider: p.id,
@@ -36531,12 +36536,13 @@ var init_rayuConfig = __esm(() => {
36531
36536
  [/gpt-4o/i, 128000]
36532
36537
  ];
36533
36538
  KNOWN_GEMINI_VERTEX_MODELS = [
36534
- "gemini-3.5-flash",
36535
- "gemini-3-flash",
36536
- "gemini-3.1-pro-preview",
36537
36539
  "gemini-2.5-pro",
36538
36540
  "gemini-2.5-flash",
36539
- "gemini-2.5-flash-lite"
36541
+ "gemini-2.5-flash-lite",
36542
+ "gemini-3-pro-preview",
36543
+ "gemini-3.1-pro-preview",
36544
+ "gemini-3.5-flash",
36545
+ "gemini-3-flash-preview"
36540
36546
  ];
36541
36547
  KNOWN_GEMINI_CODE_ASSIST_MODELS = [
36542
36548
  "gemini-3.1-pro-preview",
@@ -147965,7 +147971,7 @@ var init_auth = __esm(() => {
147965
147971
 
147966
147972
  // src/utils/userAgent.ts
147967
147973
  function getRayuUserAgent() {
147968
- return `rayu/${"1.2.13"}`;
147974
+ return `rayu/${"1.2.16"}`;
147969
147975
  }
147970
147976
  var getClaudeCodeUserAgent;
147971
147977
  var init_userAgent = __esm(() => {
@@ -147991,7 +147997,7 @@ function getUserAgent() {
147991
147997
  const clientApp = process.env.RAYU_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}` : "";
147992
147998
  const workload = getWorkload();
147993
147999
  const workloadSuffix = workload ? `, workload/${workload}` : "";
147994
- return `rayu/${"1.2.13"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
148000
+ return `rayu/${"1.2.16"} (${"external"}, ${process.env.RAYU_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
147995
148001
  }
147996
148002
  function getMCPUserAgent() {
147997
148003
  const parts = [];
@@ -148005,7 +148011,7 @@ function getMCPUserAgent() {
148005
148011
  parts.push(`client-app/${process.env.RAYU_AGENT_SDK_CLIENT_APP}`);
148006
148012
  }
148007
148013
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
148008
- return `rayu/${"1.2.13"}${suffix}`;
148014
+ return `rayu/${"1.2.16"}${suffix}`;
148009
148015
  }
148010
148016
  function getWebFetchUserAgent() {
148011
148017
  return `Rayu-User (${getRayuUserAgent()})`;
@@ -148128,7 +148134,7 @@ var init_user = __esm(() => {
148128
148134
  deviceId,
148129
148135
  sessionId: getSessionId(),
148130
148136
  email: getEmail(),
148131
- appVersion: "1.2.13",
148137
+ appVersion: "1.2.16",
148132
148138
  platform: getHostPlatformForAnalytics(),
148133
148139
  organizationUuid,
148134
148140
  accountUuid,
@@ -178788,67 +178794,6 @@ var init_bedrock_sdk = __esm(() => {
178788
178794
  init_client3();
178789
178795
  });
178790
178796
 
178791
- // src/services/api/gemini/vertexChatClient.ts
178792
- var exports_vertexChatClient = {};
178793
- __export(exports_vertexChatClient, {
178794
- toVertexModelId: () => toVertexModelId,
178795
- createVertexGeminiClient: () => createVertexGeminiClient,
178796
- buildVertexFetch: () => buildVertexFetch
178797
- });
178798
- function toVertexModelId(model) {
178799
- if (!model)
178800
- return model;
178801
- if (model.includes("/"))
178802
- return model;
178803
- return `google/${model}`;
178804
- }
178805
- function buildVertexFetch(getToken = getVertexAccessToken) {
178806
- return async (input, init) => {
178807
- const token = await getToken();
178808
- const headers = new Headers(init?.headers);
178809
- headers.set("Authorization", `Bearer ${token}`);
178810
- let body = init?.body;
178811
- if (typeof body === "string" && body.length > 0) {
178812
- try {
178813
- const parsed = JSON.parse(body);
178814
- if (typeof parsed.model === "string") {
178815
- parsed.model = toVertexModelId(parsed.model);
178816
- body = JSON.stringify(parsed);
178817
- }
178818
- } catch {}
178819
- }
178820
- const res = await globalThis.fetch(input, { ...init, headers, body });
178821
- if (res.status === 403) {
178822
- const raw = await res.clone().text().catch(() => "");
178823
- if (/PERMISSION_DENIED|aiplatform|has not been used|disabled/i.test(raw)) {
178824
- const hint = 'Vertex AI access denied. On your GCP project: enable the "Vertex AI API" ' + "(console.cloud.google.com/apis/library/aiplatform.googleapis.com), ensure " + 'billing is active, and grant your account the "Vertex AI User" role ' + "(roles/aiplatform.user). Original: " + raw.slice(0, 300);
178825
- return new Response(JSON.stringify({ error: { code: 403, status: "PERMISSION_DENIED", message: hint } }), {
178826
- status: 403,
178827
- headers: { "Content-Type": "application/json" }
178828
- });
178829
- }
178830
- }
178831
- return res;
178832
- };
178833
- }
178834
- function createVertexGeminiClient(provider, maxRetries) {
178835
- const project = provider.gcpProject ?? "";
178836
- const region = provider.gcpRegion || DEFAULT_VERTEX_REGION;
178837
- const baseURL = vertexBaseURL(project, region);
178838
- return createOpenAICompatibleClient({
178839
- apiKey: "",
178840
- baseURL,
178841
- maxRetries,
178842
- providerId: provider.id,
178843
- fetch: buildVertexFetch()
178844
- });
178845
- }
178846
- var init_vertexChatClient = __esm(() => {
178847
- init_rayuProviders();
178848
- init_openaiAdapter();
178849
- init_vertexAuth();
178850
- });
178851
-
178852
178797
  // src/utils/browser.ts
178853
178798
  function validateUrl(url3) {
178854
178799
  let parsedUrl;
@@ -179454,6 +179399,9 @@ function buildGenAIBody(params) {
179454
179399
  config2.maxOutputTokens = params.max_tokens;
179455
179400
  if (typeof params.temperature === "number")
179456
179401
  config2.temperature = params.temperature;
179402
+ const thinking = geminiThinkingConfig();
179403
+ if (thinking)
179404
+ config2.thinkingConfig = thinking;
179457
179405
  return {
179458
179406
  model: params.model.replace(/^models\//, ""),
179459
179407
  contents: req.contents,
@@ -179462,6 +179410,17 @@ function buildGenAIBody(params) {
179462
179410
  tools: req.tools
179463
179411
  };
179464
179412
  }
179413
+ function geminiThinkingConfig() {
179414
+ const level = process.env.RAYU_GEMINI_THINKING_LEVEL?.trim().toLowerCase();
179415
+ const budget = parseInt(process.env.RAYU_GEMINI_THINKING_BUDGET || "", 10);
179416
+ const cfg = {};
179417
+ if (level === "low" || level === "medium" || level === "high") {
179418
+ cfg.thinkingLevel = level;
179419
+ }
179420
+ if (!isNaN(budget) && budget >= 0)
179421
+ cfg.thinkingBudget = budget;
179422
+ return Object.keys(cfg).length ? cfg : undefined;
179423
+ }
179465
179424
  var thoughtSignatures, GEMINI_SCHEMA_KEYS;
179466
179425
  var init_genaiTranslate = __esm(() => {
179467
179426
  thoughtSignatures = new Map;
@@ -179746,6 +179705,127 @@ var init_codeAssistClient = __esm(() => {
179746
179705
  SESSION_ID = randomUUID4();
179747
179706
  });
179748
179707
 
179708
+ // src/services/api/gemini/vertexGenaiClient.ts
179709
+ var exports_vertexGenaiClient = {};
179710
+ __export(exports_vertexGenaiClient, {
179711
+ createVertexGenaiClient: () => createVertexGenaiClient,
179712
+ buildVertexGenaiBody: () => buildVertexGenaiBody,
179713
+ bareVertexModel: () => bareVertexModel
179714
+ });
179715
+ function bareVertexModel(model) {
179716
+ return model.replace(/^models\//, "").replace(/^google\//, "");
179717
+ }
179718
+ function buildVertexGenaiBody(params) {
179719
+ const b = buildGenAIBody(params);
179720
+ const body = { contents: b.contents };
179721
+ if (b.systemInstruction)
179722
+ body.systemInstruction = { parts: [{ text: b.systemInstruction }] };
179723
+ if (b.tools)
179724
+ body.tools = b.tools;
179725
+ if (Object.keys(b.config).length)
179726
+ body.generationConfig = b.config;
179727
+ return body;
179728
+ }
179729
+ function normalizeError3(e2, model) {
179730
+ reportIssue("vertex_genai.request_failed", "Vertex genai request failed", {
179731
+ model,
179732
+ error: e2 instanceof Error ? e2.message : String(e2)
179733
+ });
179734
+ const raw = e2 instanceof Error ? e2.message : String(e2);
179735
+ if (/\b403\b|PERMISSION_DENIED|has not been used|aiplatform.*disabled/i.test(raw)) {
179736
+ return new Error('Vertex AI access denied. On your GCP project: enable the "Vertex AI API" ' + "(console.cloud.google.com/apis/library/aiplatform.googleapis.com), ensure " + 'billing is active, and grant your account the "Vertex AI User" role ' + `(roles/aiplatform.user). (Original: ${raw.slice(0, 240)})`);
179737
+ }
179738
+ if (/\b404\b|Publisher Model|was not found|NOT_FOUND/i.test(raw)) {
179739
+ return new Error(`Model "${model}" isn't available on Vertex in this region. Gemini 3.x is ` + "served in `global` / `us-central1` — reconnect (/connect → Vertex) and pick " + "the `global` region, or choose a model your region serves (e.g. gemini-2.5-pro, " + `gemini-2.5-flash). (Original: ${raw.slice(0, 200)})`);
179740
+ }
179741
+ return e2 instanceof Error ? e2 : new Error(String(e2));
179742
+ }
179743
+ function modelUrl(cfg, model, method, query3) {
179744
+ const region = cfg.region || DEFAULT_VERTEX_REGION;
179745
+ const m2 = bareVertexModel(model);
179746
+ return `https://${vertexHost(region)}/v1beta1/projects/${cfg.project}` + `/locations/${region}/publishers/google/models/${m2}:${method}${query3 ? `?${query3}` : ""}`;
179747
+ }
179748
+ async function callVertex(cfg, model, method, body, signal, query3) {
179749
+ const getToken = cfg.getToken ?? getVertexAccessToken;
179750
+ const token = await getToken();
179751
+ return globalThis.fetch(modelUrl(cfg, model, method, query3), {
179752
+ method: "POST",
179753
+ headers: {
179754
+ Authorization: `Bearer ${token}`,
179755
+ "Content-Type": "application/json",
179756
+ "x-goog-user-project": cfg.project
179757
+ },
179758
+ body: JSON.stringify(body),
179759
+ signal
179760
+ });
179761
+ }
179762
+ function createVertexGenaiClient(provider, maxRetries) {
179763
+ const project = provider.gcpProject || process.env.GOOGLE_CLOUD_PROJECT || "";
179764
+ const cfg = {
179765
+ project,
179766
+ region: provider.gcpRegion || DEFAULT_VERTEX_REGION,
179767
+ maxRetries,
179768
+ providerId: provider.id
179769
+ };
179770
+ function ensureProject() {
179771
+ if (!cfg.project) {
179772
+ throw new Error("No GCP project configured for Vertex AI. Run /connect → Google Gemini — " + "Vertex AI, or set GOOGLE_CLOUD_PROJECT.");
179773
+ }
179774
+ }
179775
+ async function runNonStreaming(params) {
179776
+ try {
179777
+ ensureProject();
179778
+ const res = await callVertex(cfg, params.model, "generateContent", buildVertexGenaiBody(params));
179779
+ if (!res.ok) {
179780
+ const text = await res.text().catch(() => "");
179781
+ throw new Error(`Vertex generateContent ${res.status}: ${text.slice(0, 300)}`);
179782
+ }
179783
+ const json2 = await res.json();
179784
+ return toBetaMessageFromGenAI(json2, params.model);
179785
+ } catch (e2) {
179786
+ throw normalizeError3(e2, params.model);
179787
+ }
179788
+ }
179789
+ async function runStreaming(params) {
179790
+ try {
179791
+ ensureProject();
179792
+ const res = await callVertex(cfg, params.model, "streamGenerateContent", buildVertexGenaiBody(params), undefined, "alt=sse");
179793
+ if (!res.ok || !res.body) {
179794
+ const text = await res.text().catch(() => "");
179795
+ throw new Error(`Vertex streamGenerateContent ${res.status}: ${text.slice(0, 300)}`);
179796
+ }
179797
+ const chunks = parseSSEResponses(res.body);
179798
+ return {
179799
+ data: translateGenAIStream(chunks, params.model),
179800
+ request_id: null,
179801
+ response: new Response(null, { status: 200 })
179802
+ };
179803
+ } catch (e2) {
179804
+ throw normalizeError3(e2, params.model);
179805
+ }
179806
+ }
179807
+ return {
179808
+ beta: {
179809
+ messages: {
179810
+ create(params) {
179811
+ if (params.stream) {
179812
+ const p = Promise.resolve();
179813
+ return Object.assign(p, { withResponse: () => runStreaming(params) });
179814
+ }
179815
+ return runNonStreaming(params);
179816
+ }
179817
+ }
179818
+ }
179819
+ };
179820
+ }
179821
+ var init_vertexGenaiClient = __esm(() => {
179822
+ init_rayuDiagnostics();
179823
+ init_rayuProviders();
179824
+ init_vertexAuth();
179825
+ init_codeAssistClient();
179826
+ init_genaiTranslate();
179827
+ });
179828
+
179749
179829
  // src/services/api/client.ts
179750
179830
  import { randomUUID as randomUUID5 } from "crypto";
179751
179831
  function createStderrLogger() {
@@ -179794,8 +179874,8 @@ async function getRayuVertexClient(maxRetries) {
179794
179874
  if (active?.kind !== "vertex") {
179795
179875
  return null;
179796
179876
  }
179797
- const { createVertexGeminiClient: createVertexGeminiClient2 } = await Promise.resolve().then(() => (init_vertexChatClient(), exports_vertexChatClient));
179798
- return createVertexGeminiClient2(active, maxRetries);
179877
+ const { createVertexGenaiClient: createVertexGenaiClient2 } = await Promise.resolve().then(() => (init_vertexGenaiClient(), exports_vertexGenaiClient));
179878
+ return createVertexGenaiClient2(active, maxRetries);
179799
179879
  }
179800
179880
  async function buildGenAIClientFor(provider, maxRetries) {
179801
179881
  const { createCodeAssistClient: createCodeAssistClient2 } = await Promise.resolve().then(() => (init_codeAssistClient(), exports_codeAssistClient));
@@ -179829,8 +179909,8 @@ async function buildClientForProvider(provider, maxRetries) {
179829
179909
  });
179830
179910
  }
179831
179911
  if (provider.kind === "vertex") {
179832
- const { createVertexGeminiClient: createVertexGeminiClient2 } = await Promise.resolve().then(() => (init_vertexChatClient(), exports_vertexChatClient));
179833
- return createVertexGeminiClient2(provider, maxRetries);
179912
+ const { createVertexGenaiClient: createVertexGenaiClient2 } = await Promise.resolve().then(() => (init_vertexGenaiClient(), exports_vertexGenaiClient));
179913
+ return createVertexGenaiClient2(provider, maxRetries);
179834
179914
  }
179835
179915
  if (provider.kind === "genai") {
179836
179916
  return buildGenAIClientFor(provider, maxRetries);
@@ -181124,7 +181204,7 @@ var init_metadata = __esm(() => {
181124
181204
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
181125
181205
  WHITESPACE_REGEX = /\s+/;
181126
181206
  getVersionBase = memoize_default(() => {
181127
- const match = "1.2.13".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
181207
+ const match = "1.2.16".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
181128
181208
  return match ? match[0] : undefined;
181129
181209
  });
181130
181210
  buildEnvContext = memoize_default(async () => {
@@ -181163,7 +181243,7 @@ var init_metadata = __esm(() => {
181163
181243
  },
181164
181244
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
181165
181245
  isRayuAction: isEnvTruthy(process.env.RAYU_ACTION),
181166
- version: "1.2.13",
181246
+ version: "1.2.16",
181167
181247
  versionBase: getVersionBase(),
181168
181248
  buildTime: "",
181169
181249
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
@@ -181777,7 +181857,7 @@ function initialize1PEventLogging() {
181777
181857
  const platform2 = getPlatform();
181778
181858
  const attributes = {
181779
181859
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "rayu",
181780
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.2.13"
181860
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.2.16"
181781
181861
  };
181782
181862
  if (platform2 === "wsl") {
181783
181863
  const wslVersion = getWslVersion();
@@ -181804,7 +181884,7 @@ function initialize1PEventLogging() {
181804
181884
  })
181805
181885
  ]
181806
181886
  });
181807
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.2.13");
181887
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("io.rayu.events", "1.2.16");
181808
181888
  }
181809
181889
  async function reinitialize1PEventLoggingIfConfigChanged() {
181810
181890
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -217720,7 +217800,7 @@ function getAttributionHeader(fingerprint) {
217720
217800
  if (!isAttributionHeaderEnabled()) {
217721
217801
  return "";
217722
217802
  }
217723
- const version2 = `${"1.2.13"}.${fingerprint}`;
217803
+ const version2 = `${"1.2.16"}.${fingerprint}`;
217724
217804
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
217725
217805
  const cch = "";
217726
217806
  const workload = getWorkload();
@@ -301808,7 +301888,7 @@ function getTelemetryAttributes() {
301808
301888
  attributes["session.id"] = sessionId;
301809
301889
  }
301810
301890
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
301811
- attributes["app.version"] = "1.2.13";
301891
+ attributes["app.version"] = "1.2.16";
301812
301892
  }
301813
301893
  const oauthAccount = getOauthAccountInfo();
301814
301894
  if (oauthAccount) {
@@ -412194,7 +412274,7 @@ function getInstallationEnv() {
412194
412274
  return;
412195
412275
  }
412196
412276
  function getClaudeCodeVersion() {
412197
- return "1.2.13";
412277
+ return "1.2.16";
412198
412278
  }
412199
412279
  async function getInstalledVSCodeExtensionVersion(command) {
412200
412280
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -417432,7 +417512,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
417432
417512
  const client4 = new Client({
417433
417513
  name: "claude-code",
417434
417514
  title: "RAYU",
417435
- version: "1.2.13",
417515
+ version: "1.2.16",
417436
417516
  description: "Anthropic's agentic coding tool",
417437
417517
  websiteUrl: PRODUCT_URL
417438
417518
  }, {
@@ -417749,7 +417829,7 @@ var init_client7 = __esm(() => {
417749
417829
  const client4 = new Client({
417750
417830
  name: "claude-code",
417751
417831
  title: "RAYU",
417752
- version: "1.2.13",
417832
+ version: "1.2.16",
417753
417833
  description: "Anthropic's agentic coding tool",
417754
417834
  websiteUrl: PRODUCT_URL
417755
417835
  }, {
@@ -432535,7 +432615,7 @@ function computeFingerprint(messageText, version2) {
432535
432615
  }
432536
432616
  function computeFingerprintFromMessages(messages) {
432537
432617
  const firstMessageText = extractFirstMessageText(messages);
432538
- return computeFingerprint(firstMessageText, "1.2.13");
432618
+ return computeFingerprint(firstMessageText, "1.2.16");
432539
432619
  }
432540
432620
  var FINGERPRINT_SALT = "59cf53e54c78";
432541
432621
  var init_fingerprint = () => {};
@@ -432577,7 +432657,7 @@ async function sideQuery(opts) {
432577
432657
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
432578
432658
  }
432579
432659
  const messageText = extractFirstUserMessageText(messages);
432580
- const fingerprint = computeFingerprint(messageText, "1.2.13");
432660
+ const fingerprint = computeFingerprint(messageText, "1.2.16");
432581
432661
  const attributionHeader = getAttributionHeader(fingerprint);
432582
432662
  const systemBlocks = [
432583
432663
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -527337,7 +527417,7 @@ function Feedback({
527337
527417
  platform: env4.platform,
527338
527418
  gitRepo: envInfo.isGit,
527339
527419
  terminal: env4.terminal,
527340
- version: "1.2.13",
527420
+ version: "1.2.16",
527341
527421
  transcript: normalizeMessagesForAPI(messages),
527342
527422
  errors: sanitizedErrors,
527343
527423
  lastApiRequest: getLastAPIRequest(),
@@ -527529,7 +527609,7 @@ function Feedback({
527529
527609
  ", ",
527530
527610
  env4.terminal,
527531
527611
  ", v",
527532
- "1.2.13"
527612
+ "1.2.16"
527533
527613
  ]
527534
527614
  }, undefined, true, undefined, this)
527535
527615
  ]
@@ -527635,7 +527715,7 @@ ${sanitizedDescription}
527635
527715
  ` + `**Environment Info**
527636
527716
  ` + `- Platform: ${env4.platform}
527637
527717
  ` + `- Terminal: ${env4.terminal}
527638
- ` + `- Version: ${"1.2.13"}
527718
+ ` + `- Version: ${"1.2.16"}
527639
527719
  ` + `- Feedback ID: ${feedbackId}
527640
527720
  ` + `
527641
527721
  **Errors**
@@ -530474,9 +530554,9 @@ async function assertMinVersion() {
530474
530554
  if (false) {}
530475
530555
  try {
530476
530556
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
530477
- if (versionConfig.minVersion && lt("1.2.13", versionConfig.minVersion)) {
530557
+ if (versionConfig.minVersion && lt("1.2.16", versionConfig.minVersion)) {
530478
530558
  console.error(`
530479
- It looks like your version of RAYU (${"1.2.13"}) needs an update.
530559
+ It looks like your version of RAYU (${"1.2.16"}) needs an update.
530480
530560
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
530481
530561
 
530482
530562
  To update, please run:
@@ -530675,7 +530755,7 @@ async function installGlobalPackage(specificVersion) {
530675
530755
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
530676
530756
  logEvent("tengu_auto_updater_lock_contention", {
530677
530757
  pid: process.pid,
530678
- currentVersion: "1.2.13"
530758
+ currentVersion: "1.2.16"
530679
530759
  });
530680
530760
  return "in_progress";
530681
530761
  }
@@ -530684,7 +530764,7 @@ async function installGlobalPackage(specificVersion) {
530684
530764
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
530685
530765
  logError2(new Error("Windows NPM detected in WSL environment"));
530686
530766
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
530687
- currentVersion: "1.2.13"
530767
+ currentVersion: "1.2.16"
530688
530768
  });
530689
530769
  console.error(`
530690
530770
  Error: Windows NPM detected in WSL
@@ -531219,7 +531299,7 @@ function detectLinuxGlobPatternWarnings() {
531219
531299
  }
531220
531300
  async function getDoctorDiagnostic() {
531221
531301
  const installationType = await getCurrentInstallationType();
531222
- const version2 = typeof MACRO !== "undefined" ? "1.2.13" : "unknown";
531302
+ const version2 = typeof MACRO !== "undefined" ? "1.2.16" : "unknown";
531223
531303
  const installationPath = await getInstallationPath();
531224
531304
  const invokedBinary = getInvokedBinary();
531225
531305
  const multipleInstallations = await detectMultipleInstallations();
@@ -532014,8 +532094,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
532014
532094
  const maxVersion = await getMaxVersion();
532015
532095
  if (maxVersion && gt(version2, maxVersion)) {
532016
532096
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
532017
- if (gte("1.2.13", maxVersion)) {
532018
- logForDebugging(`Native installer: current version ${"1.2.13"} is already at or above maxVersion ${maxVersion}, skipping update`);
532097
+ if (gte("1.2.16", maxVersion)) {
532098
+ logForDebugging(`Native installer: current version ${"1.2.16"} is already at or above maxVersion ${maxVersion}, skipping update`);
532019
532099
  logEvent("tengu_native_update_skipped_max_version", {
532020
532100
  latency_ms: Date.now() - startTime,
532021
532101
  max_version: maxVersion,
@@ -532026,7 +532106,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
532026
532106
  version2 = maxVersion;
532027
532107
  }
532028
532108
  }
532029
- if (!forceReinstall && version2 === "1.2.13" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
532109
+ if (!forceReinstall && version2 === "1.2.16" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
532030
532110
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
532031
532111
  logEvent("tengu_native_update_complete", {
532032
532112
  latency_ms: Date.now() - startTime,
@@ -533222,7 +533302,7 @@ function buildPrimarySection() {
533222
533302
  }, undefined, false, undefined, this);
533223
533303
  return [{
533224
533304
  label: "Version",
533225
- value: "1.2.13"
533305
+ value: "1.2.16"
533226
533306
  }, {
533227
533307
  label: "Session name",
533228
533308
  value: nameValue
@@ -536913,7 +536993,7 @@ function Config({
536913
536993
  }
536914
536994
  }, undefined, false, undefined, this)
536915
536995
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime170.jsxDEV(ChannelDowngradeDialog, {
536916
- currentVersion: "1.2.13",
536996
+ currentVersion: "1.2.16",
536917
536997
  onChoice: (choice) => {
536918
536998
  setShowSubmenu(null);
536919
536999
  setTabsHidden(false);
@@ -536925,7 +537005,7 @@ function Config({
536925
537005
  autoUpdatesChannel: "stable"
536926
537006
  };
536927
537007
  if (choice === "stay") {
536928
- newSettings.minimumVersion = "1.2.13";
537008
+ newSettings.minimumVersion = "1.2.16";
536929
537009
  }
536930
537010
  updateSettingsForSource("userSettings", newSettings);
536931
537011
  setSettingsData((prev_27) => ({
@@ -544985,7 +545065,7 @@ function HelpV2(t0) {
544985
545065
  let t6;
544986
545066
  if ($3[31] !== tabs) {
544987
545067
  t6 = /* @__PURE__ */ jsx_dev_runtime197.jsxDEV(Tabs, {
544988
- title: `Rayu-CLI v${"1.2.13"}`,
545068
+ title: `Rayu-CLI v${"1.2.16"}`,
544989
545069
  color: "professionalBlue",
544990
545070
  defaultTab: "general",
544991
545071
  children: tabs
@@ -563707,7 +563787,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
563707
563787
  return [];
563708
563788
  }
563709
563789
  }
563710
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.13") {
563790
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.16") {
563711
563791
  if (false) {}
563712
563792
  const cachedChangelog = await getStoredChangelog();
563713
563793
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -563720,7 +563800,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.2.13")
563720
563800
  releaseNotes
563721
563801
  };
563722
563802
  }
563723
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.13") {
563803
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.2.16") {
563724
563804
  if (false) {}
563725
563805
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
563726
563806
  return {
@@ -564983,7 +565063,7 @@ function getRecentActivitySync() {
564983
565063
  return cachedActivity;
564984
565064
  }
564985
565065
  function getLogoDisplayData() {
564986
- const version2 = process.env.DEMO_VERSION ?? "1.2.13";
565066
+ const version2 = process.env.DEMO_VERSION ?? "1.2.16";
564987
565067
  const serverUrl = getDirectConnectServerUrl();
564988
565068
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
564989
565069
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -566264,7 +566344,7 @@ function LogoV2() {
566264
566344
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
566265
566345
  t2 = () => {
566266
566346
  const currentConfig = getGlobalConfig();
566267
- if (currentConfig.lastReleaseNotesSeen === "1.2.13") {
566347
+ if (currentConfig.lastReleaseNotesSeen === "1.2.16") {
566268
566348
  return;
566269
566349
  }
566270
566350
  saveGlobalConfig(_temp327);
@@ -566940,12 +567020,12 @@ function LogoV2() {
566940
567020
  return t41;
566941
567021
  }
566942
567022
  function _temp327(current) {
566943
- if (current.lastReleaseNotesSeen === "1.2.13") {
567023
+ if (current.lastReleaseNotesSeen === "1.2.16") {
566944
567024
  return current;
566945
567025
  }
566946
567026
  return {
566947
567027
  ...current,
566948
- lastReleaseNotesSeen: "1.2.13"
567028
+ lastReleaseNotesSeen: "1.2.16"
566949
567029
  };
566950
567030
  }
566951
567031
  function _temp241(s_0) {
@@ -591613,7 +591693,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
591613
591693
  smapsRollup,
591614
591694
  platform: process.platform,
591615
591695
  nodeVersion: process.version,
591616
- ccVersion: "1.2.13"
591696
+ ccVersion: "1.2.16"
591617
591697
  };
591618
591698
  }
591619
591699
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -592141,7 +592221,7 @@ var init_bridge_kick = __esm(() => {
592141
592221
  var call48 = async () => {
592142
592222
  return {
592143
592223
  type: "text",
592144
- value: "1.2.13"
592224
+ value: "1.2.16"
592145
592225
  };
592146
592226
  }, version2, version_default;
592147
592227
  var init_version = __esm(() => {
@@ -600961,7 +601041,7 @@ function generateHtmlReport(data, insights) {
600961
601041
  </html>`;
600962
601042
  }
600963
601043
  function buildExportData(data, insights, facets, remoteStats) {
600964
- const version3 = typeof MACRO !== "undefined" ? "1.2.13" : "unknown";
601044
+ const version3 = typeof MACRO !== "undefined" ? "1.2.16" : "unknown";
600965
601045
  const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
600966
601046
  const facets_summary = {
600967
601047
  total: facets.size,
@@ -604893,7 +604973,7 @@ var init_sessionStorage = __esm(() => {
604893
604973
  init_settings2();
604894
604974
  init_slowOperations();
604895
604975
  init_uuid();
604896
- VERSION6 = typeof MACRO !== "undefined" ? "1.2.13" : "unknown";
604976
+ VERSION6 = typeof MACRO !== "undefined" ? "1.2.16" : "unknown";
604897
604977
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
604898
604978
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
604899
604979
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -606112,7 +606192,7 @@ var init_filesystem = __esm(() => {
606112
606192
  });
606113
606193
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
606114
606194
  const nonce = randomBytes18(16).toString("hex");
606115
- return join149(getClaudeTempDir(), "bundled-skills", "1.2.13", nonce);
606195
+ return join149(getClaudeTempDir(), "bundled-skills", "1.2.16", nonce);
606116
606196
  });
606117
606197
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
606118
606198
  });
@@ -611227,7 +611307,7 @@ __export(exports_update, {
611227
611307
  import { execFileSync as execFileSync3 } from "node:child_process";
611228
611308
  import { homedir as homedir32 } from "os";
611229
611309
  async function update() {
611230
- writeToStdout(`Current version: ${"1.2.13"}
611310
+ writeToStdout(`Current version: ${"1.2.16"}
611231
611311
  `);
611232
611312
  const isBundled = isInBundledMode();
611233
611313
  if (isBundled) {
@@ -611253,13 +611333,13 @@ Manual check: npm view ${"@rayu-dev/rayu-cli"} version
611253
611333
  process.exit(1);
611254
611334
  return;
611255
611335
  }
611256
- if (latestVersion === "1.2.13") {
611336
+ if (latestVersion === "1.2.16") {
611257
611337
  writeToStdout(source_default.green(`
611258
- Rayu CLI is up to date (${"1.2.13"})
611338
+ Rayu CLI is up to date (${"1.2.16"})
611259
611339
  `));
611260
611340
  process.exit(0);
611261
611341
  }
611262
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.13"})
611342
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.2.16"})
611263
611343
  `);
611264
611344
  writeToStdout(`Installing update...
611265
611345
 
@@ -611283,7 +611363,7 @@ Try manually:
611283
611363
  return;
611284
611364
  }
611285
611365
  writeToStdout(source_default.green(`
611286
- Successfully updated from ${"1.2.13"} to ${latestVersion}
611366
+ Successfully updated from ${"1.2.16"} to ${latestVersion}
611287
611367
  `));
611288
611368
  process.exit(0);
611289
611369
  }
@@ -611297,14 +611377,14 @@ async function updateNativeBinary() {
611297
611377
  } catch {
611298
611378
  latestVersion = "";
611299
611379
  }
611300
- if (latestVersion && latestVersion === "1.2.13") {
611380
+ if (latestVersion && latestVersion === "1.2.16") {
611301
611381
  writeToStdout(source_default.green(`
611302
- Rayu CLI is up to date (1.2.13)
611382
+ Rayu CLI is up to date (1.2.16)
611303
611383
  `));
611304
611384
  process.exit(0);
611305
611385
  }
611306
611386
  if (latestVersion) {
611307
- writeToStdout(`New version available: ${latestVersion} (current: 1.2.13)
611387
+ writeToStdout(`New version available: ${latestVersion} (current: 1.2.16)
611308
611388
  `);
611309
611389
  }
611310
611390
  writeToStdout(`Downloading and installing update...
@@ -611319,13 +611399,13 @@ Rayu CLI is up to date (1.2.13)
611319
611399
  return;
611320
611400
  }
611321
611401
  writeToStdout(source_default.green(`
611322
- Rayu CLI is up to date (1.2.13)
611402
+ Rayu CLI is up to date (1.2.16)
611323
611403
  `));
611324
611404
  process.exit(0);
611325
611405
  }
611326
611406
  const updatedTo = result.latestVersion ?? latestVersion ?? "latest";
611327
611407
  writeToStdout(source_default.green(`
611328
- Successfully updated from 1.2.13 to ${updatedTo}
611408
+ Successfully updated from 1.2.16 to ${updatedTo}
611329
611409
  `));
611330
611410
  writeToStdout(`Restart your terminal to use the new version.
611331
611411
  `);
@@ -611356,7 +611436,7 @@ __export(exports_uninstall, {
611356
611436
  import { execFileSync as execFileSync4 } from "node:child_process";
611357
611437
  import { homedir as homedir33 } from "os";
611358
611438
  async function uninstall() {
611359
- writeToStdout(`Uninstalling Rayu CLI (${"1.2.13"})...
611439
+ writeToStdout(`Uninstalling Rayu CLI (${"1.2.16"})...
611360
611440
  `);
611361
611441
  writeToStdout(`Running: npm uninstall -g ${"@rayu-dev/rayu-cli"}
611362
611442
 
@@ -611379,7 +611459,7 @@ Try running manually:
611379
611459
  process.exit(1);
611380
611460
  }
611381
611461
  writeToStdout(source_default.green(`
611382
- Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.13"}
611462
+ Successfully uninstalled ${"@rayu-dev/rayu-cli"} ${"1.2.16"}
611383
611463
  `));
611384
611464
  writeToStdout(`Thanks for using Rayu CLI!
611385
611465
  `);
@@ -611431,7 +611511,7 @@ function showFirstRunWelcome() {
611431
611511
  `);
611432
611512
  try {
611433
611513
  mkdirSync13(getRayuConfigHomeDir(), { recursive: true });
611434
- writeFileSync15(markerPath(), "1.2.13", "utf8");
611514
+ writeFileSync15(markerPath(), "1.2.16", "utf8");
611435
611515
  } catch {}
611436
611516
  }
611437
611517
  var init_firstRun = __esm(() => {
@@ -623274,7 +623354,7 @@ async function initializeBetaTracing(resource) {
623274
623354
  });
623275
623355
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
623276
623356
  setLoggerProvider(loggerProvider);
623277
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.13");
623357
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.16");
623278
623358
  setEventLogger(eventLogger);
623279
623359
  process.on("beforeExit", async () => {
623280
623360
  await loggerProvider?.forceFlush();
@@ -623314,7 +623394,7 @@ async function initializeTelemetry() {
623314
623394
  const platform4 = getPlatform();
623315
623395
  const baseAttributes = {
623316
623396
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
623317
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.13"
623397
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.2.16"
623318
623398
  };
623319
623399
  if (platform4 === "wsl") {
623320
623400
  const wslVersion = getWslVersion();
@@ -623359,7 +623439,7 @@ async function initializeTelemetry() {
623359
623439
  } catch {}
623360
623440
  };
623361
623441
  registerCleanup(shutdownTelemetry2);
623362
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.13");
623442
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.2.16");
623363
623443
  }
623364
623444
  const meterProvider = new import_sdk_metrics2.MeterProvider({
623365
623445
  resource,
@@ -623379,7 +623459,7 @@ async function initializeTelemetry() {
623379
623459
  });
623380
623460
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
623381
623461
  setLoggerProvider(loggerProvider);
623382
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.13");
623462
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "1.2.16");
623383
623463
  setEventLogger(eventLogger);
623384
623464
  logForDebugging("[3P telemetry] Event logger set successfully");
623385
623465
  process.on("beforeExit", async () => {
@@ -623441,7 +623521,7 @@ Current timeout: ${timeoutMs}ms
623441
623521
  }
623442
623522
  };
623443
623523
  registerCleanup(shutdownTelemetry);
623444
- return meterProvider.getMeter("com.anthropic.claude_code", "1.2.13");
623524
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.2.16");
623445
623525
  }
623446
623526
  async function flushTelemetry() {
623447
623527
  const meterProvider = getMeterProvider();
@@ -624954,7 +625034,7 @@ function buildSystemInitMessage(inputs) {
624954
625034
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
624955
625035
  apiKeySource: getAnthropicApiKeyWithSource().source,
624956
625036
  betas: getSdkBetas(),
624957
- claude_code_version: "1.2.13",
625037
+ claude_code_version: "1.2.16",
624958
625038
  output_style: outputStyle2,
624959
625039
  agents: inputs.agents.map((agent) => agent.agentType),
624960
625040
  skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
@@ -641163,7 +641243,7 @@ var init_useVoiceEnabled = __esm(() => {
641163
641243
  function getSemverPart(version3) {
641164
641244
  return `${import_semver11.major(version3, { loose: true })}.${import_semver11.minor(version3, { loose: true })}.${import_semver11.patch(version3, { loose: true })}`;
641165
641245
  }
641166
- function useUpdateNotification(updatedVersion, initialVersion = "1.2.13") {
641246
+ function useUpdateNotification(updatedVersion, initialVersion = "1.2.16") {
641167
641247
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react217.useState(() => getSemverPart(initialVersion));
641168
641248
  if (!updatedVersion) {
641169
641249
  return null;
@@ -641203,7 +641283,7 @@ function AutoUpdater({
641203
641283
  return;
641204
641284
  }
641205
641285
  if (false) {}
641206
- const currentVersion = "1.2.13";
641286
+ const currentVersion = "1.2.16";
641207
641287
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
641208
641288
  let latestVersion = await getLatestVersion(channel);
641209
641289
  const isDisabled = isAutoUpdaterDisabled();
@@ -641416,12 +641496,12 @@ function NativeAutoUpdater({
641416
641496
  logEvent("tengu_native_auto_updater_start", {});
641417
641497
  try {
641418
641498
  const maxVersion = await getMaxVersion();
641419
- if (maxVersion && gt("1.2.13", maxVersion)) {
641499
+ if (maxVersion && gt("1.2.16", maxVersion)) {
641420
641500
  const msg = await getMaxVersionMessage();
641421
641501
  setMaxVersionIssue(msg ?? "affects your version");
641422
641502
  }
641423
641503
  const result = await installLatest(channel);
641424
- const currentVersion = "1.2.13";
641504
+ const currentVersion = "1.2.16";
641425
641505
  const latencyMs = Date.now() - startTime;
641426
641506
  if (result.lockFailed) {
641427
641507
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -641558,17 +641638,17 @@ function PackageManagerAutoUpdater(t0) {
641558
641638
  const maxVersion = await getMaxVersion();
641559
641639
  if (maxVersion && latest && gt(latest, maxVersion)) {
641560
641640
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
641561
- if (gte("1.2.13", maxVersion)) {
641562
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.13"} is already at or above maxVersion ${maxVersion}, skipping update`);
641641
+ if (gte("1.2.16", maxVersion)) {
641642
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.2.16"} is already at or above maxVersion ${maxVersion}, skipping update`);
641563
641643
  setUpdateAvailable(false);
641564
641644
  return;
641565
641645
  }
641566
641646
  latest = maxVersion;
641567
641647
  }
641568
- const hasUpdate = latest && !gte("1.2.13", latest) && !shouldSkipVersion(latest);
641648
+ const hasUpdate = latest && !gte("1.2.16", latest) && !shouldSkipVersion(latest);
641569
641649
  setUpdateAvailable(!!hasUpdate);
641570
641650
  if (hasUpdate) {
641571
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.13"} -> ${latest}`);
641651
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.2.16"} -> ${latest}`);
641572
641652
  }
641573
641653
  };
641574
641654
  $3[0] = t1;
@@ -641602,7 +641682,7 @@ function PackageManagerAutoUpdater(t0) {
641602
641682
  wrap: "truncate",
641603
641683
  children: [
641604
641684
  "currentVersion: ",
641605
- "1.2.13"
641685
+ "1.2.16"
641606
641686
  ]
641607
641687
  }, undefined, true, undefined, this);
641608
641688
  $3[3] = verbose;
@@ -649768,7 +649848,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
649768
649848
  project_dir: getOriginalCwd(),
649769
649849
  added_dirs: addedDirs
649770
649850
  },
649771
- version: "1.2.13",
649851
+ version: "1.2.16",
649772
649852
  output_style: {
649773
649853
  name: outputStyleName
649774
649854
  },
@@ -661137,7 +661217,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
661137
661217
  } catch {}
661138
661218
  const data = {
661139
661219
  trigger,
661140
- version: "1.2.13",
661220
+ version: "1.2.16",
661141
661221
  platform: process.platform,
661142
661222
  transcript,
661143
661223
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -673188,7 +673268,7 @@ function WelcomeV2() {
673188
673268
  dimColor: true,
673189
673269
  children: [
673190
673270
  "v",
673191
- "1.2.13"
673271
+ "1.2.16"
673192
673272
  ]
673193
673273
  }, undefined, true, undefined, this)
673194
673274
  ]
@@ -674905,7 +674985,7 @@ function completeOnboarding() {
674905
674985
  saveGlobalConfig((current) => ({
674906
674986
  ...current,
674907
674987
  hasCompletedOnboarding: true,
674908
- lastOnboardingVersion: "1.2.13"
674988
+ lastOnboardingVersion: "1.2.16"
674909
674989
  }));
674910
674990
  }
674911
674991
  function showDialog(root2, renderer) {
@@ -679205,7 +679285,7 @@ function appendToLog(path30, message) {
679205
679285
  cwd: getFsImplementation().cwd(),
679206
679286
  userType: "external",
679207
679287
  sessionId: getSessionId(),
679208
- version: "1.2.13"
679288
+ version: "1.2.16"
679209
679289
  };
679210
679290
  getLogWriter(path30).write(messageWithTimestamp);
679211
679291
  }
@@ -683309,8 +683389,8 @@ async function getEnvLessBridgeConfig() {
683309
683389
  }
683310
683390
  async function checkEnvLessBridgeMinVersion() {
683311
683391
  const cfg = await getEnvLessBridgeConfig();
683312
- if (cfg.min_version && lt("1.2.13", cfg.min_version)) {
683313
- return `Your version of RAYU (${"1.2.13"}) is too old for Remote Control.
683392
+ if (cfg.min_version && lt("1.2.16", cfg.min_version)) {
683393
+ return `Your version of RAYU (${"1.2.16"}) is too old for Remote Control.
683314
683394
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
683315
683395
  }
683316
683396
  return null;
@@ -683784,7 +683864,7 @@ async function initBridgeCore(params) {
683784
683864
  const rawApi = createBridgeApiClient({
683785
683865
  baseUrl,
683786
683866
  getAccessToken,
683787
- runnerVersion: "1.2.13",
683867
+ runnerVersion: "1.2.16",
683788
683868
  onDebug: logForDebugging,
683789
683869
  onAuth401,
683790
683870
  getTrustedDeviceToken
@@ -689146,7 +689226,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
689146
689226
  setCwd(cwd3);
689147
689227
  const server = new Server({
689148
689228
  name: "claude/tengu",
689149
- version: "1.2.13"
689229
+ version: "1.2.16"
689150
689230
  }, {
689151
689231
  capabilities: {
689152
689232
  tools: {}
@@ -691672,7 +691752,7 @@ ${customInstructions}` : customInstructions;
691672
691752
  }
691673
691753
  }
691674
691754
  logForDiagnosticsNoPII("info", "started", {
691675
- version: "1.2.13",
691755
+ version: "1.2.16",
691676
691756
  is_native_binary: isInBundledMode()
691677
691757
  });
691678
691758
  registerCleanup(async () => {
@@ -692390,7 +692470,7 @@ Usage: rayu --remote "your task description"`, () => gracefulShutdown(1));
692390
692470
  pendingHookMessages
692391
692471
  }, renderAndRun);
692392
692472
  }
692393
- }).version("1.2.13 (Rayu-CLI)", "-v, --version", "Output the version number");
692473
+ }).version("1.2.16 (Rayu-CLI)", "-v, --version", "Output the version number");
692394
692474
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
692395
692475
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
692396
692476
  if (canUserConfigureAdvisor()) {
@@ -692856,7 +692936,7 @@ if (false) {}
692856
692936
  async function main2() {
692857
692937
  const args = process.argv.slice(2);
692858
692938
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
692859
- console.log(`${"1.2.13"} (Rayu-CLI)`);
692939
+ console.log(`${"1.2.16"} (Rayu-CLI)`);
692860
692940
  return;
692861
692941
  }
692862
692942
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayu-dev/rayu-cli",
3
- "version": "1.2.14",
3
+ "version": "1.2.16",
4
4
  "description": "Rayu-CLI — a multi-provider AI coding CLI",
5
5
  "type": "module",
6
6
  "bin": {