@extension.dev/skill 1.0.0 → 1.0.1

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.
@@ -10,7 +10,7 @@
10
10
  "name": "extension-dev",
11
11
  "source": "./",
12
12
  "description": "Build, debug, and publish cross-browser extensions (Chrome, Edge, Firefox, Safari, and any Chromium- or Gecko-based browser): Manifest V3 gotchas, chromium:/firefox: manifest prefixes, live-browser verification playbooks, and store publishing checklists.",
13
- "version": "1.0.0",
13
+ "version": "1.0.1",
14
14
  "category": "development",
15
15
  "author": {
16
16
  "name": "Cezar Augusto"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "extension-dev",
3
3
  "description": "Cross-browser extension development skill: Manifest V3 gotchas, chromium:/firefox: manifest prefixes, live-browser verification playbooks, and store publishing checklists for the extension.dev / Extension.js stack.",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "author": {
6
6
  "name": "Cezar Augusto",
7
7
  "email": "hello@extension.dev",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1
4
+
5
+ - `references/publishing.md` teaches the `projects` input on
6
+ `extension_project_create` and on `extension_auth` login: one approval for
7
+ several projects in one workspace, the exact-slug rule, the cap of 10
8
+ creates per approval (ten now, the next ten once the hourly limit
9
+ allows), the `creating` resume loop and how to read the per-project
10
+ rows. It needs `@extension.dev/mcp` 10.10.9 and a
11
+ platform that accepts a list.
12
+
3
13
  ## 1.0.0
4
14
 
5
15
  The skill moves to Apache-2.0, and it finally covers the tools it was
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@extension.dev/skill",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "description": "Agent Skill that teaches AI coding agents (Claude Code, Cursor, Copilot, Codex) to build, debug, and publish browser extensions for Chrome, Edge, Firefox, Safari, and every Chromium- or Gecko-based browser (Brave, Opera, Vivaldi, Yandex, Waterfox, LibreWolf): Manifest V3 gotchas, cross-browser manifest rules, and live-browser verification playbooks. Powered by extension.dev and Extension.js.",
6
6
  "license": "Apache-2.0",
7
7
  "author": {
@@ -4,7 +4,7 @@ description: Build, debug, and publish cross-browser extensions (Chrome, Edge, F
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Cezar Augusto
7
- version: 1.0.0
7
+ version: 1.0.1
8
8
  ---
9
9
 
10
10
  # Cross-Browser Extension Development
@@ -171,6 +171,33 @@ before `extension_project_create`: it is two-phase like login (a code and a
171
171
  URL a signed-in GitHub user approves, then a second call with the returned
172
172
  `deviceCode`), and whoever approves the code owns the workspace.
173
173
 
174
+ Several projects in one workspace cost one approval, not two each. Both
175
+ tools take `projects` in place of `project`:
176
+
177
+ - `extension_project_create` with `projects: [{ project, repo }, ...]`
178
+ creates up to 10 projects and stores each one's 7-day token as that
179
+ project's login, so no `extension_auth` call follows. Ten per approval
180
+ is the platform's cap, because it creates at most 10 projects per hour
181
+ for one approving account: plan a longer set as ten now and the next ten
182
+ in a new call once that hourly limit allows. Build inputs given at the
183
+ top level are the default; an entry may override them.
184
+ - `extension_auth` with `action: "login"` and `projects: ["<workspace>/<project>", ...]`
185
+ signs in to up to 20 existing projects, and is how logins that expire
186
+ together are renewed in one approval.
187
+
188
+ Name each project by its exact slug (lowercase letters and digits joined by
189
+ single dashes, at most 48 characters), all in one workspace, none twice; the
190
+ tool refuses anything else before a device code is spent, and refuses any
191
+ list on a platform that does not advertise batch onboarding, in which case
192
+ make one call per project. The approval page
193
+ lists every name, so tell the user to read the list before approving. A
194
+ create list takes a few calls: while the answer is `status: "creating"`,
195
+ call again with the same `deviceCode` and arguments. Read the per-project
196
+ rows in the answer rather than the top-level status: one project refused
197
+ does not stop the others, a row marked `loggedIn: false` needs a batch
198
+ login, and a row marked `not-attempted` needs a new create call. Do not mix
199
+ existing and new projects in one create list; the platform refuses it whole.
200
+
174
201
  ## Sharing a build before it ships
175
202
 
176
203
  `extension_preview_web` with `share: true` uploads the build and returns a