Compare commits

..

3 commits

Author SHA1 Message Date
Max Bucknell
d82612f699
Add grpc snippet 2025-05-21 13:08:34 -07:00
Max Bucknell
b48fc601a7
Update deprecated zed config 2025-05-21 13:08:15 -07:00
Max Bucknell
0c33bd935c
Remove unused git aliases 2025-05-21 13:07:55 -07:00
3 changed files with 14 additions and 8 deletions

View file

@ -14,11 +14,8 @@
[alias] [alias]
dc = diff --staged dc = diff --staged
di = diff di = diff
amend = commit --amend
aa = add --all
ff = merge --ff-only
noff = merge --no-ff
pf = pull --ff-only pf = pull --ff-only
pr = pull --rebase
fa = fetch --all fa = fetch --all
st = status st = status
ci = commit --verbose ci = commit --verbose
@ -28,8 +25,6 @@
cl = clone cl = clone
ll = !max-git-log ll = !max-git-log
uu = !max-set-upstream uu = !max-set-upstream
whodunnit = blame
peek = log -1
wip = commit -m 'wip' --no-verify wip = commit -m 'wip' --no-verify
unwip = reset --soft HEAD~1 unwip = reset --soft HEAD~1
s = switch s = switch

View file

@ -13,7 +13,7 @@
"edit_predictions": { "edit_predictions": {
"mode": "subtle" "mode": "subtle"
}, },
"assistant": { "agent": {
"default_model": { "default_model": {
"provider": "anthropic", "provider": "anthropic",
"model": "claude-3-7-sonnet-latest" "model": "claude-3-7-sonnet-latest"

View file

@ -8,7 +8,7 @@
"", "",
"import { describe } from 'node:test'", "import { describe } from 'node:test'",
"", "",
"import { createDatabase, tearDown, withFixturesIt } from '@lib/database/test'", "import { withFixturesIt } from '@lib/database/test'",
"import { createTestContext } from 'baseup/services/internal/engine/context/test'", "import { createTestContext } from 'baseup/services/internal/engine/context/test'",
"", "",
"import { expect, use } from 'chai'", "import { expect, use } from 'chai'",
@ -31,5 +31,16 @@
" $0", " $0",
"})" "})"
] ]
},
"grpcimpl": {
"prefix": "grpcimpl",
"description": "gRPC implementation function",
"body": [
"import type Context from 'baseup/services/internal/engine/context'",
"",
"export async function ${1:endpointName}(ctx: Context) {",
" $0",
"}"
]
} }
} }