free-pi-cli 0.5.1 → 0.5.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/dist/index.js
CHANGED
|
@@ -14940,7 +14940,7 @@ var HiveClassifyResponseSchema = exports_external.object({
|
|
|
14940
14940
|
// package.json
|
|
14941
14941
|
var package_default = {
|
|
14942
14942
|
name: "free-pi-cli",
|
|
14943
|
-
version: "0.5.
|
|
14943
|
+
version: "0.5.2",
|
|
14944
14944
|
description: "Free, ad-supported distribution of the pi coding agent. Inference paid for by ads.",
|
|
14945
14945
|
license: "MIT",
|
|
14946
14946
|
type: "module",
|
|
@@ -20976,6 +20976,10 @@ function mergeAttribution(a, b) {
|
|
|
20976
20976
|
|
|
20977
20977
|
// src/changelog.ts
|
|
20978
20978
|
var CHANGELOG_HIGHLIGHTS = [
|
|
20979
|
+
{
|
|
20980
|
+
version: "0.5.2",
|
|
20981
|
+
highlights: ["/model now lists Defense Flash right under Fusion."]
|
|
20982
|
+
},
|
|
20979
20983
|
{
|
|
20980
20984
|
version: "0.5.1",
|
|
20981
20985
|
highlights: [
|
|
@@ -23894,10 +23898,10 @@ process.env.PI_SKIP_VERSION_CHECK = "1";
|
|
|
23894
23898
|
process.env.PI_TELEMETRY = "0";
|
|
23895
23899
|
patchResumeLine(process.stdout);
|
|
23896
23900
|
function pickerScopeFor(modelRuntime, opts) {
|
|
23897
|
-
|
|
23898
|
-
|
|
23899
|
-
|
|
23900
|
-
];
|
|
23901
|
+
const main = resolveFreePiScope(modelRuntime, PROVIDER_NAME, catalogModelsFor(opts).map((m) => m.id));
|
|
23902
|
+
const defense = resolveFreePiScope(modelRuntime, DEFENSE_PROVIDER_NAME, defenseModelsFor(opts).map((m) => m.id));
|
|
23903
|
+
const fusion = main.filter((s) => s.model.id === FUSION_PICKER_ID);
|
|
23904
|
+
return [...fusion, ...defense, ...main.filter((s) => !fusion.includes(s))];
|
|
23901
23905
|
}
|
|
23902
23906
|
async function launchPi(opts) {
|
|
23903
23907
|
const cwd = process.cwd();
|