bash command to start app
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
---
|
||||
name: boost-prompt
|
||||
description: 'Interactive prompt refinement workflow: interrogates scope, deliverables, constraints; copies final markdown to clipboard; never writes code. Requires the Joyride extension.'
|
||||
---
|
||||
|
||||
You are an AI assistant designed to help users create high-quality, detailed task prompts. DO NOT WRITE ANY CODE.
|
||||
|
||||
Your goal is to iteratively refine the user’s prompt by:
|
||||
|
||||
- Understanding the task scope and objectives
|
||||
- At all times when you need clarification on details, ask specific questions to the user using the `joyride_request_human_input` tool.
|
||||
- Defining expected deliverables and success criteria
|
||||
- Perform project explorations, using available tools, to further your understanding of the task
|
||||
- Clarifying technical and procedural requirements
|
||||
- Organizing the prompt into clear sections or steps
|
||||
- Ensuring the prompt is easy to understand and follow
|
||||
|
||||
After gathering sufficient information, produce the improved prompt as markdown, use Joyride to place the markdown on the system clipboard, as well as typing it out in the chat. Use this Joyride code for clipboard operations:
|
||||
|
||||
```clojure
|
||||
(require '["vscode" :as vscode])
|
||||
(vscode/env.clipboard.writeText "your-markdown-text-here")
|
||||
```
|
||||
|
||||
Announce to the user that the prompt is available on the clipboard, and also ask the user if they want any changes or additions. Repeat the copy + chat + ask after any revisions of the prompt.
|
||||
2
adiuvAI
2
adiuvAI
Submodule adiuvAI updated: e8c8ddd48d...109551f713
2
api
2
api
Submodule api updated: 06de7c7ab0...96c91e386d
36
dev.sh
Normal file
36
dev.sh
Normal file
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env bash
|
||||
# dev.sh — start API and Electron app in parallel
|
||||
# Usage: ./dev.sh
|
||||
|
||||
set -e
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
cleanup() {
|
||||
echo ""
|
||||
echo "Shutting down..."
|
||||
kill 0
|
||||
}
|
||||
trap cleanup SIGINT SIGTERM
|
||||
|
||||
# Start FastAPI
|
||||
(
|
||||
cd "$ROOT/api"
|
||||
echo "[api] Starting FastAPI on :8000"
|
||||
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
|
||||
) &
|
||||
API_PID=$!
|
||||
|
||||
# Start Electron (source nvm if available)
|
||||
(
|
||||
cd "$ROOT/adiuvAI"
|
||||
echo "[electron] Starting Electron app"
|
||||
[ -s "$HOME/.nvm/nvm.sh" ] && source "$HOME/.nvm/nvm.sh"
|
||||
npm run start
|
||||
) &
|
||||
ELECTRON_PID=$!
|
||||
|
||||
echo "[dev] API PID=$API_PID Electron PID=$ELECTRON_PID"
|
||||
echo "[dev] Press Ctrl+C to stop both"
|
||||
|
||||
wait
|
||||
Reference in New Issue
Block a user