pi-note 0.22.0 → 0.22.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.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # pi-note
2
2
 
3
+ [npm](https://www.npmjs.com/package/pi-note) · [Pi package directory](https://pi.dev/packages/pi-note)
4
+
3
5
  Persistent [pinote](https://github.com/kvidzibo/pinote) tasks and Markdown handoffs
4
6
  in Pi: selected-task footer status, `/pi-note`, and agent current-task read/update,
5
7
  add, and tag-listing tools.
@@ -12,10 +14,8 @@ explicit initial-version limits; it is not activated by installing this extensio
12
14
  ## Install
13
15
 
14
16
  Requires Pi 0.99.1+, Node.js 22.19+ and **pinote 0.3.0+** (`note` on PATH). Add and tag listing need **pinote 0.4.0+**.
15
- From this checkout, install the extension with `pi install ./pi`, then run
16
- `/reload` in interactive Pi. The planned npm package name is `pi-note`; after its
17
- first release use `pi install npm:pi-note` instead. It is not published yet. npm
18
- installation does not run Python installers.
17
+ Install with `pi install npm:pi-note`, or `pi install ./pi` from this checkout,
18
+ then run `/reload` in interactive Pi. npm installation does not run Python installers.
19
19
 
20
20
  ### CLI setup and upgrades
21
21
 
@@ -390,13 +390,13 @@ data. Run visual checks under Xvfb/private D-Bus; never use personal task data.
390
390
  OIDC trusted publishing and provenance. Existing versions are skipped; registry
391
391
  failures fail the workflow. No npm token is stored in GitHub.
392
392
 
393
- One-time maintainer setup (not performed by installing this package):
393
+ Only a package's first publication needs this manual bootstrap (not part of
394
+ installation). `pi-note` is already published; use automated releases above.
394
395
 
395
396
  1. From `pi/`, run `npm login`, then `npm publish --ignore-scripts --access public`
396
397
  to bootstrap `pi-note` after checking name availability.
397
398
  2. In npm's package settings configure the GitHub trusted publisher: owner
398
399
  `kvidzibo`, repository `pinote`, workflow `publish.yml`, no environment.
399
- 3. Add verified npm and Pi package-directory links here after publication.
400
400
 
401
401
  The CLI source pin in `setup.ts` must point to a verified immutable commit with a
402
402
  compatible Python package. Update it and the bundled-version setup text together
@@ -27,7 +27,7 @@ const Action = z.object({ method: z.literal('native-ui/action'), params: z.objec
27
27
  uri: z.literal(URI), revision: z.string().min(1).max(256), action: z.string().min(1).max(256),
28
28
  value: z.union([z.string().max(20_000), z.number().finite(), z.boolean(), z.null()]).optional(), _meta: z.record(z.unknown()).optional(),
29
29
  }) });
30
- const server = new Server({ name: 'pinote', version: '0.22.0' }, { capabilities: { tools: {}, resources: {}, experimental: { 'native-ui-v1': {} } } });
30
+ const server = new Server({ name: 'pinote', version: '0.22.1' }, { capabilities: { tools: {}, resources: {}, experimental: { 'native-ui-v1': {} } } });
31
31
  // Serialize complete read/check/write cycles even when a host sends parallel calls.
32
32
  let queue = Promise.resolve();
33
33
  function serial(run) {
package/mcp/README.md CHANGED
@@ -18,11 +18,12 @@ npm --prefix pi ci --ignore-scripts
18
18
  npm --prefix pi run build:mcp
19
19
  ```
20
20
 
21
- Add a service to the gateway config (use absolute paths):
21
+ Merge the service into your gateway's existing `mcpServers` map, preserving other
22
+ services (use absolute paths). Do not mix `mcpServers` with the legacy `servers` key:
22
23
 
23
24
  ```json
24
25
  {
25
- "servers": {
26
+ "mcpServers": {
26
27
  "pinote": {
27
28
  "command": "node",
28
29
  "args": ["/absolute/path/to/pinote/pi/dist-mcp/mcp/server.js"],
@@ -59,8 +60,8 @@ normal personal data. No desktop notifications are sent.
59
60
  create/start/select, right-click to dismiss. Right-click requires gateway 0.22.0+
60
61
  and its Kitty mouse mapping; **Dismiss suggestion** in the app menu remains the
61
62
  keyboard/older-host fallback. These use the gateway's generic footer actions, not a Pinote
62
- extension or private handler. Install the gateway's Kitty protocol handler as
63
- and right-click mouse mapping described in its native UI documentation. Existing
63
+ extension or private handler. Install the gateway's Kitty protocol handler
64
+ and right-click mouse mapping as described in its native UI documentation. Existing
64
65
  installations need to add the mapping and reload Kitty; package updates do not
65
66
  edit terminal configuration. App menus remain the keyboard fallback.
66
67
  - **Agent:** `propose`, `get_current`, `update_current`, `fields`, and `tags` are
package/mcp/server.ts CHANGED
@@ -32,7 +32,7 @@ const Action = z.object({ method: z.literal('native-ui/action'), params: z.objec
32
32
  uri: z.literal(URI), revision: z.string().min(1).max(256), action: z.string().min(1).max(256),
33
33
  value: z.union([z.string().max(20_000), z.number().finite(), z.boolean(), z.null()]).optional(), _meta: z.record(z.unknown()).optional(),
34
34
  }) });
35
- const server = new Server({ name: 'pinote', version: '0.22.0' }, { capabilities: { tools: {}, resources: {}, experimental: { 'native-ui-v1': {} } } });
35
+ const server = new Server({ name: 'pinote', version: '0.22.1' }, { capabilities: { tools: {}, resources: {}, experimental: { 'native-ui-v1': {} } } });
36
36
  // Serialize complete read/check/write cycles even when a host sends parallel calls.
37
37
  let queue = Promise.resolve();
38
38
  function serial<T>(run: () => Promise<T>): Promise<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-note",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "Persistent pinote tasks, Markdown handoffs, and task status for Pi",
5
5
  "license": "MIT",
6
6
  "type": "module",