@caupulican/pi-adaptative 0.80.6 → 0.80.7

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/docs/providers.md CHANGED
@@ -13,13 +13,38 @@ Pi supports subscription-based providers via OAuth and API key providers via env
13
13
 
14
14
  ## Subscriptions
15
15
 
16
- Use `/login` in interactive mode, then select a provider:
16
+ Use `/login` in interactive mode, then select a provider, or pass one directly (for example `/login chatgpt` or `/login claude`):
17
17
 
18
18
  - ChatGPT Plus/Pro (Codex)
19
19
  - Claude Pro/Max
20
20
  - GitHub Copilot
21
21
 
22
- Use `/logout` to clear credentials. Tokens are stored in `~/.pi/agent/auth.json` and auto-refresh when expired.
22
+ Use `/logout` to clear credentials. Tokens are stored per provider in `~/.pi/agent/auth.json` and auto-refresh when expired.
23
+
24
+ ## Running Multiple Providers at Once
25
+
26
+ Pi does not keep a single global active provider for running agents. Each Pi process/session has its own selected model, and `auth.json` can hold credentials for many providers at the same time. After logging in to both subscription providers, start separate terminals with explicit provider or model selection:
27
+
28
+ ```bash
29
+ # ChatGPT Plus/Pro subscription via Codex
30
+ pi --provider openai-codex --name chatgpt-worker
31
+ # equivalent friendly alias:
32
+ pi --provider chatgpt --name chatgpt-worker
33
+
34
+ # Claude Pro/Max subscription
35
+ pi --provider anthropic --name claude-worker
36
+ # equivalent friendly alias:
37
+ pi --provider claude --name claude-worker
38
+ ```
39
+
40
+ Or pin exact models:
41
+
42
+ ```bash
43
+ pi --model openai-codex/gpt-5.5 --name chatgpt-worker
44
+ pi --model anthropic/claude-opus-4-8 --name claude-worker
45
+ ```
46
+
47
+ Those instances can run concurrently. Switching `/model` in one instance only changes that session's in-memory model and its session history; it does not retarget already-running Pi processes.
23
48
 
24
49
  ### OpenAI Codex
25
50
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider",
3
- "version": "0.80.6",
3
+ "version": "0.80.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-custom-provider",
9
- "version": "0.80.6",
9
+ "version": "0.80.7",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.52.0"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-anthropic",
3
3
  "private": true,
4
- "version": "0.80.6",
4
+ "version": "0.80.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-gitlab-duo",
3
3
  "private": true,
4
- "version": "0.80.6",
4
+ "version": "0.80.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
- "version": "0.80.6",
3
+ "version": "0.80.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-sandbox",
9
- "version": "0.80.6",
9
+ "version": "0.80.7",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sandbox-runtime": "^0.0.26"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
3
  "private": true,
4
- "version": "0.80.6",
4
+ "version": "0.80.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
- "version": "0.80.6",
3
+ "version": "0.80.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-with-deps",
9
- "version": "0.80.6",
9
+ "version": "0.80.7",
10
10
  "dependencies": {
11
11
  "ms": "^2.1.3"
12
12
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
3
  "private": true,
4
- "version": "0.80.6",
4
+ "version": "0.80.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@caupulican/pi-adaptative",
3
- "version": "0.80.6",
3
+ "version": "0.80.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@caupulican/pi-adaptative",
9
- "version": "0.80.6",
9
+ "version": "0.80.7",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@earendil-works/pi-agent-core": "npm:@caupulican/pi-agent-core@0.80.6",
13
- "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.80.6",
14
- "@earendil-works/pi-tui": "npm:@caupulican/pi-tui@0.80.6",
12
+ "@earendil-works/pi-agent-core": "npm:@caupulican/pi-agent-core@0.80.7",
13
+ "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.80.7",
14
+ "@earendil-works/pi-tui": "npm:@caupulican/pi-tui@0.80.7",
15
15
  "@silvia-odwyer/photon-node": "0.3.4",
16
16
  "chalk": "5.6.2",
17
17
  "cross-spawn": "7.0.6",
@@ -474,11 +474,11 @@
474
474
  }
475
475
  },
476
476
  "node_modules/@earendil-works/pi-agent-core": {
477
- "version": "0.80.6",
478
- "resolved": "https://registry.npmjs.org/@caupulican/pi-agent-core/-/pi-agent-core-0.80.6.tgz",
477
+ "version": "0.80.7",
478
+ "resolved": "https://registry.npmjs.org/@caupulican/pi-agent-core/-/pi-agent-core-0.80.7.tgz",
479
479
  "license": "MIT",
480
480
  "dependencies": {
481
- "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.80.6",
481
+ "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.80.7",
482
482
  "ignore": "7.0.5",
483
483
  "typebox": "1.1.38",
484
484
  "yaml": "2.9.0"
@@ -488,8 +488,8 @@
488
488
  }
489
489
  },
490
490
  "node_modules/@earendil-works/pi-ai": {
491
- "version": "0.80.6",
492
- "resolved": "https://registry.npmjs.org/@caupulican/pi-ai/-/pi-ai-0.80.6.tgz",
491
+ "version": "0.80.7",
492
+ "resolved": "https://registry.npmjs.org/@caupulican/pi-ai/-/pi-ai-0.80.7.tgz",
493
493
  "license": "MIT",
494
494
  "dependencies": {
495
495
  "@anthropic-ai/sdk": "0.91.1",
@@ -511,8 +511,8 @@
511
511
  }
512
512
  },
513
513
  "node_modules/@earendil-works/pi-tui": {
514
- "version": "0.80.6",
515
- "resolved": "https://registry.npmjs.org/@caupulican/pi-tui/-/pi-tui-0.80.6.tgz",
514
+ "version": "0.80.7",
515
+ "resolved": "https://registry.npmjs.org/@caupulican/pi-tui/-/pi-tui-0.80.7.tgz",
516
516
  "license": "MIT",
517
517
  "dependencies": {
518
518
  "get-east-asian-width": "1.6.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caupulican/pi-adaptative",
3
- "version": "0.80.6",
3
+ "version": "0.80.7",
4
4
  "description": "Adaptive fork of Pi coding agent for self-evolving agent harness experiments",
5
5
  "type": "module",
6
6
  "piConfig": {
@@ -41,9 +41,9 @@
41
41
  "prepublishOnly": "npm run clean && npm run build && npm run shrinkwrap"
42
42
  },
43
43
  "dependencies": {
44
- "@earendil-works/pi-agent-core": "npm:@caupulican/pi-agent-core@0.80.6",
45
- "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.80.6",
46
- "@earendil-works/pi-tui": "npm:@caupulican/pi-tui@0.80.6",
44
+ "@earendil-works/pi-agent-core": "npm:@caupulican/pi-agent-core@0.80.7",
45
+ "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.80.7",
46
+ "@earendil-works/pi-tui": "npm:@caupulican/pi-tui@0.80.7",
47
47
  "@silvia-odwyer/photon-node": "0.3.4",
48
48
  "chalk": "5.6.2",
49
49
  "cross-spawn": "7.0.6",