7 Commits
Author SHA1 Message Date
evanp 28d736f627 chore: push to VS Marketplace on semver tag 2026-11-08 12:31:32 -05:00
evanp 0d30fd1eb5 0.4.1 2026-11-08 11:53:05 -05:00
evanp 8265975098 fix: vsce build process needs URL locations 2026-11-08 11:52:58 -05:00
evanp 5aaf3f4f97 0.4.0 2026-11-08 11:48:56 -05:00
evanp 90a51287b4 doc: CHANGELOG 0.4.0 2026-11-08 11:48:46 -05:00
evanp a252f90b62 doc: update README with instructions for joining, getting an API key 2026-11-08 11:47:09 -05:00
evanp a789afbd61 chore: update marketplace display name 2026-11-08 11:41:25 -05:00
6 changed files with 117 additions and 13 deletions

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
name: Publish to VS Marketplace
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Verify tag matches package.json version
env:
TAG_REF: ${{ gitea.ref_name }}
run: |
tag="${TAG_REF#v}"
pkg="$(node -p "require('./package.json').version")"
echo "Tag version: $tag"
echo "package.json version: $pkg"
if [ "$tag" != "$pkg" ]; then
echo "::error::Tag v$tag does not match package.json version $pkg"
exit 1
fi
- name: Install dependencies
run: npm ci
- name: Type-check, lint, and bundle
run: npm run package
- name: Publish to VS Marketplace
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npx vsce publish -p "$VSCE_PAT" --skip-duplicate
+1
View File
@@ -1,5 +1,6 @@
.vscode/** .vscode/**
.vscode-test/** .vscode-test/**
.gitea/**
out/** out/**
node_modules/** node_modules/**
src/** src/**
+38 -1
View File
@@ -12,6 +12,33 @@ and this project adheres to
### Added ### Added
- Gitea Actions workflow (`.gitea/workflows/publish.yaml`) that publishes to
the VS Code Marketplace when a `vX.Y.Z` tag is pushed. It fails if the tag
disagrees with the `version` in package.json, runs the existing
`npm run package` gate (type-check, lint, production bundle) before
publishing, and passes `--skip-duplicate` so a re-run is a no-op rather
than a failure. Requires repository Actions to be enabled and a
`VSCE_PAT` repository secret.
### Fixed
- Excluded `.gitea/**` from the packaged extension in `.vscodeignore`, so
workflow files are no longer bundled into the VSIX.
## [0.4.1] - 2026-11-08
### Fixed
- Moved the Marketplace `baseContentUrl`/`baseImagesUrl` settings into a
`vsce` block in package.json. vsce only reads them from there (or from
CLI flags) for non-GitHub/GitLab repositories, so packaging previously
failed with "Couldn't detect the repository". Verified the packaged
README now links the icon, LICENSE, and NOTICE with working Gitea URLs.
## [0.4.0] - 2026-11-08
### Added
- Set `baseContentUrl` in package.json to the Gitea raw URL, so LICENSE and - Set `baseContentUrl` in package.json to the Gitea raw URL, so LICENSE and
NOTICE links in the README resolve correctly on the Marketplace. NOTICE links in the README resolve correctly on the Marketplace.
- Added an npm `publish` script running `vsce publish`, with `@vscode/vsce` - Added an npm `publish` script running `vsce publish`, with `@vscode/vsce`
@@ -23,6 +50,12 @@ and this project adheres to
the Marketplace listing and in the Extensions view. the Marketplace listing and in the Extensions view.
- Added Marketplace keywords for search discoverability. - Added Marketplace keywords for search discoverability.
- Changed the Marketplace category from "Other" to "AI". - Changed the Marketplace category from "Other" to "AI".
- Changed the Marketplace display name from the package ID to the readable
title, "Inference Coop for Copilot Chat".
- Reworked the README: an "About the Inference Cooperative" section for
prospective members, step-by-step Setup instructions starting with
creating an API key at the dashboard (noting keys are shown only once),
and consistent use of "Inference Cooperative" as the organization name.
### Removed ### Removed
@@ -30,6 +63,8 @@ and this project adheres to
ever talked to the hardcoded `https://gateway.inference.coop/v1` gateway; ever talked to the hardcoded `https://gateway.inference.coop/v1` gateway;
keeping a configurable URL would let a modified setting redirect the keeping a configurable URL would let a modified setting redirect the
stored API key to a hostile endpoint. stored API key to a hostile endpoint.
- Removed the membership/API-key line from Requirements, since Setup now
walks through acquiring both.
## [0.3.0] - 2026-11-08 ## [0.3.0] - 2026-11-08
@@ -108,7 +143,9 @@ First release usable for chat.
Initial development release. Not functional for chat. Initial development release. Not functional for chat.
[Unreleased]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.3.0...HEAD [Unreleased]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.4.1...HEAD
[0.4.1]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.4.0...v0.4.1
[0.4.0]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.3.0...v0.4.0
[0.3.0]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.2.2...v0.3.0 [0.3.0]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.2.2...v0.3.0
[0.2.2]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.2.1...v0.2.2 [0.2.2]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.2.1...v0.2.2
[0.2.1]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.2.0...v0.2.1 [0.2.1]: https://git.inference.coop/code/inference-coop-copilot/compare/v0.2.0...v0.2.1
+27 -6
View File
@@ -4,26 +4,47 @@
Official model provider for [inference.coop](https://inference.coop), usable Official model provider for [inference.coop](https://inference.coop), usable
in GitHub Copilot Chat. An official project of the Inference Cooperative, in GitHub Copilot Chat. An official project of the Inference Cooperative,
maintained in the co-op's Git at maintained in the Inference Cooperative's Git at
[code/inference-coop-copilot](https://git.inference.coop/code/inference-coop-copilot). [code/inference-coop-copilot](https://git.inference.coop/code/inference-coop-copilot).
## About the Inference Cooperative
The Inference Cooperative is a member-owned cooperative that pools its
members' purchasing power to support privacy-preserving, renewable-energy,
and open-weights AI services. Members choose among powerful, open-weights
models — hosted in encrypted enclaves, on 100% renewable power, or built as
public goods — instead of accepting whatever Big Tech offers.
Membership is a sliding scale starting at $5 a month. Every member gets the
same $15 monthly credit for chat and API use, plus a vote in how the
Inference Cooperative is run. Credits never expire, and you can cancel any time.
To join, visit [inference.coop](https://inference.coop) and sign up. Your
membership includes access to the chat and the developer API — this
extension brings those same models into GitHub Copilot Chat.
## Requirements ## Requirements
- VS Code 1.145 or newer - VS Code 1.145 or newer
- GitHub Copilot Chat, installed and signed in - GitHub Copilot Chat, installed and signed in
- A co-op membership and API key
Copilot Business/Enterprise: your administrator must leave "Bring Your Own Copilot Business/Enterprise: your administrator must leave "Bring Your Own
Language Model Key" enabled, or these models will not appear. Language Model Key" enabled, or these models will not appear.
## Setup ## Setup
1. Run **Inference Coop: Set API Key** from the Command Palette and paste 1. Create an API key at
your co-op key. It is stored in VS Code's secret storage, not in settings. [dashboard.inference.coop/#keys-card](https://dashboard.inference.coop/#keys-card).
2. Open Copilot Chat, click the model name, and pick an `inference-coop/…` **The key is only shown once, right after it is created** — copy it
somewhere safe before you close the page.
2. Run **Inference Coop: Set API Key** from the Command Palette and paste
the key. It is stored in VS Code's secret storage, not in settings.
3. Open Copilot Chat, click the model name, and pick an `inference-coop/…`
model. Tool calling works, so agent mode is usable. model. Tool calling works, so agent mode is usable.
To sign out, run **Inference Coop: Sign Out**. To sign out, run **Inference Coop: Sign Out**. (You can create a new key
any time and run Set API Key again — keys are not deleted when you sign
out, so revoke unused keys from the dashboard.)
## Limitations ## Limitations
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "inference-coop-copilot", "name": "inference-coop-copilot",
"version": "0.3.0", "version": "0.4.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "inference-coop-copilot", "name": "inference-coop-copilot",
"version": "0.3.0", "version": "0.4.1",
"license": "Apache-2.0", "license": "Apache-2.0",
"devDependencies": { "devDependencies": {
"@types/mocha": "^10.0.10", "@types/mocha": "^10.0.10",
+7 -4
View File
@@ -1,8 +1,8 @@
{ {
"name": "inference-coop-copilot", "name": "inference-coop-copilot",
"displayName": "inference-coop-copilot", "displayName": "Inference Coop for Copilot Chat",
"description": "Inference.coop models for Copilot Chat", "description": "Inference.coop models for Copilot Chat",
"version": "0.3.0", "version": "0.4.1",
"icon": "images/icon.png", "icon": "images/icon.png",
"engines": { "engines": {
"vscode": "^1.145.0" "vscode": "^1.145.0"
@@ -10,8 +10,11 @@
"publisher": "evanp", "publisher": "evanp",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.inference.coop/code/inference-coop-copilot.git", "url": "https://git.inference.coop/code/inference-coop-copilot.git"
"baseContentUrl": "https://git.inference.coop/code/inference-coop-copilot/raw/branch/main" },
"vsce": {
"baseContentUrl": "https://git.inference.coop/code/inference-coop-copilot/raw/branch/main",
"baseImagesUrl": "https://git.inference.coop/code/inference-coop-copilot/raw/branch/main"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"categories": [ "categories": [