@xynogen/pix-core 0.4.12 → 0.4.15

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
@@ -43,7 +43,7 @@ Pi activates extensions per installed package via each package's `pi.extensions`
43
43
 
44
44
  | Package | Description |
45
45
  |---|---|
46
- | `pix-data` | Shared model data layer (models.dev + BenchLM) cached at `~/.cache/pi` |
46
+ | `pix-data` | Shared model data layer (models.dev + BenchLM) cached at `~/.cache/pi`; hosts the unified `~/.pi/agent/pix.json` config loader and auto-collapse helper |
47
47
  | `pix-optimizer` | Caveman mode + RTK tool rewriting + jq/TOON JSON compression (`/opt`) |
48
48
  | `pix-gate` | Permission gate for dangerous bash commands |
49
49
  | `pix-subagent` | `agent` / `agent_result` / `agent_steer` — planner-driven sub-agents with live widget |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-core",
3
- "version": "0.4.12",
3
+ "version": "0.4.15",
4
4
  "description": "Pi extension bundle — installs and activates all core pix-* extensions",
5
5
  "type": "module",
6
6
  "main": "src/extension.ts",
@@ -38,30 +38,30 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "@xynogen/pix-data": "*",
42
- "@xynogen/pix-pretty": "*",
43
- "@xynogen/pix-welcome": "*",
44
- "@xynogen/pix-footer": "*",
45
- "@xynogen/pix-diagnostics": "*",
46
- "@xynogen/pix-display": "*",
47
- "@xynogen/pix-prompts": "*",
48
- "@xynogen/pix-skills": "*",
49
- "@xynogen/pix-models": "*",
50
- "@xynogen/pix-update": "*",
51
- "@xynogen/pix-commands": "*",
52
- "@xynogen/pix-nudge": "*",
53
- "@xynogen/pix-read": "*",
54
- "@xynogen/pix-write": "*",
55
- "@xynogen/pix-edit": "*",
56
- "@xynogen/pix-find": "*",
57
- "@xynogen/pix-grep": "*",
58
- "@xynogen/pix-ls": "*",
59
- "@xynogen/pix-bash": "*",
60
- "@xynogen/pix-todo": "*",
61
- "@xynogen/pix-ask": "*",
62
- "@xynogen/pix-optimizer": "*",
63
- "@xynogen/pix-gate": "*",
64
- "@xynogen/pix-subagent": "*"
41
+ "@xynogen/pix-data": "^0.3.0",
42
+ "@xynogen/pix-pretty": "^1.7.13",
43
+ "@xynogen/pix-welcome": "^0.1.13",
44
+ "@xynogen/pix-footer": "^0.1.12",
45
+ "@xynogen/pix-diagnostics": "^0.1.6",
46
+ "@xynogen/pix-display": "^0.1.6",
47
+ "@xynogen/pix-prompts": "^0.2.1",
48
+ "@xynogen/pix-skills": "^0.5.3",
49
+ "@xynogen/pix-models": "^0.1.14",
50
+ "@xynogen/pix-update": "^0.1.12",
51
+ "@xynogen/pix-commands": "^0.1.7",
52
+ "@xynogen/pix-nudge": "^0.1.8",
53
+ "@xynogen/pix-read": "^0.1.10",
54
+ "@xynogen/pix-write": "^0.1.10",
55
+ "@xynogen/pix-edit": "^0.1.11",
56
+ "@xynogen/pix-find": "^0.1.10",
57
+ "@xynogen/pix-grep": "^0.1.10",
58
+ "@xynogen/pix-ls": "^0.1.10",
59
+ "@xynogen/pix-bash": "^0.1.9",
60
+ "@xynogen/pix-todo": "^0.1.10",
61
+ "@xynogen/pix-ask": "^0.2.6",
62
+ "@xynogen/pix-optimizer": "^1.1.14",
63
+ "@xynogen/pix-gate": "^0.1.13",
64
+ "@xynogen/pix-subagent": "^0.3.0"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "@earendil-works/pi-coding-agent": "*",
package/src/once.test.ts CHANGED
@@ -7,7 +7,8 @@ import registerTodo from "@xynogen/pix-todo/src/todo.ts";
7
7
  // assert the dedupe semantics that the aggregator relies on.
8
8
  function once(pi: object, key: string, fn: () => void): void {
9
9
  const g = globalThis as { __pixOnce?: WeakMap<object, Set<string>> };
10
- const registry = (g.__pixOnce ??= new WeakMap<object, Set<string>>());
10
+ if (!g.__pixOnce) g.__pixOnce = new WeakMap<object, Set<string>>();
11
+ const registry = g.__pixOnce;
11
12
  let loaded = registry.get(pi);
12
13
  if (!loaded) {
13
14
  loaded = new Set<string>();