@datspike/pi-codex-session-fast 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +12 -1
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@ Explicit Fast mode for one active native `openai-codex` session in Pi 1.3.0+. Th
4
4
 
5
5
  ## Installation
6
6
 
7
- Install the local package with `pi install /absolute/path/to/pi-codex-session-fast`, then start a new Pi session or run `/reload`.
7
+ Install the package with `pi install npm:@datspike/pi-codex-session-fast`, then start a new Pi session or run `/reload`.
8
8
 
9
9
  Choose any `openai-codex` model through Pi's normal model picker. The extension does not change the default model, OAuth, CLIProxyAPI, transport, or reasoning. Do not load another extension that owns `/fast` or `service_tier` at the same time.
10
10
 
@@ -43,6 +43,17 @@ TypeScript checks and lifecycle tests do not replace live acceptance. Run real m
43
43
 
44
44
  Private plans live in the ignored `.task_files/` directory, and local runs live in `.runtime/`. Neither is included in Git or the npm package.
45
45
 
46
+ ## Publishing
47
+
48
+ The package is published through `.github/workflows/publish.yml` with npm Trusted Publishing and GitHub Actions OIDC. The first version must be published locally once so npm can create the package:
49
+
50
+ ```sh
51
+ npm login --auth-type=web
52
+ npm publish --access public --provenance=false
53
+ ```
54
+
55
+ After the package exists, configure **Settings → Publishing access → Trusted publishing** on npm for repository owner `datspike`, repository `pi-codex-session-fast`, workflow `publish.yml`, with no environment. Later releases bump the version, push `main`, and run the `Publish npm package` workflow.
56
+
46
57
  ## Response receipts
47
58
 
48
59
  The extension writes metadata-only `codex-session-fast-response.v1` entries to Pi JSONL: the session, model, exact `responseId`, `requestedTier` at request-hook time, and `serverTier` when the provider reports it. Request and response text are not stored. The receipt is bound at `response.created`; later events from another response or session cannot inherit it.
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@datspike/pi-codex-session-fast",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "type": "module",
8
8
  "description": "Explicit, volatile Fast for one native Codex session",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/datspike/pi-codex-session-fast.git"
12
+ },
9
13
  "files": [
10
14
  "extensions/session-fast.ts",
11
15
  "README.md",