helloadhavan/github_issues huggingface dataset:
Repository: facebook/react
Pull request: [mcp] Fix bailout loc


Use the correct loc line numbers and not [Object:object]
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32931).
* #32932
* __->__ #32931
* #32930
* #32929
* #32928

Changed files:
filename: compiler/packages/react-mcp-server/src/index.ts
patch: @@ -283,7 +283,7 @@ server.tool(
           if (typeof err.loc !== 'symbol') {
             return {
               type: 'text' as const,
-              text: `React Compiler bailed out: ${err.message}@${err.loc.start}:${err.loc.end}`,
+              text: `React Compiler bailed out:\n\n${err.message}@${err.loc.start.line}:${err.loc.end.line}`,
             };
           }
           return null;
Repository: vuejs/vue
Pull request: fix(keep-alive): higher priority for exclude than include

Here's my problem in some cases : 

my routes list:  redIndex yellowIndex blueIndex   indexBottom  page1 page2 page3...
just want to cache all the index page except indexBottom page , but include  & exclude can not work together .

 i change the match order , so i can write component like this 
<keepalive include ='/index/ ' exclude='indexBottom >...</keep-alive>

 i think it would be more convenient in most scnario

Changed files:
filename: src/core/components/keep-alive.js
patch: @@ -87,8 +87,8 @@ export default {
       // check pattern
       const name: ?string = getComponentName(componentOptions)
       if (name && (
-        (this.include && !matches(this.include, name)) ||
-        (this.exclude && matches(this.exclude, name))
+        (this.exclude && matches(this.exclude, name)) ||
+        (this.include && !matches(this.include, name))
       )) {
         return vnode
       }
Repository: ollama/ollama
Pull request: bugfix: "null" value for format

Fixes https://github.com/ollama/ollama/issues/7977

Changed files:
filename: cmd/cmd.go
patch: @@ -1036,6 +1036,10 @@ func chat(cmd *cobra.Command, opts runOptions) (*api.Message, error) {
 		return nil
 	}
 
+	if opts.Format == "json" {
+		opts.Format = `"` + opts.Format + `"`
+	}
+
 	req := &api.ChatRequest{
 		Model:    opts.Model,
 		Messages: opts.Messages,
@@ -1121,6 +1125,10 @@ func generate(cmd *cobra.Command, opts runOptions) error {
 		}
 	}
 
+	if opts.Format == "json" {
+		opts.Format = `"` + opts.Format + `"`
+	}
+
 	request := api.GenerateRequest{
 		Model:     opts.Model,
 		Prompt:    opts.Prompt,

filename: llm/server.go
patch: @@ -746,7 +746,7 @@ func (s *llmServer) Completion(ctx context.Context, req CompletionRequest, fn fu
 
 	// TODO (parthsareen): Move conversion to grammar with sampling logic
 	// API should do error handling for invalid formats
-	if req.Format != nil {
+	if req.Format != nil && strings.TrimSpace(string(req.Format)) != "null" {
 		if strings.ToLower(strings.TrimSpace(string(req.Format))) == `"json"` {
 			request["grammar"] = jsonGrammar
 			if !strings.Contains(strings.ToLower(req.Prompt), "json") {
Repository: nodejs/node
Pull request: util: assert getCallSites does not invoke Error.prepareStackTrace

Assert that `util.getCallSites` does not invoke `Error.prepareStackTrace`.

Changed files:
filename: doc/api/util.md
patch: @@ -564,6 +564,9 @@ changes:
 Returns an array of call site objects containing the stack of
 the caller function.
 
+Unlike accessing an `error.stack`, the result returned from this API is not
+interfered with `Error.prepareStackTrace`.
+
 ```mjs
 import { getCallSites } from 'node:util';
 

filename: test/parallel/test-util-getcallsites-preparestacktrace.js
patch: @@ -0,0 +1,14 @@
+'use strict';
+
+const common = require('../common');
+const assert = require('node:assert');
+const { getCallSites } = require('node:util');
+
+// Asserts that util.getCallSites() does not invoke
+// Error.prepareStackTrace.
+
+Error.prepareStackTrace = common.mustNotCall();
+
+const sites = getCallSites(1);
+assert.strictEqual(sites.length, 1);
+assert.strictEqual(sites[0].scriptName, __filename);
Repository: facebook/react
Pull request: [mcp] Add inspect script


Uses https://github.com/modelcontextprotocol/inspector to inspect and debug the mcp server.

`yarn workspace react-mcp-server dev` will build the server in watch mode and launch the inspector. Default address is http://127.0.0.1:6274.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32928).
* #32932
* #32931
* #32930
* #32929
* __->__ #32928

Changed files:
filename: compiler/packages/react-mcp-server/package.json
patch: @@ -8,6 +8,8 @@
   "scripts": {
     "build": "rimraf dist && tsup",
     "test": "echo 'no tests'",
+    "dev": "concurrently --kill-others -n build,inspect \"yarn run watch\" \"wait-on dist/index.js && yarn run inspect\"",
+    "inspect": "npx @modelcontextprotocol/inspector node dist/index.js",
     "watch": "yarn build --watch"
   },
   "dependencies": {
Repository: ollama/ollama
Pull request: ci: build dir changed

Remove no longer relevant build log dir

The build artifacts are no longer in ./build

Changed files:
filename: .github/workflows/release.yaml
patch: @@ -460,7 +460,6 @@ jobs:
         with:
           name: windows-arm64
           path: dist
-      - run: dir build
       - run: |
           import-module 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll'
           Enter-VsDevShell -vsinstallpath 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise' -skipautomaticlocation -DevCmdArguments '-arch=x64 -no_logo'
Repository: facebook/react
Pull request: [ci] Fix check_access fr


💀


Changed files:
filename: .github/workflows/compiler_discord_notify.yml
patch: @@ -13,7 +13,7 @@ jobs:
   check_access:
     runs-on: ubuntu-latest
     outputs:
-      is_member_or_collaborator: ${{ steps.check_access.outputs.result }}
+      is_member_or_collaborator: ${{ steps.check_access.outputs.is_member_or_collaborator }}
     steps:
       - name: Check access
         id: check_access

filename: .github/workflows/runtime_discord_notify.yml
patch: @@ -13,7 +13,7 @@ jobs:
   check_access:
     runs-on: ubuntu-latest
     outputs:
-      is_member_or_collaborator: ${{ steps.check_access.outputs.result }}
+      is_member_or_collaborator: ${{ steps.check_access.outputs.is_member_or_collaborator }}
     steps:
       - name: Check access
         id: check_access

filename: .github/workflows/shared_label_core_team_prs.yml
patch: @@ -14,7 +14,7 @@ jobs:
   check_access:
     runs-on: ubuntu-latest
     outputs:
-      is_member_or_collaborator: ${{ steps.check_access.outputs.result }}
+      is_member_or_collaborator: ${{ steps.check_access.outputs.is_member_or_collaborator }}
     steps:
       - name: Check access
         id: check_access
Repository: electron/electron
Pull request: test: remove already disabled nan tests from our disable list

#### Description of Change

<!--
Thank you for your Pull Request. Please provide a description above and review
the requirements below.

Contributors guide: https://github.com/electron/electron/blob/main/CONTRIBUTING.md
-->

Per the comment in the code here, these lines should be removable since we're on Node v24 now.

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] PR description included and stakeholders cc'd
- [x] `npm test` passes

#### Release Notes

Notes: none <!-- Please add a one-line description for app developers to read in the release notes, or 'none' if no notes relevant to app developers. Examples and help on special cases: https://github.com/electron/clerk/blob/main/README.md#examples -->


Changed files:
filename: script/nan-spec-runner.js
patch: @@ -133,12 +133,7 @@ async function main () {
 
   const DISABLED_TESTS = new Set([
     'nannew-test.js',
-    'buffer-test.js',
-    // These two are incompatible with crrev.com/c/4733273
-    // They are disabled upstream starting in "Node.js 24" (note: the incompatible change above
-    // landed in V8 v13.7), so we can remove them from this list once we upgrade Node.js to 24.
-    'weak-test.js',
-    'weak2-test.js'
+    'buffer-test.js'
   ]);
   const testsToRun = fs.readdirSync(path.resolve(NAN_DIR, 'test', 'js'))
     .filter(test => !DISABLED_TESTS.has(test))
Repository: facebook/react
Pull request: [ci] Fix check_access output


the joy of yml


Changed files:
filename: .github/workflows/compiler_discord_notify.yml
patch: @@ -18,7 +18,7 @@ jobs:
       - name: Check access
         id: check_access
         if: ${{ github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' }}
-        run: echo "is_member_or_collaborator=true" >> "$GITHUB_OUTPUT"
+        run: echo "is_member_or_collaborator='true'" >> "$GITHUB_OUTPUT"
 
   check_maintainer:
     if: ${{ needs.check_access.outputs.is_member_or_collaborator == 'true' }}

filename: .github/workflows/runtime_discord_notify.yml
patch: @@ -18,7 +18,7 @@ jobs:
       - name: Check access
         id: check_access
         if: ${{ github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' }}
-        run: echo "is_member_or_collaborator=true" >> "$GITHUB_OUTPUT"
+        run: echo "is_member_or_collaborator='true'" >> "$GITHUB_OUTPUT"
 
   check_maintainer:
     if: ${{ needs.check_access.outputs.is_member_or_collaborator == 'true' }}

filename: .github/workflows/shared_label_core_team_prs.yml
patch: @@ -19,7 +19,7 @@ jobs:
       - name: Check access
         id: check_access
         if: ${{ github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' }}
-        run: echo "is_member_or_collaborator=true" >> "$GITHUB_OUTPUT"
+        run: echo "is_member_or_collaborator='true'" >> "$GITHUB_OUTPUT"
 
   check_maintainer:
     if: ${{ needs.check_access.outputs.is_member_or_collaborator == 'true' }}
Repository: ggml-org/llama.cpp
Pull request: Update README.md

fix typo

*Make sure to read the [contributing guidelines](https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR*


Changed files:
filename: tools/server/README.md
patch: @@ -1510,7 +1510,7 @@ version = 1
 ; If the same key is defined in a specific preset, it will override the value in this global section.
 [*]
 c = 8192
-n-gpu-layer = 8
+n-gpu-layers = 8
 
 ; If the key corresponds to an existing model on the server,
 ; this will be used as the default config for that model
Repository: vuejs/vue
Pull request: fix(typing): allow variadic plugin use, fix #6357

**What kind of change does this PR introduce?** (check at least one)

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Build-related changes
- [x] Other, please describe: typing update

**Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [x] No

**The PR fulfills these requirements:**

- [x] It's submitted to the `dev` branch for v2.x (or to a previous version branch), _not_ the `master` branch
- [x] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number)
- [x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
- [x] New/updated tests are included

**Other information:**

 fix #6357


Changed files:
filename: types/test/plugin-test.ts
patch: @@ -17,3 +17,4 @@ const installer: PluginFunction<Option> = function(Vue, option) { }
 
 Vue.use(plugin, new Option);
 Vue.use(installer, new Option);
+Vue.use(installer, new Option, new Option, new Option);

filename: types/vue.d.ts
patch: @@ -99,6 +99,7 @@ export declare class Vue {
   static component(id: string, definition?: Component | AsyncComponent): typeof Vue;
 
   static use<T>(plugin: PluginObject<T> | PluginFunction<T>, options?: T): void;
+  static use(plugin: PluginObject<any> | PluginFunction<any>, ...options: any[]): void;
   static mixin(mixin: typeof Vue | ComponentOptions<Vue>): void;
   static compile(template: string): {
     render(createElement: typeof Vue.prototype.$createElement): VNode;
Repository: facebook/react
Pull request: Warn if you pass a hidden prop to Activity

Since `hidden` is a prop on arbitrary DOM elements it's a common mistake to think that it would also work that way on `<Activity>` but it doesn't. In fact, we even had this mistakes in our own tests.

Maybe there's an argument that we should actually just support it but we also have more modes planned.

So this adds a warning. It should also already be covered by TypeScript.

Changed files:
filename: packages/react-reconciler/src/ReactFiberBeginWork.js
patch: @@ -873,6 +873,22 @@ function updateActivityComponent(
   renderLanes: Lanes,
 ) {
   const nextProps: ActivityProps = workInProgress.pendingProps;
+  if (__DEV__) {
+    const hiddenProp = (nextProps: any).hidden;
+    if (hiddenProp !== undefined) {
+      console.error(
+        '<Activity> doesn\'t accept a hidden prop. Use mode="hidden" instead.\n' +
+          '- <Activity %s>\n' +
+          '+ <Activity %s>',
+        hiddenProp === true
+          ? 'hidden'
+          : hiddenProp === false
+            ? 'hidden={false}'
+            : 'hidden={...}',
+        hiddenProp ? 'mode="hidden"' : 'mode="visible"',
+      );
+    }
+  }
   const nextChildren = nextProps.children;
   const nextMode = nextProps.mode;
   const mode = workInProgress.mode;

filename: packages/react-reconciler/src/__tests__/Activity-test.js
patch: @@ -732,7 +732,7 @@ describe('Activity', () => {
 
     const root = ReactNoop.createRoot();
     await act(() => {
-      root.render(<Activity hidden={false} />);
+      root.render(<Activity />);
     });
     assertLog([]);
     expect(root).toMatchRenderedOutput(null);
@@ -741,7 +741,7 @@ describe('Activity', () => {
       // Partially render a component
       startTransition(() => {
         root.render(
-          <Activity hidden={false}>
+          <Activity>
             <Child />
             <Text text="Sibling" />
           </Activity>,
@@ -1480,4 +1480,28 @@ describe('Activity', () => {
     assertLog([]);
     expect(root).toMatchRenderedOutput(<span prop={2} />);
   });
+
+  // @gate enableActivity
+  it('warns if you pass a hidden prop', async () => {
+    function App() {
+      return (
+        // eslint-disable-next-line react/jsx-boolean-value
+        <Activity hidden>
+          <div />
+        </Activity>
+      );
+    }
+
+    const root = ReactNoop.createRoot();
+    await act(() => {
+      root.render(<App show={true} step={1} />);
+    });
+    assertConsoleErrorDev([
+      '<Activity> doesn\'t accept a hidden prop. Use mode="hidden" instead.\n' +
+        '- <Activity hidden>\n' +
+        '+ <Activity mode="hidden">\n' +
+        '    in Activity (at **)\n' +
+        '    in App (at **)',
+    ]);
+  });
 });
Repository: ollama/ollama
Pull request: go.mod: go 1.22.8 -> 1.23.4


Changed files:
filename: go.mod
patch: @@ -1,6 +1,6 @@
 module github.com/ollama/ollama
 
-go 1.22.8
+go 1.23.4
 
 require (
 	github.com/containerd/console v1.0.3
Repository: electron/electron
Pull request: fix: `systemPreferences.getAccentColor` inverted color

Backport of #48511.

See that PR for details.

Notes: Fixed an issue where `systemPreferences.getAccentColor` inverted the color.

Changed files:
filename: shell/browser/api/electron_api_system_preferences_win.cc
patch: @@ -16,6 +16,7 @@
 #include "base/win/wrapped_window_proc.h"
 #include "shell/common/color_util.h"
 #include "shell/common/process_util.h"
+#include "skia/ext/skia_utils_win.h"
 #include "ui/gfx/color_utils.h"
 #include "ui/gfx/win/hwnd_util.h"
 
@@ -88,7 +89,7 @@ std::string SystemPreferences::GetAccentColor() {
   if (!color.has_value())
     return "";
 
-  return hexColorDWORDToRGBA(color.value());
+  return ToRGBAHex(skia::COLORREFToSkColor(color.value()), false);
 }
 
 std::string SystemPreferences::GetColor(gin_helper::ErrorThrower thrower,

filename: spec/api-browser-window-spec.ts
patch: @@ -1,4 +1,4 @@
-import { app, BrowserWindow, BrowserView, dialog, ipcMain, OnBeforeSendHeadersListenerDetails, net, protocol, screen, webContents, webFrameMain, session, WebContents, WebFrameMain } from 'electron/main';
+import { app, BrowserWindow, BrowserView, dialog, ipcMain, OnBeforeSendHeadersListenerDetails, net, protocol, screen, webContents, webFrameMain, session, systemPreferences, WebContents, WebFrameMain } from 'electron/main';
 
 import { expect } from 'chai';
 
@@ -2559,6 +2559,14 @@ describe('BrowserWindow module', () => {
       expect(accentColor).to.match(/^#[0-9A-F]{6}$/i);
     });
 
+    it('matches the systemPreferences system color when true', () => {
+      const w = new BrowserWindow({ show: false });
+      w.setAccentColor(true);
+      const accentColor = w.getAccentColor() as string;
+      const systemColor = systemPreferences.getAccentColor().slice(0, 6);
+      expect(accentColor).to.equal(`#${systemColor}`);
+    });
+
     it('returns the correct accent color after multiple changes', () => {
       const w = new BrowserWindow({ show: false });
Repository: ollama/ollama
Pull request: Return err when NewHipLib() detect error.

Return err when NewHipLib() detect error.

Changed files:
filename: discover/amd_windows.go
patch: @@ -184,7 +184,7 @@ func (gpus RocmGPUInfoList) RefreshFreeMemory() error {
 	hl, err := NewHipLib()
 	if err != nil {
 		slog.Debug(err.Error())
-		return nil
+		return err
 	}
 	defer hl.Release()
Repository: vercel/next.js
Pull request: fix overlay frames cannot be opened sometimes

Noticed sometimes when error overlay pops up, the ignored frames cannot be clicked, it's rare to repro.

The problem: `When dialogResizerRef?.current` is null, the function returns early before reaching the `setIsIgnoreListOpen(tr
ue)` call. This prevents opening the toggle even though opening doesn't actually need the dialog reference - only closing does (for the height transition animation).

Possible scenario: During the initial animation phase when animating is still `true`


Changed files:
filename: packages/next/src/next-devtools/dev-overlay/components/errors/error-overlay-call-stack/error-overlay-call-stack.tsx
patch: @@ -21,17 +21,20 @@ export function ErrorOverlayCallStack({
   function onToggleIgnoreList() {
     const dialog = dialogResizerRef?.current
 
-    if (!dialog) {
-      return
-    }
+    if (isIgnoreListOpen) {
+      // Closing requires dialog for animation
+      if (!dialog) {
+        // No dialog ref available, just close without animation
+        setIsIgnoreListOpen(false)
+        return
+      }
 
-    const { height: currentHeight } = dialog.getBoundingClientRect()
+      const { height: currentHeight } = dialog.getBoundingClientRect()
 
-    if (!initialDialogHeight.current) {
-      initialDialogHeight.current = currentHeight
-    }
+      if (!initialDialogHeight.current) {
+        initialDialogHeight.current = currentHeight
+      }
 
-    if (isIgnoreListOpen) {
       function onTransitionEnd() {
         // TS bug. We closed over a non-nullable value here.
         dialog!.removeEventListener('transitionend', onTransitionEnd)
@@ -41,6 +44,14 @@ export function ErrorOverlayCallStack({
       dialog.style.height = `${initialDialogHeight.current}px`
       dialog.addEventListener('transitionend', onTransitionEnd)
     } else {
+      if (dialog) {
+        const { height: currentHeight } = dialog.getBoundingClientRect()
+        // When the ignore list is closed, we need to store the initial height of the dialog,
+        // we need this value to restore the dialog to its original height when the ignore list is opened again.
+        if (!initialDialogHeight.current) {
+          initialDialogHeight.current = currentHeight
+        }
+      }
       setIsIgnoreListOpen(true)
     }
   }
Repository: ollama/ollama
Pull request:  Add AI Summary Helper to list of community integrations

Adding AI Summary Helper to the community integrations list. The plugin allows users to generate custom summaries for web content using tailored prompts right in the browser / DOM which makes it compatible with send-to-kindle, printing articles etc.. It now supports Ollama/LLaMA models

Changed files:
filename: README.md
patch: @@ -514,6 +514,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [LSP-AI](https://github.com/SilasMarvin/lsp-ai) (Open-source language server for AI-powered functionality)
 - [QodeAssist](https://github.com/Palm1r/QodeAssist) (AI-powered coding assistant plugin for Qt Creator)
 - [Obsidian Quiz Generator plugin](https://github.com/ECuiDev/obsidian-quiz-generator)
+- [AI Summmary Helper plugin](https://github.com/philffm/ai-summary-helper)
 - [TextCraft](https://github.com/suncloudsmoon/TextCraft) (Copilot in Word alternative using Ollama)
 - [Alfred Ollama](https://github.com/zeitlings/alfred-ollama) (Alfred Workflow)
Repository: ggml-org/llama.cpp
Pull request: ggml-zendnn : resolve ZenDNN backend cross-module symbol dependency

This PR fixes the ZenDNN backend failing to load when `GGML_BACKEND_DL=ON`

The issue occurs because MODULE libs cannot access symbols from other MODULE libs, ZenDNN backend was attempting to call `ggml_get_type_traits_cpu()` from ggml-cpu, resulting in an undfined symbol error for `GGML_BACKEND_DL=ON`

This fix uses `ggml_get_type_traits()` from ggml-base instead, eliminating the dependency on ggml-cpu 

Issue links: 
* https://github.com/ggml-org/llama.cpp/issues/19134
* https://github.com/ggml-org/ggml/issues/1404

cc: @amukho @avinashcpandey

Changed files:
filename: ggml/src/ggml-zendnn/ggml-zendnn.cpp
patch: @@ -2,7 +2,6 @@
 
 #include "ggml-backend-impl.h"
 #include "ggml-impl.h"
-#include "ggml-cpu.h"
 #include "zendnnl.hpp"
 
 #include <cstring>
@@ -122,8 +121,8 @@ static void ggml_zendnn_compute_forward_mul_mat(
 
     GGML_TENSOR_BINARY_OP_LOCALS
 
-    ggml_type         const vec_dot_type = ggml_get_type_traits_cpu(src0->type)->vec_dot_type;
-    ggml_from_float_t const from_float = ggml_get_type_traits_cpu(vec_dot_type)->from_float;
+    ggml_type         const vec_dot_type = src0->type;
+    ggml_from_float_t const from_float = ggml_get_type_traits(vec_dot_type)->from_float_ref;
 
     GGML_ASSERT(ne0 == ne01);
     GGML_ASSERT(ne1 == ne11);
Repository: ollama/ollama
Pull request: readme: add aidful-ollama-model-delete to community integration

A simple Python UI which allows to easily select and delete any number of models to free up disk space.

Changed files:
filename: README.md
patch: @@ -360,6 +360,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Witsy](https://github.com/nbonamy/witsy) (An AI Desktop application available for Mac/Windows/Linux)
 - [Abbey](https://github.com/US-Artificial-Intelligence/abbey) (A configurable AI interface server with notebooks, document storage, and YouTube support)
 - [Minima](https://github.com/dmayboroda/minima) (RAG with on-premises or fully local workflow)
+- [aidful-ollama-model-delete](https://github.com/AidfulAI/aidful-ollama-model-delete) (User interface for simplified model cleanup)
 
 ### Cloud