diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 9d450cc..20e8a93 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -4,11 +4,10 @@ on: push: branches: - 'feature/**' - - 'beta' + - 'main' pull_request: types: [opened, synchronize, reopened, closed] branches: - - 'beta' - 'main' jobs: @@ -76,16 +75,11 @@ jobs: echo "preid=beta" >> $GITHUB_OUTPUT echo "tag=beta" >> $GITHUB_OUTPUT echo "Release type: BETA (experimental features)" - elif [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == refs/heads/beta ]]; then - echo "type=beta" >> $GITHUB_OUTPUT - echo "preid=beta" >> $GITHUB_OUTPUT - echo "tag=beta" >> $GITHUB_OUTPUT - echo "Release type: BETA (testing phase - direct push)" - elif [[ "${{ github.event_name }}" == "pull_request" && "${{ github.base_ref }}" == "beta" ]]; then - echo "type=beta" >> $GITHUB_OUTPUT - echo "preid=beta" >> $GITHUB_OUTPUT - echo "tag=beta" >> $GITHUB_OUTPUT - echo "Release type: BETA (testing phase - PR merge)" + elif [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == refs/heads/main ]]; then + echo "type=stable" >> $GITHUB_OUTPUT + echo "preid=" >> $GITHUB_OUTPUT + echo "tag=latest" >> $GITHUB_OUTPUT + echo "Release type: STABLE (production ready)" elif [[ "${{ github.event_name }}" == "pull_request" && "${{ github.base_ref }}" == "main" ]]; then echo "type=stable" >> $GITHUB_OUTPUT echo "preid=" >> $GITHUB_OUTPUT @@ -111,8 +105,8 @@ jobs: # For stable releases, analyze commits to determine semantic version echo "Analyzing commits to determine semantic version..." - # Get commits since last stable release - LAST_STABLE=$(npm view "$PKG" versions --json 2>/dev/null | jq -r ".[] | select(startswith(\"0.\") and (contains(\"-alpha.\") | not) and (contains(\"-beta.\") | not))" | tail -1) || echo "" + # Get commits since last stable release (excluding beta versions) + LAST_STABLE=$(npm view "$PKG" versions --json 2>/dev/null | jq -r ".[] | select(startswith(\"0.\") and (contains(\"-beta.\") | not))" | tail -1) || echo "" if [ -n "$LAST_STABLE" ] && [ "$LAST_STABLE" != "null" ]; then echo "Last stable version: $LAST_STABLE" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4218ec..f3aea3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,7 @@ jobs: echo "Analyzing commits to determine semantic version..." # Get commits since last stable release - LAST_STABLE=$(npm view "$PKG" versions --json 2>/dev/null | jq -r ".[] | select(startswith(\"0.\") and (contains(\"-alpha.\") | not) and (contains(\"-beta.\") | not))" | tail -1) || echo "" + LAST_STABLE=$(npm view "$PKG" versions --json 2>/dev/null | jq -r ".[] | select(startswith(\"0.\") and (contains(\"-beta.\") | not))" | tail -1) || echo "" if [ -n "$LAST_STABLE" ] && [ "$LAST_STABLE" != "null" ]; then echo "Last stable version: $LAST_STABLE" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eac860f..8e85e38 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,6 @@ name: Release (semantic-release) - DISABLED -# DISABLED: Using custom alpha/beta workflow instead +# DISABLED: Using custom beta workflow instead # This will be re-enabled when we're ready for stable releases on: workflow_dispatch: # Manual trigger only, no automatic triggers diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index f393012..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,15 +0,0 @@ -## 1.0.0-beta.1 (2025-09-07) - -### ⚠ BREAKING CHANGES - -- **story/iteration-one:** new features - -### Features - -- add initial project structure and configuration files ([03c77bd](https://github.com/jwill9999/openrouter-cli/commit/03c77bdb9eef1a5daa496383e6708625419fc6b2)) -- **story/iteration-one:** add husky, github workflows, releases and tags, npm release ([147b78c](https://github.com/jwill9999/openrouter-cli/commit/147b78cee9d56fd1d6cfe33e382db215e7b7e760)) -- **story/iteration-one:** fix release workflow ([ac42562](https://github.com/jwill9999/openrouter-cli/commit/ac42562cf525ae42e5804b25a080bf5bc877dfa0)) - -### Bug Fixes - -- **story/iteration-one:** Fix failing release ([496821b](https://github.com/jwill9999/openrouter-cli/commit/496821b94161f14f717b791dfd686f0cbe798479)) diff --git a/README.md b/README.md index 7ea5926..cdd934c 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,47 @@ [](https://www.npmjs.com/package/@letuscode/openrouter-cli) [](https://www.npmjs.com/package/@letuscode/openrouter-cli?activeTab=versions) -OpenAI‑compatible CLI for OpenRouter. Ask questions, chat in a REPL, and fuzzy‑search models. +OpenAI‑compatible CLI for `OpenRouter`. Ask questions, chat in a REPL, and fuzzy‑search models. + +> **Note**: This project is in MVP development. Beta releases are for testing, and stable releases are for general use. See [Release Strategy](docs/RELEASE_STRATEGY.md) for details. You can change your model any time. In a terminal, run `openrouter models` to browse, or in the REPL type `/model` to search inline. Tip: search for `free` to see free models. +
+
+Monitor your current session costs + |
+
+
+Get Billing Information + |
+
+
+Monitor your current session costs + |
+
+
+Repl Chat Configurations + |
+