@snappedly-tools/shipyard 0.9.2-staging.36260059839 → 0.9.2-staging.36261752709

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -2400,7 +2400,7 @@ var runnerCommand = Command.make(
2400
2400
  purgeRunnerCommand
2401
2401
  ])
2402
2402
  );
2403
- var VERSION = "0.9.2-staging.36260059839" ;
2403
+ var VERSION = "0.9.2-staging.36261752709" ;
2404
2404
  var SHIPYARD_PACKAGE_NAME = "@snappedly-tools/shipyard";
2405
2405
  var isMissingPath = (error) => error !== null && typeof error === "object" && "code" in error && error.code === "ENOENT";
2406
2406
  var lstatIfPresent = async (path) => {
@@ -103,6 +103,7 @@ for ((i=1; i<${#scope_ids[@]}; i++)); do
103
103
  echo "Could not mark ticket #${scope_ids[i]} complete; retry issue completion when GitHub is available" >&2
104
104
  exit 75
105
105
  fi
106
+ remove_issue_label "${scope_ids[i]}" ready-for-human
106
107
  remove_issue_label "${scope_ids[i]}" shipyard:blocked
107
108
  remove_issue_label "${scope_ids[i]}" shipyard:pending
108
109
  done
@@ -128,7 +129,11 @@ if ! gh label create "$status_label" --repo "$repo" --color "$status_color" --de
128
129
  echo "Warning: could not create $status_label" >&2
129
130
  status_synced=false
130
131
  fi
131
- if ! gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
132
+ if gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
133
+ if [[ "$status_label" == shipyard:complete ]]; then
134
+ remove_issue_label "$issue" ready-for-human
135
+ fi
136
+ else
132
137
  if [[ "$branch" == "shipyard/issue-$issue" ]]; then
133
138
  echo "Could not mark ticket #$issue complete; retry issue completion when GitHub is available" >&2
134
139
  exit 75
@@ -103,6 +103,7 @@ for ((i=1; i<${#scope_ids[@]}; i++)); do
103
103
  echo "Could not mark ticket #${scope_ids[i]} complete; retry issue completion when GitHub is available" >&2
104
104
  exit 75
105
105
  fi
106
+ remove_issue_label "${scope_ids[i]}" ready-for-human
106
107
  remove_issue_label "${scope_ids[i]}" shipyard:blocked
107
108
  remove_issue_label "${scope_ids[i]}" shipyard:pending
108
109
  done
@@ -128,7 +129,11 @@ if ! gh label create "$status_label" --repo "$repo" --color "$status_color" --de
128
129
  echo "Warning: could not create $status_label" >&2
129
130
  status_synced=false
130
131
  fi
131
- if ! gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
132
+ if gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
133
+ if [[ "$status_label" == shipyard:complete ]]; then
134
+ remove_issue_label "$issue" ready-for-human
135
+ fi
136
+ else
132
137
  if [[ "$branch" == "shipyard/issue-$issue" ]]; then
133
138
  echo "Could not mark ticket #$issue complete; retry issue completion when GitHub is available" >&2
134
139
  exit 75
@@ -103,6 +103,7 @@ for ((i=1; i<${#scope_ids[@]}; i++)); do
103
103
  echo "Could not mark ticket #${scope_ids[i]} complete; retry issue completion when GitHub is available" >&2
104
104
  exit 75
105
105
  fi
106
+ remove_issue_label "${scope_ids[i]}" ready-for-human
106
107
  remove_issue_label "${scope_ids[i]}" shipyard:blocked
107
108
  remove_issue_label "${scope_ids[i]}" shipyard:pending
108
109
  done
@@ -128,7 +129,11 @@ if ! gh label create "$status_label" --repo "$repo" --color "$status_color" --de
128
129
  echo "Warning: could not create $status_label" >&2
129
130
  status_synced=false
130
131
  fi
131
- if ! gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
132
+ if gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
133
+ if [[ "$status_label" == shipyard:complete ]]; then
134
+ remove_issue_label "$issue" ready-for-human
135
+ fi
136
+ else
132
137
  if [[ "$branch" == "shipyard/issue-$issue" ]]; then
133
138
  echo "Could not mark ticket #$issue complete; retry issue completion when GitHub is available" >&2
134
139
  exit 75
@@ -103,6 +103,7 @@ for ((i=1; i<${#scope_ids[@]}; i++)); do
103
103
  echo "Could not mark ticket #${scope_ids[i]} complete; retry issue completion when GitHub is available" >&2
104
104
  exit 75
105
105
  fi
106
+ remove_issue_label "${scope_ids[i]}" ready-for-human
106
107
  remove_issue_label "${scope_ids[i]}" shipyard:blocked
107
108
  remove_issue_label "${scope_ids[i]}" shipyard:pending
108
109
  done
@@ -128,7 +129,11 @@ if ! gh label create "$status_label" --repo "$repo" --color "$status_color" --de
128
129
  echo "Warning: could not create $status_label" >&2
129
130
  status_synced=false
130
131
  fi
131
- if ! gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
132
+ if gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
133
+ if [[ "$status_label" == shipyard:complete ]]; then
134
+ remove_issue_label "$issue" ready-for-human
135
+ fi
136
+ else
132
137
  if [[ "$branch" == "shipyard/issue-$issue" ]]; then
133
138
  echo "Could not mark ticket #$issue complete; retry issue completion when GitHub is available" >&2
134
139
  exit 75
@@ -103,6 +103,7 @@ for ((i=1; i<${#scope_ids[@]}; i++)); do
103
103
  echo "Could not mark ticket #${scope_ids[i]} complete; retry issue completion when GitHub is available" >&2
104
104
  exit 75
105
105
  fi
106
+ remove_issue_label "${scope_ids[i]}" ready-for-human
106
107
  remove_issue_label "${scope_ids[i]}" shipyard:blocked
107
108
  remove_issue_label "${scope_ids[i]}" shipyard:pending
108
109
  done
@@ -128,7 +129,11 @@ if ! gh label create "$status_label" --repo "$repo" --color "$status_color" --de
128
129
  echo "Warning: could not create $status_label" >&2
129
130
  status_synced=false
130
131
  fi
131
- if ! gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
132
+ if gh issue edit "$issue" --repo "$repo" --add-label "$status_label"; then
133
+ if [[ "$status_label" == shipyard:complete ]]; then
134
+ remove_issue_label "$issue" ready-for-human
135
+ fi
136
+ else
132
137
  if [[ "$branch" == "shipyard/issue-$issue" ]]; then
133
138
  echo "Could not mark ticket #$issue complete; retry issue completion when GitHub is available" >&2
134
139
  exit 75
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snappedly-tools/shipyard",
3
- "version": "0.9.2-staging.36260059839",
3
+ "version": "0.9.2-staging.36261752709",
4
4
  "description": "Run AI coding agents in isolated sandboxes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",