mirror of
https://github.com/open-gitagent/langship.sh.git
synced 2026-08-03 07:21:04 +02:00
feat: add NodePalette and PipelineCanvas components for enhanced flow node management
- Introduced NodePalette component to display draggable nodes categorized by type. - Implemented PipelineCanvas component to manage the flow of nodes and connections. - Integrated drag-and-drop functionality for adding nodes to the canvas. - Created a catalog of node types with associated metadata for rendering in the palette. - Established conversion functions between pipeline definitions and React Flow state. - Added inspector for editing node properties and managing connections. - Updated Next.js configuration for production and development environments. - Removed obsolete embed.go file and added nginx configuration for serving the app. - Updated package dependencies including @xyflow/react for enhanced functionality. - Added TypeScript definitions for CSS imports to support styling in components.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# air config — https://github.com/air-verse/air
|
||||
# Rebuilds and restarts the Go server when *.go files change.
|
||||
# UI dev runs separately via `make dev` (Next.js HMR on :3000, /api proxied to :8080).
|
||||
|
||||
root = "."
|
||||
tmp_dir = "tmp"
|
||||
|
||||
[build]
|
||||
bin = "tmp/flow"
|
||||
cmd = "go build -o tmp/flow ./cmd/flow"
|
||||
delay = 200
|
||||
exclude_dir = ["bin", "tmp", "web", "node_modules", ".git", ".next", "out"]
|
||||
exclude_regex = ["_test\\.go$"]
|
||||
include_ext = ["go"]
|
||||
args_bin = ["serve"]
|
||||
kill_delay = "1s"
|
||||
send_interrupt = true
|
||||
stop_on_error = true
|
||||
|
||||
[log]
|
||||
time = false
|
||||
|
||||
[color]
|
||||
main = "magenta"
|
||||
watcher = "cyan"
|
||||
build = "yellow"
|
||||
runner = "green"
|
||||
|
||||
[misc]
|
||||
clean_on_exit = true
|
||||
Reference in New Issue
Block a user