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
13 changes: 10 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=latest,enable={{is_default_branch}}
type=sha,prefix={{branch}}-
type=sha,prefix=sha-

- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down Expand Up @@ -102,12 +102,19 @@ jobs:
- name: Determine tag
id: tag
run: |
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
# Must match a tag the build-and-push job actually pushed (see the
# docker/metadata-action tags above), or imagetools can't find the
# per-image manifests. On PRs metadata pushes `pr-<number>`; on main
# it pushes `latest`. The old `${GITHUB_SHA::8}` fallback was never a
# pushed tag, so build-stack failed on every PR.
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
echo "tag=pr-${{ github.event.number }}" >> $GITHUB_OUTPUT
elif [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "tag=latest" >> $GITHUB_OUTPUT
elif [[ "${{ github.ref }}" == refs/heads/* ]]; then
echo "tag=${GITHUB_REF#refs/heads/}" | sed 's/\//-/g' >> $GITHUB_OUTPUT
else
echo "tag=${GITHUB_SHA::8}" >> $GITHUB_OUTPUT
echo "tag=sha-${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
fi

- name: Create and push manifest for stack
Expand Down
4 changes: 4 additions & 0 deletions packages/mcp-server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ const tools: Tool[] = [
items: { type: 'string' },
description: 'Array of contributor IDs'
},
graph_id: {
type: 'string',
description: 'ID of the graph/project this node belongs to. Strongly recommended: the web UI lists nodes per-graph, so a node created without a graph_id is not shown in any graph view. Use list_graphs / create_graph to obtain one.'
},
metadata: {
type: 'object',
description: 'Additional metadata for the node'
Expand Down
Loading
Loading