chore(deps): bump diff from 5.2.0 to 9.0.0 - #2
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Conversation
Bumps [diff](https://github.com/kpdecker/jsdiff) from 5.2.0 to 9.0.0. - [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md) - [Commits](kpdecker/jsdiff@v5.2.0...v9.0.0) --- updated-dependencies: - dependency-name: diff dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
alsterg
added a commit
that referenced
this pull request
May 22, 2026
Added Gap #1 describing the parser-level pattern → query fallback in NativeToolCallParser.ts, explaining why models confabulate 'pattern' (cross-tool name collision with sed/find_files) and how the fix works without schema pollution. Renumbered existing gaps #2–#7 to #3–#8. chore(release): bump version to 0.22.27
alsterg
added a commit
that referenced
this pull request
May 25, 2026
…omeView hotfix #2) Hotfix #1 (08cb900) relocated `syncExperimentContextKeys` out of `src/shared/experiments.ts` but missed a second offender: `src/shared/ modes.ts` carried `import * as vscode from "vscode"` at line 1, used only by `getAllModesWithPrompts(context: vscode.ExtensionContext)`. `src/shared/modes.ts` is imported by the webview bundle through the `@shofer/shared/modes` alias (see `ExtensionStateContext.tsx`, `SkillsSettings.tsx`, `CreateSkillDialog.tsx`), so the static `vscode` import crashes the webview at module load with: Uncaught TypeError: Failed to resolve module specifier "vscode" …leaving WelcomeView (and every other view) blank with no host-side error. The same pattern bit `vsCodeSelectorUtils.ts`, which used the value form `import { LanguageModelChatSelector } from "vscode"` for a symbol that is only ever used as a type. Fixes: - Move `getAllModesWithPrompts` inline into its only caller, `src/core/prompts/sections/modes.ts` (host-only), with a comment pointing at the Shared Module Isolation Rule in AGENTS.md. - Drop the `vscode` import from `src/shared/modes.ts`. - Convert `vsCodeSelectorUtils.ts` + its spec to `import type` so the symbol is erased at compile time and never appears in the bundle. Bumps to 0.26.12.
alsterg
added a commit
that referenced
this pull request
May 25, 2026
#3) Hotfixes #1 (08cb900) and #2 (09d3858) purged the static `vscode` import from `src/shared/experiments.ts` and `src/shared/modes.ts` respectively. But `src/shared/modes.ts` still re-exported `getFullModeDetails`, which transitively imported `addCustomInstructions` from `src/core/prompts/sections/custom- instructions.ts` — and that module imports `fs/promises`, `path`, and `os`. The webview bundler cannot resolve Node built-ins any more than it can resolve `vscode`, so the webview chunk still carried a stale `shared/modes.ts` source-content reference to a host-only module and the bundle still crashed at load time with `Uncaught TypeError: Failed to resolve module specifier "vscode"` — surfaced this time from the chain modes.ts → custom-instructions.ts. (The reason the symptom looked identical even though the *direct* offender had moved: the cached webview build under `src/webview-ui/build/` was being replayed by turbo because edits to `src/shared/*` did not invalidate the webview package's per-package input hash. Fixed in the superproject by f537a95 which wires `--no-cache` to wipe turbo/vite/tsbuildinfo caches for extension builds. With that flag in hand a clean rebuild confirmed the bundle no longer contains `import "vscode"`.) Fix: move `getFullModeDetails` (the only remaining host-coupled symbol in `src/shared/modes.ts`) into the new host-only module `src/core/modes/getFullModeDetails.ts`, alongside its host-only spec under `src/core/modes/__tests__/getFullModeDetails.test.ts`. Drop the `addCustomInstructions` import from `src/shared/modes.ts`, and strip the now-stale `getFullModeDetails` cases out of the webview-side `src/shared/__tests__/modes.spec.ts`. Update the single host caller in `src/core/environment/getEnvironmentDetails.ts` to import from the new location. Per the "Shared Module Isolation Rule" in AGENTS.md, files under `src/shared/` MUST NOT statically import host-only modules — that includes anything reaching `vscode`, `fs/promises`, `path`, `os`, or host services. This commit closes the last such offender in modes.ts. Bumps version to 0.26.14.
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
alsterg
added a commit
that referenced
this pull request
Jun 10, 2026
… narratives - Update all line-number anchors against HEAD (Task.ts ≈ 7118 lines): preloadShoferMessages 2493→3100, saveShoferMessages 1479→1933, addToShoferMessages→1835, updateShoferMessage→1902, _countTokenBearingMessages→2039, _flushSaveShoferMessages→2061, getStateToPostToWebview 2620→3206, createTaskWithHistoryItem→1467, writeIndex 391→398, home-screen-flash 2672→3372 - Remove unreachable H9 anchors (1505/3733/4555 — those code blocks no longer exist) - Rewrite Root Cause #2 to reflect current JSONL-append architecture: O(1) appendTaskMessage hot path, debounced metadata-only refresh, compaction only at turn boundaries - Rewrite H9 section as historical — postStateToWebviewWithoutTaskHistory has zero references in src/; H9 goal achieved by focus-gated shoferMessageAppended + messageUpdated deltas - Update H4/H6/H8 sections to reflect current state (superseded/removed) - Update Verification section heading to note corrections applied
alsterg
added a commit
that referenced
this pull request
Jun 10, 2026
…ypass Add a dedicated mock scenario matching the architect mode prompt so test #13 passes on the mock provider. Guard test #21 (SIGINT) behind a real-provider check — the prompt contains "number" which hits the built-in mock scenario and returns instantly, so SIGINT always lands after rc=0 on mock. Closes issues #2 and #3 from todos/fixing_tests.md.
alsterg
added a commit
that referenced
this pull request
Jun 13, 2026
Gap #7 claimed the schema marks all 10 params required 'for strict:true mode', contradicting the doc body and the actual grep_search.ts (strict disabled, required: [path, query] only). Gap #2 claimed the trade-offs table still said 'post-filter only' when it already documents the dual --ignore-file + post-filter strategy. Marked both resolved/corrected.
alsterg
added a commit
that referenced
this pull request
Jun 13, 2026
- Gap #2 claimed ShoferIgnoreController is dead code; it is now central and widely used (Task.ts every-task instantiation, code indexer, assistant agent, tree-sitter, ripgrep, context-management). Marked resolved. - PROTECTED_PATTERNS no longer contains .shoferrules* (it's now .shofer/**, .vscode/**, *.code-workspace, .shoferprotected, AGENTS.md, AGENT.md). Reconciled the stale .shoferrules* gaps (#3, #4, #6) and added the missing .shoferprotected row to the write-protected summary table. - Fixed a ghost 'rules-ask/' example (no Ask mode) -> rules-code-search/.
alsterg
added a commit
that referenced
this pull request
Jul 7, 2026
… is open TaskSelector is a fixed off-canvas drawer that's always mounted (slid off-screen when closed), so all ~90 task rows sat in the DOM in the normal chat view — heavy DOM and ~65k-char webview snapshots. Gate the list body on isOpen so rows mount only when the drawer is open; closed state now carries no history rows. Header count and slide animation are unaffected. (shofer-ui-known-bugs #2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps diff from 5.2.0 to 9.0.0.
Changelog
Sourced from diff's changelog.
... (truncated)
Commits
ed13acaUpdate version in package.json and in release notes (#683)7a49317Bump dependencies again (#682)afe5aecAdd Git support, and otherwise variously improve & fix parsePatch (and other ...2e46779Fix a typo (#679)dd2f9948.0.4 release (#678)3cc4384Update docs on releasing to reflect migration to yarn berry (#677)6fc2aa6yarn up '*' && yarn up -R '**' (#676)af7393ayarn up '*' && yarn up -R '**' (#670)4b5d180Fix another bug in diffWords's "intlSegmenter" mode (#667)10da50cyarn up '*' && yarn up -R '**' (#666)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)