@expert-council/pi-package 0.5.3 → 0.5.4
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 +64 -7
- package/package.json +11 -5
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ In practice, the theoretically strongest model is not automatically the best exe
|
|
|
17
17
|
|
|
18
18
|
## Current status
|
|
19
19
|
|
|
20
|
-
The current release (0.5.
|
|
20
|
+
The current release (0.5.4) includes:
|
|
21
21
|
|
|
22
22
|
- A host-independent Core: configuration validation, model normalization, billing policy, profile layering, role scoring, task classification, dynamic team sizing, retry/escalation, and telemetry aggregation.
|
|
23
23
|
- An execution runtime built on Pi's current `ModelRuntime` and `createAgentSession` APIs.
|
|
@@ -100,11 +100,11 @@ pi update npm:@expert-council/pi-package
|
|
|
100
100
|
To run Codex as the Main Agent, install the pinned prebuilt plugin directly from its Git marketplace; no repository clone or local build is required:
|
|
101
101
|
|
|
102
102
|
```bash
|
|
103
|
-
codex plugin marketplace add Labiey/expert-council-router --ref v0.5.
|
|
103
|
+
codex plugin marketplace add Labiey/expert-council-router --ref v0.5.4 --json
|
|
104
104
|
codex plugin add expert-council@expert-council-router --json
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
Fully restart Codex Desktop after installation. See [Codex plugin](#codex-plugin) for Windows CLI discovery, verification, upgrade, and removal instructions.
|
|
107
|
+
Fully restart Codex Desktop after installation. The plugin ships its own tested Pi SDK runtime, so the globally installed `pi` package is not used at runtime; Pi still must have been installed and configured once — or provider credentials placed manually under `~/.pi` — so the account and model catalog are available. See [Codex plugin](#codex-plugin) for Windows CLI discovery, verification, upgrade, and removal instructions.
|
|
108
108
|
|
|
109
109
|
### Build from source (development)
|
|
110
110
|
|
|
@@ -493,7 +493,7 @@ packages/codex-integration/plugin/expert-council/
|
|
|
493
493
|
Release `v0.5.2` includes both the prebuilt MCP server and its tested Pi SDK runtime, so Codex can install the plugin directly from the repository as a pinned Git marketplace. Node.js 22.19 or newer and an already configured Pi account/model catalog are required; cloning this repository, running `npm install`, or resolving a global `@earendil-works/pi-coding-agent` module is not required.
|
|
494
494
|
|
|
495
495
|
```bash
|
|
496
|
-
codex plugin marketplace add Labiey/expert-council-router --ref v0.5.
|
|
496
|
+
codex plugin marketplace add Labiey/expert-council-router --ref v0.5.4 --json
|
|
497
497
|
codex plugin marketplace list --json
|
|
498
498
|
codex plugin list --marketplace expert-council-router --available --json
|
|
499
499
|
codex plugin add expert-council@expert-council-router --json
|
|
@@ -519,7 +519,7 @@ if (-not $ecCodex) {
|
|
|
519
519
|
}
|
|
520
520
|
if (-not $ecCodex) { throw "Codex Desktop CLI was not found." }
|
|
521
521
|
|
|
522
|
-
& $ecCodex plugin marketplace add Labiey/expert-council-router --ref v0.5.
|
|
522
|
+
& $ecCodex plugin marketplace add Labiey/expert-council-router --ref v0.5.4 --json
|
|
523
523
|
& $ecCodex plugin marketplace list --json
|
|
524
524
|
& $ecCodex plugin list --marketplace expert-council-router --available --json
|
|
525
525
|
& $ecCodex plugin add "expert-council@expert-council-router" --json
|
|
@@ -530,7 +530,7 @@ Fully quit Codex Desktop, wait for its backend process to exit, reopen it, and s
|
|
|
530
530
|
|
|
531
531
|
For local plugin development, clone the repository, run `npm ci && npm run build`, and pass its absolute root to `codex plugin marketplace add` instead of the GitHub repository name. The pinned remote release is recommended for normal use.
|
|
532
532
|
|
|
533
|
-
A correct load exposes the `expert-council` Skill and all nine `expert_*` MCP tools. `expert_inspect` must return a real inventory rather than a "No compatible Pi SDK is installed" diagnostic. If the Skill is present but the tools are absent, or inspection reports that diagnostic, verify that the marketplace is pinned to `v0.5.
|
|
533
|
+
A correct load exposes the `expert-council` Skill and all nine `expert_*` MCP tools. `expert_inspect` must return a real inventory rather than a "No compatible Pi SDK is installed" diagnostic. If the Skill is present but the tools are absent, or inspection reports that diagnostic, verify that the marketplace is pinned to `v0.5.4` or newer, then restart or reinstall the plugin instead of launching `dist/server.mjs` manually or sending hand-written JSON-RPC.
|
|
534
534
|
|
|
535
535
|
To verify the installed workflow, use a new Codex task and ask:
|
|
536
536
|
|
|
@@ -570,7 +570,64 @@ codex plugin list --json
|
|
|
570
570
|
codex plugin marketplace list --json
|
|
571
571
|
```
|
|
572
572
|
|
|
573
|
-
|
|
573
|
+
If PowerShell cannot find `codex`, locate the Codex Desktop CLI first (while Codex Desktop is running its path can be taken from the process; otherwise fall back to the install directory):
|
|
574
|
+
|
|
575
|
+
```powershell
|
|
576
|
+
$ecCodex = Get-Process codex -ErrorAction SilentlyContinue |
|
|
577
|
+
Where-Object Path |
|
|
578
|
+
Select-Object -First 1 -ExpandProperty Path
|
|
579
|
+
|
|
580
|
+
if (-not $ecCodex) {
|
|
581
|
+
$ecCodex = Get-ChildItem (Join-Path $env:LOCALAPPDATA "OpenAI\Codex") `
|
|
582
|
+
-Filter codex.exe -File -Recurse -ErrorAction SilentlyContinue |
|
|
583
|
+
Sort-Object LastWriteTime -Descending |
|
|
584
|
+
Select-Object -First 1 -ExpandProperty FullName
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
if (-not $ecCodex) {
|
|
588
|
+
throw "Codex Desktop's codex.exe was not found."
|
|
589
|
+
}
|
|
590
|
+
```
|
|
591
|
+
|
|
592
|
+
Then uninstall through the located CLI:
|
|
593
|
+
|
|
594
|
+
```powershell
|
|
595
|
+
& $ecCodex plugin remove "expert-council@expert-council-router" --json
|
|
596
|
+
& $ecCodex plugin marketplace remove "expert-council-router" --json
|
|
597
|
+
|
|
598
|
+
& $ecCodex plugin list --json
|
|
599
|
+
& $ecCodex plugin marketplace list --json
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
If the plugin still shows after reopening Codex Desktop, close Codex and safely remove the stale Expert Council caches (only `%USERPROFILE%\.codex\plugins\cache\expert-council-*` is touched):
|
|
603
|
+
|
|
604
|
+
```powershell
|
|
605
|
+
$ecCacheRoot = [IO.Path]::GetFullPath(
|
|
606
|
+
(Join-Path $env:USERPROFILE ".codex\plugins\cache")
|
|
607
|
+
)
|
|
608
|
+
$ecCachePrefix = $ecCacheRoot.TrimEnd("\") + "\"
|
|
609
|
+
|
|
610
|
+
$ecTargets = Get-ChildItem -LiteralPath $ecCacheRoot `
|
|
611
|
+
-Directory -ErrorAction SilentlyContinue |
|
|
612
|
+
Where-Object Name -Like "expert-council-*"
|
|
613
|
+
|
|
614
|
+
foreach ($ecTarget in $ecTargets) {
|
|
615
|
+
$ecResolved = [IO.Path]::GetFullPath($ecTarget.FullName)
|
|
616
|
+
|
|
617
|
+
if (
|
|
618
|
+
$ecResolved.StartsWith(
|
|
619
|
+
$ecCachePrefix,
|
|
620
|
+
[StringComparison]::OrdinalIgnoreCase
|
|
621
|
+
) -and
|
|
622
|
+
(Split-Path $ecResolved -Leaf) -like "expert-council-*"
|
|
623
|
+
) {
|
|
624
|
+
Write-Host "Removing cache: $ecResolved"
|
|
625
|
+
Remove-Item -LiteralPath $ecResolved -Recurse -Force
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
```
|
|
629
|
+
|
|
630
|
+
Fully quit Codex Desktop before starting new tasks.
|
|
574
631
|
|
|
575
632
|
## Testing
|
|
576
633
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expert-council/pi-package",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.5.4",
|
|
4
|
+
"description": "Expert Council: cost-aware multi-model expert orchestration for Pi — assemble a council of scout, oracle, implementation-worker, and reviewer experts and delegate bounded tasks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/extension.js",
|
|
7
7
|
"types": "./dist/extension.d.ts",
|
|
@@ -23,8 +23,14 @@
|
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
|
25
25
|
"pi-package",
|
|
26
|
+
"pi-extension",
|
|
27
|
+
"expert-council",
|
|
28
|
+
"council",
|
|
29
|
+
"multi-agent",
|
|
30
|
+
"agent-orchestration",
|
|
26
31
|
"multi-model",
|
|
27
|
-
"
|
|
32
|
+
"codex",
|
|
33
|
+
"mcp"
|
|
28
34
|
],
|
|
29
35
|
"publishConfig": {
|
|
30
36
|
"access": "public"
|
|
@@ -38,8 +44,8 @@
|
|
|
38
44
|
]
|
|
39
45
|
},
|
|
40
46
|
"dependencies": {
|
|
41
|
-
"@expert-council/core": "0.5.
|
|
42
|
-
"@expert-council/pi-runtime": "0.5.
|
|
47
|
+
"@expert-council/core": "0.5.4",
|
|
48
|
+
"@expert-council/pi-runtime": "0.5.4"
|
|
43
49
|
},
|
|
44
50
|
"peerDependencies": {
|
|
45
51
|
"@earendil-works/pi-coding-agent": ">=0.84.0 <1",
|