Skip to content

Commit 767df61

Browse files
committed
Bump context-mode plugin version to 1.0.3 and update installation script
1 parent dfebb76 commit 767df61

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/context-mode/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "context-mode",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"name": "context-mode (Claude Code plugin)",
55
"description": "Installs the context-mode Claude Code plugin from the mksglu/context-mode marketplace. Requires a claude-code feature.",
66
"documentationURL": "https://github.com/SoureCode/devcontainer-features/tree/master/src/context-mode",

src/context-mode/install.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
# https://github.com/mksglu/context-mode
44
set -e
55

6+
if ! command -v git >/dev/null 2>&1; then
7+
apt-get update
8+
apt-get install -y --no-install-recommends git ca-certificates
9+
rm -rf /var/lib/apt/lists/*
10+
fi
11+
612
USER_NAME="${_REMOTE_USER:-${USERNAME:-root}}"
713

814
run_as_user() {
@@ -18,4 +24,4 @@ if ! run_as_user 'command -v claude >/dev/null 2>&1'; then
1824
exit 1
1925
fi
2026

21-
run_as_user 'claude plugin marketplace add https://github.com/mksglu/context-mode.git && claude plugin install context-mode@context-mode'
27+
run_as_user 'claude plugin marketplace add mksglu/context-mode && claude plugin install context-mode@context-mode'

0 commit comments

Comments
 (0)