@charlie.act7/gemini-notebook-mcp 2.3.2 → 2.3.3
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.
- package/LICENSE +21 -21
- package/README.md +1 -0
- package/docs/configuration.md +0 -0
- package/docs/implementation-plan.md +26 -0
- package/docs/project-status.md +19 -9
- package/docs/releasing.md +76 -0
- package/docs/tools.md +0 -0
- package/docs/troubleshooting.md +0 -0
- package/docs/usage-guide.md +0 -0
- package/package.json +2 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Please Prompto!
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Please Prompto!
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -475,6 +475,7 @@ Source layout:
|
|
|
475
475
|
- [`docs/usage-guide.md`](./docs/usage-guide.md) — end-to-end walkthroughs.
|
|
476
476
|
- [`docs/implementation-plan.md`](./docs/implementation-plan.md) — staged security, protocol, and feature roadmap.
|
|
477
477
|
- [`docs/project-status.md`](./docs/project-status.md) — delivered versions, current release state, and remaining work.
|
|
478
|
+
- [`docs/releasing.md`](./docs/releasing.md) — tokenless npm trusted-publishing setup and release procedure.
|
|
478
479
|
|
|
479
480
|
---
|
|
480
481
|
|
package/docs/configuration.md
CHANGED
|
File without changes
|
|
@@ -163,6 +163,32 @@ Delivered in this release:
|
|
|
163
163
|
- Added deterministic concurrency and duplicate-candidate regression tests without
|
|
164
164
|
requiring new unverified browser selectors.
|
|
165
165
|
|
|
166
|
+
## 2.3.3 — Trusted npm publication
|
|
167
|
+
|
|
168
|
+
Status: implementation in progress.
|
|
169
|
+
|
|
170
|
+
Scope:
|
|
171
|
+
|
|
172
|
+
- Publish stable versions from a non-prerelease GitHub Release through npm trusted
|
|
173
|
+
publishing and GitHub OIDC, without an `NPM_TOKEN` secret.
|
|
174
|
+
- Require the release tag to match `package.json`, the package/repository metadata to
|
|
175
|
+
match the current repository, and the release commit to belong to the default
|
|
176
|
+
branch.
|
|
177
|
+
- Run the complete project check, safe MCP preflight, and local package smoke test
|
|
178
|
+
before publication.
|
|
179
|
+
- Make workflow reruns idempotent when npm already contains the immutable version.
|
|
180
|
+
- Wait for registry consistency, inspect the remote tarball, install it from npm, and
|
|
181
|
+
smoke-test MCP startup, runtime version, and tool discovery.
|
|
182
|
+
|
|
183
|
+
Acceptance criteria:
|
|
184
|
+
|
|
185
|
+
- Invalid tags, prerelease versions, private/restricted packages, and repository
|
|
186
|
+
mismatches fail before publication.
|
|
187
|
+
- The workflow has only `contents: read` and `id-token: write`, and contains no npm
|
|
188
|
+
token secret.
|
|
189
|
+
- npm shows provenance for the published version.
|
|
190
|
+
- The installed registry package passes `package:smoke` after publication.
|
|
191
|
+
|
|
166
192
|
## Release discipline
|
|
167
193
|
|
|
168
194
|
For each release:
|
package/docs/project-status.md
CHANGED
|
@@ -11,8 +11,8 @@ and still-pending work.
|
|
|
11
11
|
| Surface | Version | State |
|
|
12
12
|
| --- | --- | --- |
|
|
13
13
|
| GitHub `main` | 2.3.2 | Merged through PR #16 (`c168145`) |
|
|
14
|
-
|
|
|
15
|
-
| npm
|
|
14
|
+
| Current branch | 2.3.3 | Trusted npm publication candidate |
|
|
15
|
+
| npm registry | 2.3.2 | Published under the `latest` tag |
|
|
16
16
|
|
|
17
17
|
## Completed work
|
|
18
18
|
|
|
@@ -117,11 +117,20 @@ Version 2.3.1 is complete: the implementation is merged, CI and the authenticate
|
|
|
117
117
|
read-only browser suite pass, npm publication is live, and the remote tarball has been
|
|
118
118
|
verified. No release-specific activity remains open.
|
|
119
119
|
|
|
120
|
-
##
|
|
120
|
+
## 2.3.2 completion status
|
|
121
121
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
Version 2.3.2 is complete: the implementation is merged, CI and CodeQL pass, npm
|
|
123
|
+
`latest` resolves to 2.3.2, and the remote 177-entry tarball exposes valid SHA-512
|
|
124
|
+
integrity metadata. No release-specific activity remains open.
|
|
125
|
+
|
|
126
|
+
## 2.3.3 release candidate
|
|
127
|
+
|
|
128
|
+
Version 2.3.3 automates npm publication from a GitHub Release using trusted
|
|
129
|
+
publishing/OIDC and provenance. It adds release metadata and default-branch gates,
|
|
130
|
+
runs the complete local verification suite before publication, and installs the
|
|
131
|
+
result back from npm for a packaged MCP smoke test. Before the first release, an npm
|
|
132
|
+
package owner must register `publish.yml` as the package's GitHub Actions trusted
|
|
133
|
+
publisher; no `NPM_TOKEN` is used.
|
|
125
134
|
|
|
126
135
|
## Remaining product roadmap
|
|
127
136
|
|
|
@@ -174,8 +183,9 @@ verified. No release-specific activity remains open.
|
|
|
174
183
|
|
|
175
184
|
### Release operations
|
|
176
185
|
|
|
177
|
-
-
|
|
178
|
-
|
|
179
|
-
|
|
186
|
+
- Complete the one-time npm trusted-publisher registration for `publish.yml`, merge
|
|
187
|
+
2.3.3, and create the matching non-prerelease GitHub Release.
|
|
188
|
+
- Confirm that npm records provenance and that the workflow's clean registry install
|
|
189
|
+
passes its MCP startup, version, and tool-count verification.
|
|
180
190
|
- Remove merged remote branches after each release and keep `main` as the only
|
|
181
191
|
long-lived branch unless a maintenance branch is explicitly required.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Releasing to npm
|
|
2
|
+
|
|
3
|
+
The npm package is published from a GitHub Release by `.github/workflows/publish.yml`.
|
|
4
|
+
The workflow uses npm trusted publishing (OIDC), so it does not store or receive an
|
|
5
|
+
`NPM_TOKEN` secret. npm also records provenance for the published package.
|
|
6
|
+
|
|
7
|
+
## One-time trusted publisher setup
|
|
8
|
+
|
|
9
|
+
An npm package owner must configure the publisher before creating the first automated
|
|
10
|
+
release:
|
|
11
|
+
|
|
12
|
+
1. Open the package settings for `@charlie.act7/gemini-notebook-mcp` on npm.
|
|
13
|
+
2. Under **Trusted Publisher**, select **GitHub Actions**.
|
|
14
|
+
3. Enter these exact values:
|
|
15
|
+
- Organization or user: `CharlieCardenasToledo`
|
|
16
|
+
- Repository: `gemini-notebook-mcp`
|
|
17
|
+
- Workflow filename: `publish.yml`
|
|
18
|
+
- Environment: leave empty
|
|
19
|
+
4. Save the trusted publisher.
|
|
20
|
+
5. After one successful OIDC publication, configure package access so ordinary npm
|
|
21
|
+
tokens cannot publish this package.
|
|
22
|
+
|
|
23
|
+
The workflow filename is case-sensitive. It must be configured as the filename only,
|
|
24
|
+
not `.github/workflows/publish.yml`.
|
|
25
|
+
|
|
26
|
+
## Release gates
|
|
27
|
+
|
|
28
|
+
The workflow publishes only a non-prerelease GitHub Release and verifies all of the
|
|
29
|
+
following before calling `npm publish`:
|
|
30
|
+
|
|
31
|
+
- the tag is exactly `v<package.json version>`;
|
|
32
|
+
- the package version is a stable `x.y.z` version;
|
|
33
|
+
- the package is public and its repository matches the current GitHub repository;
|
|
34
|
+
- the checked-out release commit is an ancestor of the default branch;
|
|
35
|
+
- formatting, lint, build, tests, MCP preflight, and local package smoke checks pass;
|
|
36
|
+
- the npm registry is reachable.
|
|
37
|
+
|
|
38
|
+
No npm token is provided to the job. `id-token: write` is limited to the publication
|
|
39
|
+
workflow so npm can exchange GitHub's short-lived OIDC identity for publication
|
|
40
|
+
authorization.
|
|
41
|
+
|
|
42
|
+
## Creating a release
|
|
43
|
+
|
|
44
|
+
Prepare the version, changelog, tests, and documentation in one pull request. After
|
|
45
|
+
that pull request is merged and all required checks pass:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
git switch main
|
|
49
|
+
git pull --ff-only
|
|
50
|
+
gh release create v2.3.3 --target main --generate-notes
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Replace `2.3.3` with the version in `package.json`. Publishing the GitHub Release
|
|
54
|
+
starts the npm workflow. Do not create the tag or release from an unmerged branch.
|
|
55
|
+
|
|
56
|
+
The job is safe to rerun. If the exact package version already exists, it skips
|
|
57
|
+
`npm publish` and continues with registry verification.
|
|
58
|
+
|
|
59
|
+
## Post-publication verification
|
|
60
|
+
|
|
61
|
+
The workflow waits for registry consistency, inspects the remote tarball, installs it
|
|
62
|
+
into a clean temporary prefix, starts its compiled MCP server, and verifies the
|
|
63
|
+
runtime version and discovered tools.
|
|
64
|
+
|
|
65
|
+
Useful manual checks are:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm view @charlie.act7/gemini-notebook-mcp version
|
|
69
|
+
npm view @charlie.act7/gemini-notebook-mcp@2.3.3 dist.integrity dist.attestations
|
|
70
|
+
npm pack @charlie.act7/gemini-notebook-mcp@2.3.3 --dry-run --json
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
If the workflow fails before publication, correct the repository and rerun it. If it
|
|
74
|
+
fails after npm accepted the immutable version, do not bump or republish solely to
|
|
75
|
+
rerun verification; rerun the same workflow, which will detect and verify the
|
|
76
|
+
existing version.
|
package/docs/tools.md
CHANGED
|
File without changes
|
package/docs/troubleshooting.md
CHANGED
|
File without changes
|
package/docs/usage-guide.md
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.3.
|
|
6
|
+
"version": "2.3.3",
|
|
7
7
|
"description": "MCP server for Google Gemini Notebook (formerly NotebookLM) — chat, source ingestion, audio overviews, citations, stdio + Streamable-HTTP transports.",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"bin": {
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"pretest:live:preflight": "npm run build",
|
|
31
31
|
"test:live:preflight": "node scripts/live-readonly-smoke.mjs --preflight-only",
|
|
32
32
|
"package:smoke": "node scripts/package-smoke.mjs",
|
|
33
|
+
"release:check": "node scripts/release-check.mjs",
|
|
33
34
|
"check": "npm run format:check && npm run lint && npm run build && npm test"
|
|
34
35
|
},
|
|
35
36
|
"keywords": [
|