ref: up
This commit is contained in:
59
.devcontainer/devcontainer.json
Normal file
59
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"customizations" : {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
// VS Code specific
|
||||
"ms-azuretools.vscode-docker",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"j-brooke.fracturedjsonvsc",
|
||||
// Python specific
|
||||
"ms-python.python",
|
||||
"charliermarsh.ruff",
|
||||
// Markdown specific
|
||||
"yzhang.markdown-all-in-one",
|
||||
// JSON formatter
|
||||
"j-brooke.fracturedjsonvsc",
|
||||
// YAML formatter
|
||||
"kennylong.kubernetes-yaml-formatter",
|
||||
"Continue.continue" // AI
|
||||
],
|
||||
"settings" : {
|
||||
"diffEditor.renderSideBySide": true,
|
||||
"editor.suggestSelection" : "first",
|
||||
"editor.tabSize" : 4,
|
||||
"editor.wordWrap" : "off",
|
||||
"editor.wordWrapColumn" : 200,
|
||||
"explorer.confirmDelete" : false,
|
||||
"explorer.confirmDragAndDrop": false,
|
||||
"files.exclude" : {
|
||||
"**/.classpath" : true,
|
||||
"**/.DS_Store" : true,
|
||||
"**/.factorypath": true,
|
||||
"**/.git" : true,
|
||||
"**/.project" : true,
|
||||
"**/.settings" : true,
|
||||
"**/*.js" : {"when": "$(basename).ts"},
|
||||
"**/*.js.map" : true
|
||||
},
|
||||
"ansible.validation.enabled" : false,
|
||||
"telemetry.telemetryLevel" : "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"forwardPorts" : [],
|
||||
"dockerComposeFile": ["docker-compose.yaml"],
|
||||
"service" : "devcontainer",
|
||||
"workspaceFolder" : "/workspaces/${localWorkspaceFolderBasename}",
|
||||
"mounts" : [
|
||||
// "source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind",
|
||||
"source=${localEnv:HOME}/Workspaces/self/sdlc-agents/agents,target=/workspaces/${localWorkspaceFolderBasename}/.sdlc-agents,type=bind"
|
||||
],
|
||||
"containerEnv" : {
|
||||
"ANTHROPIC_API_KEY" : "",
|
||||
"ANTHROPIC_BASE_URL" : "https://openrouter.ai/api",
|
||||
// "ANTHROPIC_AUTH_TOKEN" : "${localEnv:OPENROUTER_API_KEY}",
|
||||
"ANTHROPIC_MODEL" : "stepfun/step-3.5-flash:free",
|
||||
"ANTHROPIC_SMALL_FAST_MODEL": "nvidia/nemotron-3-super-120b-a12b:free"
|
||||
},
|
||||
"postStartCommand" : "/workspaces/${localWorkspaceFolderBasename}/.devcontainer/setup.sh"
|
||||
}
|
||||
8
.devcontainer/docker-compose.yaml
Normal file
8
.devcontainer/docker-compose.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
services:
|
||||
devcontainer:
|
||||
image: mcr.microsoft.com/vscode/devcontainers/python:3.11-bullseye
|
||||
volumes:
|
||||
- ../..:/workspaces:cached
|
||||
command: sleep infinity
|
||||
env_file:
|
||||
- .env
|
||||
2
.devcontainer/example.env
Normal file
2
.devcontainer/example.env
Normal file
@@ -0,0 +1,2 @@
|
||||
OPENROUTER_API_KEY=
|
||||
ANTHROPIC_AUTH_TOKEN=$OPENROUTER_API_KEY
|
||||
20
.devcontainer/setup.sh
Executable file
20
.devcontainer/setup.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
# For debugging
|
||||
# set -eux
|
||||
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y tmux
|
||||
|
||||
|
||||
# install claude code
|
||||
curl -fsSL https://claude.ai/install.sh | bash
|
||||
|
||||
# install claude plugin
|
||||
claude plugin marketplace add https://github.com/daymade/claude-code-skills
|
||||
claude plugin marketplace add https://github.com/alirezarezvani/claude-skills
|
||||
|
||||
# Marketplace name: daymade-skills (from marketplace.json)
|
||||
# claude plugin install skill-creator@daymade-skills
|
||||
# claude plugin install engineering-skills@claude-code-skills
|
||||
Reference in New Issue
Block a user