@piagent/platform 1.7.1 → 1.8.0
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/CHANGELOG.md +16 -0
- package/README.md +2 -2
- package/README.vi.md +2 -2
- package/docs/command-reference-vietnamese.md +3 -3
- package/docs/distribution-standard.md +9 -9
- package/docs/languages.json +2 -2
- package/docs/model-options.md +20 -15
- package/docs/operator-manual-vietnamese.md +10 -10
- package/docs/publishing-for-teams.md +1 -0
- package/docs/quickstart-vietnamese.md +1 -1
- package/docs/release-install-policy.md +15 -11
- package/docs/team-onboarding.md +7 -7
- package/docs-site/architecture.html +1 -1
- package/docs-site/benchmark.html +1 -1
- package/docs-site/commands.html +1 -1
- package/docs-site/content/en/runtime.html +1 -1
- package/docs-site/content/en/whats-new.html +12 -0
- package/docs-site/content/runtime.html +2 -2
- package/docs-site/content/whats-new.html +12 -0
- package/docs-site/context-engine.html +1 -1
- package/docs-site/en/architecture.html +1 -1
- package/docs-site/en/benchmark.html +1 -1
- package/docs-site/en/commands.html +1 -1
- package/docs-site/en/context-engine.html +1 -1
- package/docs-site/en/index.html +1 -1
- package/docs-site/en/mcp-approval.html +1 -1
- package/docs-site/en/mcp-auth.html +1 -1
- package/docs-site/en/mcp-servers.html +1 -1
- package/docs-site/en/mcp.html +1 -1
- package/docs-site/en/permissions.html +1 -1
- package/docs-site/en/profiles.html +1 -1
- package/docs-site/en/quickstart.html +1 -1
- package/docs-site/en/runtime.html +2 -2
- package/docs-site/en/scope.html +1 -1
- package/docs-site/en/security.html +1 -1
- package/docs-site/en/team.html +1 -1
- package/docs-site/en/whats-new.html +13 -1
- package/docs-site/en/workflows.html +1 -1
- package/docs-site/index.html +1 -1
- package/docs-site/mcp-approval.html +1 -1
- package/docs-site/mcp-auth.html +1 -1
- package/docs-site/mcp-servers.html +1 -1
- package/docs-site/mcp.html +1 -1
- package/docs-site/permissions.html +1 -1
- package/docs-site/profiles.html +1 -1
- package/docs-site/quickstart.html +1 -1
- package/docs-site/runtime.html +3 -3
- package/docs-site/scope.html +1 -1
- package/docs-site/security.html +1 -1
- package/docs-site/team.html +1 -1
- package/docs-site/whats-new.html +13 -1
- package/docs-site/workflows.html +1 -1
- package/evals/private-holdout-v1/public-exposure.v2.json +1 -1
- package/package.json +3 -3
- package/packages/piagent-core/package.json +2 -2
- package/packages/piagent-core/runtime/inspection/same-process-bridge-proof.ts +1 -1
- package/packages/piagent-core/runtime/inspection/webui-snapshot.ts +1 -1
- package/packages/piagent-core/runtime/model/model-route-policy.ts +33 -13
- package/packages/piagent-core/runtime/model/model-route-types.ts +10 -6
- package/packages/piagent-webui/dist/client/assets/{MarkdownMessage-DGk34zJT.js → MarkdownMessage-DMU7Xe_O.js} +1 -1
- package/packages/piagent-webui/dist/client/assets/{index-DiKRmCEP.js → index-Cui9AAV_.js} +2 -2
- package/packages/piagent-webui/dist/client/index.html +1 -1
- package/packages/piagent-webui/gateway/session-inspection-registry.ts +3 -4
- package/scripts/configure-model-scope.sh +6 -2
- package/scripts/install-global.sh +2 -2
- package/scripts/model-route-evaluation-core.ts +1 -0
- package/scripts/pi-model-route.mjs +1 -1
- package/scripts/setup.sh +2 -2
- package/scripts/verify-local.sh +3 -3
- package/scripts/verify-release-identity.mjs +1 -1
- package/templates/global/settings.json +5 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<meta name="csp-nonce" content="__PIAGENT_CSP_NONCE__" />
|
|
8
8
|
<meta name="piagent-webui-mode" content="__PIAGENT_WEBUI_MODE__" />
|
|
9
9
|
<title>Piagent WebUI</title>
|
|
10
|
-
<script type="module" crossorigin src="/assets/index-
|
|
10
|
+
<script type="module" crossorigin src="/assets/index-Cui9AAV_.js"></script>
|
|
11
11
|
<link rel="stylesheet" crossorigin href="/assets/index-DVahUVWy.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
|
@@ -217,10 +217,9 @@ export class SessionInspectionRegistry {
|
|
|
217
217
|
return [{ modelRef: webUiModelRef(provider, modelId), provider, modelId, displayName: safeName(value.name ?? modelId),
|
|
218
218
|
reasoning: value.reasoning, imageInput: inputs ? inputs.includes("image") : null, thinkingLevels }];
|
|
219
219
|
});
|
|
220
|
-
//
|
|
221
|
-
//
|
|
222
|
-
|
|
223
|
-
const defaultModel = models.find((value) => value.provider === "openai-codex" && value.modelId === "gpt-5.6-sol");
|
|
220
|
+
// Only offer a default present in the authenticated host catalog. Retain
|
|
221
|
+
// the previous Sol baseline for accounts that have not received GPT-6 yet.
|
|
222
|
+
const defaultModel = ["gpt-6-sol", "gpt-5.6-sol"].map((id) => models.find((value) => value.provider === "openai-codex" && value.modelId === id)).find(Boolean);
|
|
224
223
|
return { schemaVersion: 1, version: "piagent-session-creation-options-v1", generatedAt: new Date().toISOString(),
|
|
225
224
|
projects: [...projects.values()].slice(0, 200), models,
|
|
226
225
|
defaultModelRef: defaultModel?.modelRef ?? null, defaultThinkingLevel: defaultModel ? "high" : null,
|
|
@@ -9,7 +9,7 @@ Usage:
|
|
|
9
9
|
Options:
|
|
10
10
|
--preset <full|codex|claude> Model families to enable (default: full = both)
|
|
11
11
|
--default-model <provider/model[:thinking]>
|
|
12
|
-
Default model (default: openai-codex/gpt-
|
|
12
|
+
Default model (default: openai-codex/gpt-6-sol:high)
|
|
13
13
|
--settings <path> Pi settings file (default: ~/.pi/agent/settings.json)
|
|
14
14
|
--dry-run Print resulting settings JSON without writing
|
|
15
15
|
-h, --help
|
|
@@ -30,7 +30,7 @@ USAGE
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
PRESET="full"
|
|
33
|
-
DEFAULT_MODEL="openai-codex/gpt-
|
|
33
|
+
DEFAULT_MODEL="openai-codex/gpt-6-sol:high"
|
|
34
34
|
SETTINGS_PATH="${PI_CODING_AGENT_DIR:-"${HOME}/.pi/agent"}/settings.json"
|
|
35
35
|
DRY_RUN=false
|
|
36
36
|
|
|
@@ -103,6 +103,10 @@ const codexModels = [
|
|
|
103
103
|
"openai-codex/gpt-5.6-luna:medium",
|
|
104
104
|
"openai-codex/gpt-5.6-terra:high",
|
|
105
105
|
"openai-codex/gpt-5.6-sol:high",
|
|
106
|
+
"openai-codex/gpt-6-luna:medium",
|
|
107
|
+
"openai-codex/gpt-6-sol:medium",
|
|
108
|
+
"openai-codex/gpt-6-sol:high",
|
|
109
|
+
"openai-codex/gpt-6-astra:xhigh",
|
|
106
110
|
"openai-codex/*"
|
|
107
111
|
];
|
|
108
112
|
|
|
@@ -28,7 +28,7 @@ Options:
|
|
|
28
28
|
--no-model-scope Leave the user's enabledModels untouched.
|
|
29
29
|
--default-model <provider/model[:thinking]>
|
|
30
30
|
Default model written to Pi settings
|
|
31
|
-
(default: openai-codex/gpt-
|
|
31
|
+
(default: openai-codex/gpt-6-sol:high).
|
|
32
32
|
-h, --help Print this help and exit.
|
|
33
33
|
|
|
34
34
|
Purpose:
|
|
@@ -91,7 +91,7 @@ WITH_WEB_ACCESS=true
|
|
|
91
91
|
WITH_HERDR=false
|
|
92
92
|
CONFIGURE_MODEL_SCOPE=true
|
|
93
93
|
MODEL_SCOPE_PRESET="full"
|
|
94
|
-
DEFAULT_MODEL="openai-codex/gpt-
|
|
94
|
+
DEFAULT_MODEL="openai-codex/gpt-6-sol:high"
|
|
95
95
|
DRY_RUN=false
|
|
96
96
|
FLOATING_PACKAGE_SOURCE=false
|
|
97
97
|
RESOLVED_CHANNEL_LABEL="custom"
|
|
@@ -32,6 +32,7 @@ export function evaluateModelRouteCorpus(input: unknown) {
|
|
|
32
32
|
const features = extractTaskFeatures({ ...structuredClone(corpus.defaults), ...structuredClone(template.overrides), request: template.request });
|
|
33
33
|
const policyInput = {
|
|
34
34
|
features, catalog: catalog(variant.catalog), mode: variant.mode, objective: variant.objective,
|
|
35
|
+
mappingVersion: corpus.mappingVersion,
|
|
35
36
|
selectionSource: variant.selectionSource,
|
|
36
37
|
current: { provider: "openai-codex", modelId: "gpt-5.6-sol", effort: "high" },
|
|
37
38
|
freshTaskBoundary: variant.freshTaskBoundary, hostBoundary: variant.hostBoundary
|
|
@@ -50,7 +50,7 @@ function profileFacts() {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
function parse(argv) {
|
|
53
|
-
const options = { prompt: "", promptFile: "", objective: "balance", json: false, execute: false, yes: false, pinned: false, currentModel: "openai-codex/gpt-
|
|
53
|
+
const options = { prompt: "", promptFile: "", objective: "balance", json: false, execute: false, yes: false, pinned: false, currentModel: "openai-codex/gpt-6-sol", currentEffort: "high", passthrough: [] };
|
|
54
54
|
for (let index = 0; index < argv.length; index += 1) {
|
|
55
55
|
const arg = argv[index];
|
|
56
56
|
if (arg === "--") { options.passthrough = argv.slice(index + 1); break; }
|
package/scripts/setup.sh
CHANGED
|
@@ -36,7 +36,7 @@ Options:
|
|
|
36
36
|
--model-scope <full|codex|claude> model families to enable
|
|
37
37
|
Configure Pi enabledModels for selector/cycling (default: full)
|
|
38
38
|
--default-model <provider/model[:thinking]>
|
|
39
|
-
Configure default provider/model/thinking (default: openai-codex/gpt-
|
|
39
|
+
Configure default provider/model/thinking (default: openai-codex/gpt-6-sol:high)
|
|
40
40
|
--no-model-scope Skip global model-scope configuration
|
|
41
41
|
--install-pi / --no-install-pi Install/skip Pi CLI with npm if `pi` is missing (default: install)
|
|
42
42
|
--force-profile Replace existing project .pi/piagent-profile.json
|
|
@@ -78,7 +78,7 @@ WITH_WEB_ACCESS=true
|
|
|
78
78
|
WITH_HERDR=true
|
|
79
79
|
CONFIGURE_MODEL_SCOPE=true
|
|
80
80
|
MODEL_SCOPE_PRESET="full"
|
|
81
|
-
DEFAULT_MODEL="openai-codex/gpt-
|
|
81
|
+
DEFAULT_MODEL="openai-codex/gpt-6-sol:high"
|
|
82
82
|
AUTO_INSTALL_PI=true
|
|
83
83
|
FORCE_PROFILE=false
|
|
84
84
|
FORCE_SETTINGS=false
|
package/scripts/verify-local.sh
CHANGED
|
@@ -641,8 +641,8 @@ if (!rootPkg.pi.subagents?.agents?.length) {
|
|
|
641
641
|
throw new Error("root package.json missing pi.subagents.agents");
|
|
642
642
|
}
|
|
643
643
|
const expectedPeers = {
|
|
644
|
-
"@earendil-works/pi-ai": "0.
|
|
645
|
-
"@earendil-works/pi-coding-agent": "0.
|
|
644
|
+
"@earendil-works/pi-ai": "0.87.1",
|
|
645
|
+
"@earendil-works/pi-coding-agent": "0.87.1",
|
|
646
646
|
typebox: "1.3.27"
|
|
647
647
|
};
|
|
648
648
|
for (const [name, version] of Object.entries(expectedPeers)) {
|
|
@@ -945,7 +945,7 @@ if [[ "$OFFLINE" == true || "${PIAGENT_VERIFY_OFFLINE:-}" == "1" || "${CI:-}" ==
|
|
|
945
945
|
else
|
|
946
946
|
bash "$ROOT/scripts/pi-model-catalog.sh" --json >/dev/null
|
|
947
947
|
fi
|
|
948
|
-
bash "$ROOT/scripts/configure-model-scope.sh" --dry-run --preset full --default-model openai-codex/gpt-
|
|
948
|
+
bash "$ROOT/scripts/configure-model-scope.sh" --dry-run --preset full --default-model openai-codex/gpt-6-sol:high >/dev/null
|
|
949
949
|
node "$ROOT/scripts/mcp-manage.mjs" --list >/dev/null
|
|
950
950
|
node "$ROOT/scripts/mcp-manage.mjs" --dry-run --preset popular --scope project --project "$ROOT" >/dev/null
|
|
951
951
|
node --input-type=module - "$ROOT" <<'NODE'
|
|
@@ -58,7 +58,7 @@ const packageLock = readJson("package-lock.json");
|
|
|
58
58
|
const capabilityLock = readJson(".pi/piagent-profile.lock.json");
|
|
59
59
|
const version = rootPackage.version;
|
|
60
60
|
const expectedTag = `v${version}`;
|
|
61
|
-
const supportedPiHost = "0.
|
|
61
|
+
const supportedPiHost = "0.87.1";
|
|
62
62
|
|
|
63
63
|
// The package is published now, so the old private-forever rule is gone. What
|
|
64
64
|
// still has to hold is that a scoped package cannot reach the registry as
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"defaultProjectTrust": "ask",
|
|
3
3
|
"defaultProvider": "openai-codex",
|
|
4
|
-
"defaultModel": "gpt-
|
|
4
|
+
"defaultModel": "gpt-6-sol",
|
|
5
5
|
"defaultThinkingLevel": "high",
|
|
6
6
|
"showCacheMissNotices": true,
|
|
7
7
|
"enabledModels": [
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"openai-codex/gpt-5.6-luna:medium",
|
|
13
13
|
"openai-codex/gpt-5.6-terra:high",
|
|
14
14
|
"openai-codex/gpt-5.6-sol:high",
|
|
15
|
+
"openai-codex/gpt-6-luna:medium",
|
|
16
|
+
"openai-codex/gpt-6-sol:medium",
|
|
17
|
+
"openai-codex/gpt-6-sol:high",
|
|
18
|
+
"openai-codex/gpt-6-astra:xhigh",
|
|
15
19
|
"openai-codex/*",
|
|
16
20
|
"anthropic/claude-haiku-4-5:low",
|
|
17
21
|
"anthropic/claude-sonnet-4-5:high",
|