Skip to content
Closed
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
24 changes: 24 additions & 0 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync fork with upstream

on:
workflow_dispatch:

permissions:
contents: write

concurrency:
group: sync-upstream
cancel-in-progress: true

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync default branch from upstream
env:
GH_TOKEN: ${{ github.token }}
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
run: |
gh api --method POST \
"repos/${GITHUB_REPOSITORY}/merge-upstream" \
-f branch="$DEFAULT_BRANCH"
7 changes: 6 additions & 1 deletion apps/hocuspocus.server/src/modules/mcp/http/serverFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ export const createServerFactory =
websiteUrl: deps.appUrl,
description: 'Find, read, create and edit your docs.plus documents and their chat.'
},
{ instructions: INSTRUCTIONS }
{
instructions: INSTRUCTIONS,
// The tool set never changes. The SDK default (true) invites a
// subscriptions/listen stream that would never carry a message.
capabilities: { tools: { listChanged: false } }
}
)
registerDocumentTools(server, deps, context)
registerChatTools(server, deps, context)
Expand Down
59 changes: 30 additions & 29 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
"markdown-it": "^14.3.0",
"linkify-it": "^5.0.2",
"defu": "^6.1.7",
"sharp": "^0.35.3",
"sharp": "^0.35.5",
"fast-uri": "^3.1.6",
"shell-quote": "^1.11.0",
"immutable": "^5.1.9",
"joi": "^18.2.3",
"tmp": "^0.2.7",
Expand Down