Skip to content

Commit bfa7fb9

Browse files
committed
fix(framework): use translate for dev reload
AIDD-Session-Id: 01a0c87c-6995-74d2-9e11-dd8597116055
1 parent 91eff15 commit bfa7fb9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎scripts/dev-sync.sh‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ HAVE_MANAGED_OPENCODE=0; command -v aidd-opencode-reload >/dev/null 2>&1 && HAVE
3030
build_tool() {
3131
local tool="$1"
3232
rm -rf "$BUILD/$tool"; mkdir -p "$BUILD/$tool"
33-
local mode=()
34-
[ "$tool" != opencode ] || mode=(--flat)
35-
npx --yes "@ai-driven-dev/cli@${AIDD_CLI_VERSION}" framework build \
36-
--source "$FW" --target "$tool" --out "$BUILD/$tool" "${mode[@]}" >/dev/null 2>&1
33+
local mode=marketplace
34+
[ "$tool" != opencode ] || mode=flat
35+
npx --yes "@ai-driven-dev/cli@${AIDD_CLI_VERSION}" translate "$FW" \
36+
--to "$tool" --out "$BUILD/$tool" --as "$mode" --force >/dev/null 2>&1
3737
}
3838

3939
sync_opencode_skills() {

0 commit comments

Comments
 (0)