@xynogen/pix-data 0.1.1 → 0.1.2

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
@@ -19,13 +19,21 @@ Pi coding agent extension — shared model data layer. Fetches and caches [model
19
19
  ## Install
20
20
 
21
21
  ```bash
22
- pi install git:github.com/xynogen/pix-data
22
+ pi install npm:@xynogen/pix-data
23
23
  ```
24
24
 
25
25
  ## How it works
26
26
 
27
27
  On session start the extension fires two parallel background fetches (`modelsDev.get()` + `benchmark.get()`). If the cache is fresh the fetches are skipped. Both cache files live in `~/.cache/pi/` — any Pi extension using the same `DataSource` + cache paths will share data automatically.
28
28
 
29
+ ## Full distro
30
+
31
+ To install the complete pix suite (all packages + Pi itself):
32
+
33
+ ```bash
34
+ curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
35
+ ```
36
+
29
37
  ## License
30
38
 
31
39
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-data",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Pi extension — shared model data layer (models.dev + BenchLM), cached at ~/.cache/pi",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/src/index.ts CHANGED
@@ -10,6 +10,11 @@
10
10
  import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
11
11
  import { benchmark, modelsDev } from "./data.ts";
12
12
 
13
+ export type {
14
+ BenchmarkEntry,
15
+ ModelsDevApi,
16
+ ModelsDevModel,
17
+ } from "./data.ts";
13
18
  // Public data API — single source of truth for the shared model data layer.
14
19
  // Consumers (pix-core, pix-9router, …) import these instead of duplicating
15
20
  // the DataSource implementation and models.dev/BenchLM lookups.
@@ -24,11 +29,6 @@ export {
24
29
  lookupModelsDev,
25
30
  modelsDev,
26
31
  } from "./data.ts";
27
- export type {
28
- BenchmarkEntry,
29
- ModelsDevApi,
30
- ModelsDevModel,
31
- } from "./data.ts";
32
32
 
33
33
  export default function (_pi: ExtensionAPI): void {
34
34
  void modelsDev.get();