Skip to content

Commit

Permalink
refactor(intellij): update tabby-chat-panel api 0.4.0. (#3575)
Browse files Browse the repository at this point in the history
  • Loading branch information
icycodes authored Dec 17, 2024
1 parent a2b91f2 commit 115b194
Show file tree
Hide file tree
Showing 4 changed files with 253 additions and 196 deletions.
15 changes: 13 additions & 2 deletions clients/intellij/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ tasks {
}
}

register("buildAgent") {
register("buildDependencies") {
exec {
commandLine("pnpm", "turbo", "build")
}
}

prepareSandbox {
dependsOn("buildAgent")
dependsOn("buildDependencies")

// Copy the tabby-agent to the sandbox
from(
fileTree("node_modules/tabby-agent/dist/") {
include("node/**/*")
Expand All @@ -87,6 +89,15 @@ tasks {
) {
into("intellij-tabby/tabby-agent/")
}

// Copy the tabby-threads `create-thread-from-iframe` to the sandbox
from(
fileTree("node_modules/tabby-threads/dist/") {
include("iife/create-thread-from-iframe.js")
}
) {
into("intellij-tabby/tabby-threads/")
}
}
}

3 changes: 2 additions & 1 deletion clients/intellij/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "intellij-tabby",
"private": true,
"devDependencies": {
"tabby-agent": "workspace:*"
"tabby-agent": "workspace:*",
"tabby-threads": "workspace:*"
}
}
Loading

0 comments on commit 115b194

Please sign in to comment.