diff --git a/.github/workflows/vscode-extension.yaml b/.github/workflows/vscode-extension.yaml index d26d0dd..f80e26d 100644 --- a/.github/workflows/vscode-extension.yaml +++ b/.github/workflows/vscode-extension.yaml @@ -43,6 +43,9 @@ jobs: - name: Compile run: npm run compile + - name: Compile webview + run: npm run compile:webview + - name: Run tests with coverage run: xvfb-run -a npm run test:coverage env: diff --git a/Cargo.lock b/Cargo.lock index db7a1d1..fdbd5f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1926,7 +1926,7 @@ dependencies = [ [[package]] name = "operator" -version = "0.1.19" +version = "0.1.20" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 8b38014..c4adad4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "operator" -version = "0.1.19" +version = "0.1.20" edition = "2021" description = "Multi-agent orchestration dashboard for gbqr.us" authors = ["gbqr.us"] diff --git a/VERSION b/VERSION index d8a023e..baa9837 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.19 +0.1.20 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1f2bd7f..0a48392 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,5 @@ trigger: none +pr: none parameters: - name: blobName diff --git a/backstage-server/package.json b/backstage-server/package.json index 87990ff..4a33eee 100644 --- a/backstage-server/package.json +++ b/backstage-server/package.json @@ -1,6 +1,6 @@ { "name": "operator-backstage", - "version": "0.1.19", + "version": "0.1.20", "author": { "name": "Samuel Volin", "email": "untra.sam@gmail.com", diff --git a/bump-version.sh b/bump-version.sh new file mode 100755 index 0000000..04de56f --- /dev/null +++ b/bump-version.sh @@ -0,0 +1,70 @@ +#!/usr/bin/env bash +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +cd "$SCRIPT_DIR" + +DRY_RUN=false +if [[ "${1:-}" == "--dry-run" ]]; then + DRY_RUN=true +fi + +# Read current version from source of truth +CURRENT="$(tr -d '[:space:]' < VERSION)" +IFS='.' read -r major minor patch <<< "$CURRENT" +NEW="$major.$minor.$((patch + 1))" + +echo "Bumping version: $CURRENT -> $NEW" + +# Portable first-occurrence replacement using awk +# Replaces only the first line containing the old string +replace_first() { + local file="$1" old="$2" new="$3" + awk -v old="$old" -v new="$new" \ + '!done && index($0, old) { sub(old, new); done=1 } 1' \ + "$file" > "$file.tmp" && mv "$file.tmp" "$file" +} + +# Text files: replace first occurrence of version string +TEXT_FILES=( + "VERSION" + "Cargo.toml" + "opr8r/Cargo.toml" + "vscode-extension/src/webhook-server.ts" + "docs/_config.yml" +) + +# JSON files: update .version via jq +JSON_FILES=( + "vscode-extension/package.json" + "backstage-server/package.json" +) + +for f in "${TEXT_FILES[@]}"; do + if [[ ! -f "$f" ]]; then + echo "WARNING: $f not found, skipping" + continue + fi + if $DRY_RUN; then + echo "[dry-run] would update $f" + else + replace_first "$f" "$CURRENT" "$NEW" + echo "Updated $f" + fi +done + +for f in "${JSON_FILES[@]}"; do + if [[ ! -f "$f" ]]; then + echo "WARNING: $f not found, skipping" + continue + fi + if $DRY_RUN; then + echo "[dry-run] would update $f" + else + jq --arg v "$NEW" '.version = $v' "$f" > "$f.tmp" && mv "$f.tmp" "$f" + echo "Updated $f" + fi +done + +echo "" +echo "Done. Version is now $NEW" diff --git a/docs/_config.yml b/docs/_config.yml index ed6cf4c..dda6d70 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -42,7 +42,7 @@ collections_dir: . # Permalink structure permalink: pretty -version: 0.1.19 +version: 0.1.20 # Google Analytics -ga_tag: G-5JZPJWWT7S # Replace with actual GA4 measurement ID from analytics.google.com \ No newline at end of file +ga_tag: G-5JZPJWWT7S # Replace with actual GA4 measurement ID from analytics.google.com diff --git a/opr8r/Cargo.toml b/opr8r/Cargo.toml index 965dcad..de0fe28 100644 --- a/opr8r/Cargo.toml +++ b/opr8r/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opr8r" -version = "0.1.19" +version = "0.1.20" edition = "2021" description = "Minimal CLI wrapper for LLM commands in multi-step ticket workflows" license = "MIT" diff --git a/vscode-extension/package.json b/vscode-extension/package.json index 042556c..7eb4a5b 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -2,7 +2,7 @@ "name": "operator-terminals", "displayName": "Operator! Terminals for vscode", "description": "VS Code terminal integration for Operator! multi-agent orchestration", - "version": "0.1.19", + "version": "0.1.20", "publisher": "untra", "author": { "name": "Samuel Volin", @@ -285,7 +285,10 @@ "when": "!operator.workingDirectorySet", "description": "Configure Operator! to orchestrate LLM coding agents across many code repositories", "icon": "images/operator-icon-128.png", - "featuredFor": ["CLAUDE.md", "AGENTS.md"], + "featuredFor": [ + "CLAUDE.md", + "AGENTS.md" + ], "steps": [ { "id": "download-operator", diff --git a/vscode-extension/src/webhook-server.ts b/vscode-extension/src/webhook-server.ts index 1c66b9f..83f2591 100644 --- a/vscode-extension/src/webhook-server.ts +++ b/vscode-extension/src/webhook-server.ts @@ -22,7 +22,7 @@ import { SessionInfo, } from './types'; -const VERSION = '0.1.19'; +const VERSION = '0.1.20'; /** * HTTP server for operator <-> extension communication diff --git a/vscode-extension/webview-ui/types/defaults.ts b/vscode-extension/webview-ui/types/defaults.ts index 3bfcb17..0746b2b 100644 --- a/vscode-extension/webview-ui/types/defaults.ts +++ b/vscode-extension/webview-ui/types/defaults.ts @@ -86,6 +86,7 @@ const DEFAULT_CONFIG: Config = { detected: [], providers: [], detection_complete: false, + skill_directory_overrides: {}, }, backstage: { enabled: false, @@ -129,6 +130,7 @@ const DEFAULT_CONFIG: Config = { url: null, timeout_secs: BigInt(10), }, + delegators: [], }; export const DEFAULT_WEBVIEW_CONFIG: WebviewConfig = {