Compare commits
2 Commits
v0.2.19
...
fix/issue-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2800e140ac | ||
| 2beb3adb14 |
@@ -382,7 +382,6 @@ cmd_start() {
|
|||||||
local msg_file="$worktree_path/.kugetsu-msg.txt"
|
local msg_file="$worktree_path/.kugetsu-msg.txt"
|
||||||
printf '%s' "$dev_message" > "$msg_file"
|
printf '%s' "$dev_message" > "$msg_file"
|
||||||
nohup sh -c "GITEA_TOKEN='${GITEA_TOKEN:-}' opencode run '@$msg_file' --session '$new_session_id'" >> "$LOGS_DIR/dev-$sanitized_id.log" 2>&1 &
|
nohup sh -c "GITEA_TOKEN='${GITEA_TOKEN:-}' opencode run '@$msg_file' --session '$new_session_id'" >> "$LOGS_DIR/dev-$sanitized_id.log" 2>&1 &
|
||||||
rm -f "$msg_file"
|
|
||||||
|
|
||||||
echo "Session started for '$issue_ref': $new_session_id"
|
echo "Session started for '$issue_ref': $new_session_id"
|
||||||
echo "Worktree: $worktree_path"
|
echo "Worktree: $worktree_path"
|
||||||
@@ -399,7 +398,7 @@ cmd_continue() {
|
|||||||
if [ -z "$session_name" ]; then
|
if [ -z "$session_name" ]; then
|
||||||
session_name="$arg"
|
session_name="$arg"
|
||||||
else
|
else
|
||||||
message="$arg"
|
message="${message}${message:+ }${arg}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -449,7 +448,6 @@ cmd_continue() {
|
|||||||
local msg_file="$worktree_path/.kugetsu-msg.txt"
|
local msg_file="$worktree_path/.kugetsu-msg.txt"
|
||||||
printf '%s' "$message" > "$msg_file"
|
printf '%s' "$message" > "$msg_file"
|
||||||
nohup sh -c "GITEA_TOKEN='${GITEA_TOKEN:-}' opencode run '@$msg_file' --session '$opencode_session_id'" >> "$LOGS_DIR/dev-$sanitized_id.log" 2>&1 &
|
nohup sh -c "GITEA_TOKEN='${GITEA_TOKEN:-}' opencode run '@$msg_file' --session '$opencode_session_id'" >> "$LOGS_DIR/dev-$sanitized_id.log" 2>&1 &
|
||||||
rm -f "$msg_file"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_list() {
|
cmd_list() {
|
||||||
|
|||||||
Reference in New Issue
Block a user