6 Commits
6 changed files with 1573 additions and 30 deletions

No files matched your search

+31
View File
@@ -8,6 +8,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- Set `baseContentUrl` in package.json to the Gitea raw URL, so LICENSE and
NOTICE links in the README resolve correctly on the Marketplace.
- Added an npm `publish` script running `vsce publish`, with `@vscode/vsce`
as a dev dependency, for releasing to the VS Code Marketplace.
- Added `language-models` and `chat` Marketplace tags, so the extension
appears in the "Install Language Models" discovery flow. The tags take
effect when the next version is published.
- Added an extension icon rendered from the Inference Coop logo, shown on
the Marketplace listing and in the Extensions view.
- Added Marketplace keywords for search discoverability.
- 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 the unused `inferenceCoop.baseUrl` setting. The extension only
ever talked to the hardcoded `https://gateway.inference.coop/v1` gateway;
keeping a configurable URL would let a modified setting redirect the
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
### Changed
+29 -7
View File
@@ -1,28 +1,50 @@
# Inference Coop for Copilot Chat
![Inference Coop](images/icon.png)
Official model provider for [inference.coop](https://inference.coop), usable
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).
## 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
- VS Code 1.145 or newer
- GitHub Copilot Chat, installed and signed in
- A co-op membership and API key
Copilot Business/Enterprise: your administrator must leave "Bring Your Own
Language Model Key" enabled, or these models will not appear.
## Setup
1. Run **Inference Coop: Set API Key** from the Command Palette and paste
your co-op key. It is stored in VS Code's secret storage, not in settings.
2. Open Copilot Chat, click the model name, and pick an `inference-coop/…`
1. Create an API key at
[dashboard.inference.coop/#keys-card](https://dashboard.inference.coop/#keys-card).
**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.
To use a different gateway, set `inferenceCoop.baseUrl`. 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
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+25
View File
@@ -0,0 +1,25 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130 130">
<rect width="130" height="130" rx="24" fill="#faf8f5"/>
<circle cx="65" cy="14" r="5" fill="#5b8c5a"/>
<circle cx="58" cy="30" r="6" fill="#7ab87a"/>
<circle cx="74" cy="30" r="4" fill="#6ba86b"/>
<circle cx="51.5" cy="46" r="6.5" fill="#5b8c5a"/>
<circle cx="65" cy="46" r="5" fill="#7ab87a"/>
<circle cx="81" cy="46" r="4" fill="#6ba86b"/>
<circle cx="44" cy="62" r="7" fill="#6ba86b"/>
<circle cx="61" cy="62" r="5.5" fill="#5b8c5a"/>
<circle cx="76" cy="62" r="4.5" fill="#7ab87a"/>
<circle cx="89.5" cy="62" r="3.5" fill="#6ba86b"/>
<circle cx="36.5" cy="78" r="7.5" fill="#5b8c5a"/>
<circle cx="54" cy="78" r="6" fill="#7ab87a"/>
<circle cx="70" cy="78" r="5" fill="#6ba86b"/>
<circle cx="84" cy="78" r="4" fill="#5b8c5a"/>
<circle cx="97.5" cy="78" r="3.5" fill="#7ab87a"/>
<circle cx="44" cy="94" r="6.5" fill="#6ba86b"/>
<circle cx="61" cy="94" r="5.5" fill="#5b8c5a"/>
<circle cx="76" cy="94" r="4.5" fill="#7ab87a"/>
<circle cx="89.5" cy="94" r="3.5" fill="#6ba86b"/>
<circle cx="51.5" cy="110" r="5.5" fill="#5b8c5a"/>
<circle cx="65" cy="110" r="4.5" fill="#7ab87a"/>
<circle cx="81" cy="110" r="3.5" fill="#6ba86b"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+1459
View File
File diff suppressed because it is too large. Load diff
+29 -23
View File
@@ -1,19 +1,33 @@
{
"name": "inference-coop-copilot",
"displayName": "inference-coop-copilot",
"displayName": "Inference Coop for Copilot Chat",
"description": "Inference.coop models for Copilot Chat",
"version": "0.3.0",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.145.0"
},
"publisher": "evanp",
"repository": {
"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"
},
"license": "Apache-2.0",
"categories": [
"Other"
"AI"
],
"tags": [
"language-models",
"chat"
],
"keywords": [
"inference-coop",
"inference.coop",
"copilot",
"chat",
"language model",
"AI"
],
"activationEvents": [],
"main": "./dist/extension.js",
@@ -25,10 +39,6 @@
}
],
"commands": [
{
"command": "inference-coop-copilot.helloWorld",
"title": "Hello World"
},
{
"command": "inferenceCoop.setKey",
"title": "Inference Coop: Set API Key"
@@ -37,17 +47,7 @@
"command": "inferenceCoop.clearKey",
"title": "Inference Coop: Sign Out"
}
],
"configuration": {
"title": "Inference Coop",
"properties": {
"inferenceCoop.baseUrl": {
"type": "string",
"default": "https://gateway.inference.coop/v1",
"description": "Gateway base URL. Leave default unless testing."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
@@ -61,22 +61,28 @@
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"publish": "vsce publish",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.145.0",
"@types/mocha": "^10.0.10",
"@types/node": "24.x",
"typescript-eslint": "^8.61.1",
"eslint": "^10.5.0",
"@types/vscode": "^1.145.0",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0",
"@vscode/vsce": "^4.1.0",
"esbuild": "^0.28.1",
"eslint": "^10.5.0",
"npm-run-all": "^4.1.5",
"typescript": "^6.0.3",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0"
"typescript-eslint": "^8.61.1"
},
"overrides": {
"diff": "^8.0.4",
"serialize-javascript": "^7.0.6"
},
"allowScripts": {
"@vscode/vsce-sign@2.1.0": true,
"esbuild@0.28.2": true
}
}