Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,25 @@ playwright-report/
test-results/

.worktrees/
native/

# native/ holds the macOS Tauri app and the iOS app, and both are tracked. A
# blanket `native/` ignore made git skip them during a worktree scan, so every
# commit touching them needed `git add -f` and `git add -A` silently missed
# them entirely. Ignore the build output instead.
native/**/target/
native/ios/.build/
native/ios/.derivedData/
native/macos/psyche-build-tauri/src-tauri/gen/schemas/
**/xcuserdata/
**/DerivedData/

# The tauri app is a pnpm workspace member, so the root pnpm-lock.yaml is the
# one pnpm reads and the one that pins its dependencies. A lockfile inside the
# member is a leftover from running `pnpm install` in that directory: nothing
# consumes it, and tracking it would give a second, silently drifting answer to
# "which versions does the desktop app use?".
native/macos/psyche-build-tauri/pnpm-lock.yaml

.vercel/
/.superpowers
/.opencode
Expand Down
3 changes: 3 additions & 0 deletions __tests__/tauriCovenLaunch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,7 @@ describe('native Coven launch routing', () => {
},
);
const closeThread = compileFunction<(id: string) => boolean>(functionSource('closeThread'), {
forgetThreadInSets: () => undefined,
findThread: () => thread,
detachThreadPane: () => null,
pendingDataBuffers: new Map(),
Expand Down Expand Up @@ -921,6 +922,7 @@ describe('native Coven launch routing', () => {
const state = { threads: [thread], activeThreadId: thread.id };
let stopCalls = 0;
const closeThread = compileFunction<(id: string) => boolean>(functionSource('closeThread'), {
forgetThreadInSets: () => undefined,
findThread: () => thread,
detachThreadPane: () => null,
pendingDataBuffers: new Map(),
Expand Down Expand Up @@ -995,6 +997,7 @@ describe('native Coven launch routing', () => {
},
);
const closeThread = compileFunction<(id: string) => boolean>(functionSource('closeThread'), {
forgetThreadInSets: () => undefined,
findThread: () => state.threads.find((value) => value.id === thread.id) || null,
detachThreadPane: () => null,
pendingDataBuffers: new Map(),
Expand Down
Loading
Loading