28 lines
866 B
YAML
28 lines
866 B
YAML
name: dev
|
|
base: ubuntu@24.04
|
|
|
|
sdks:
|
|
- name: opencode
|
|
channel: 1/stable
|
|
plugs:
|
|
lmstudio:
|
|
interface: tunnel
|
|
endpoint: localhost:1234
|
|
#There used to be a plug here for binding your host directory in, but seemingly, OpenCode's sdk has it's own predefined plugin.
|
|
#Just use dev/opencode:opencode-config instead
|
|
- name: puppeteer-chrome
|
|
- name: node
|
|
channel: 20/stable
|
|
- name: system
|
|
slots:
|
|
lmstudio:
|
|
interface: tunnel
|
|
endpoint: localhost:1234 # LM Studio
|
|
# project requires node 20 and yarn to build so we install them here
|
|
actions:
|
|
setup: |
|
|
npm install -g yarn@1
|
|
echo "export OPENCODE_PERMISSIONS__BASH=allow" >> /home/workshop/.bashrc
|
|
echo "export OPENCODE_PERMISSIONS__WRITE=allow" >> /home/workshop/.bashrc
|
|
echo "export OPENCODE_PERMISSIONS__READ=allow" >> /home/workshop/.bashrc
|