jorgex-stack 1.9.33 → 1.9.34

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.
Files changed (2) hide show
  1. package/dist/cli.js +18 -7
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -5471,16 +5471,16 @@ import { createHash as createHash2 } from "crypto";
5471
5471
  var pi_runtime_pin_default = {
5472
5472
  package: {
5473
5473
  name: "jorgex-pi",
5474
- version: "0.8.15",
5475
- source: "npm:jorgex-pi@0.8.15"
5474
+ version: "0.8.16",
5475
+ source: "npm:jorgex-pi@0.8.16"
5476
5476
  },
5477
5477
  provenance: {
5478
- commit: "9d619e205685df0b8b122aa24b81e8694182e3ca"
5478
+ commit: "deec0247f614442925591aa249eff394180ff64e"
5479
5479
  },
5480
5480
  tarball: {
5481
- bytes: 89145074,
5482
- sha256: "a866da924e0d7ad2b5a5ef285671c06b742d5b64cd62d463a8a39d8e7b5d4453",
5483
- sha512: "ac5a70bcf336bd28eccb06360a8874c2a3bb2887fe420b6f97a0b61ca1b1c97d2db26fd28033fa296ab273423b1b5884d123dfc56ad1d6e274aefd828d9d25c6"
5481
+ bytes: 89145105,
5482
+ sha256: "5d33a81b1fcd96ad352c97e1ca9f19fde948d573c65651a74eb1111e4a80f480",
5483
+ sha512: "776498252add2c169b048a6a6c5589649a1d2953b4984fef9298f55c70646bd882f59820b4dd98fedd110fee198ff5efa888e24197b91e5199797bedb52aa1b3"
5484
5484
  }
5485
5485
  };
5486
5486
 
@@ -5488,7 +5488,7 @@ var pi_runtime_pin_default = {
5488
5488
  var PI_RUNTIME_CANDIDATE = {
5489
5489
  ...pi_runtime_pin_default,
5490
5490
  pi: {
5491
- testedVersions: ["0.84.2"]
5491
+ testedVersions: ["0.84.2", "0.85.1"]
5492
5492
  },
5493
5493
  contract: {
5494
5494
  schemaVersion: 1,
@@ -5766,6 +5766,9 @@ function runPiRuntime(input, deps) {
5766
5766
  };
5767
5767
  if (input.operation === "install" || input.operation === "sync" || input.operation === "models") {
5768
5768
  const plan = deps.prepare(lifecycleInput);
5769
+ if (plan !== null && typeof plan === "object" && Reflect.get(plan, "kind") === "blocked") {
5770
+ return plan;
5771
+ }
5769
5772
  const result2 = deps.execute({
5770
5773
  operation: input.operation,
5771
5774
  plan,
@@ -6078,6 +6081,14 @@ function managedPackageResult(result) {
6078
6081
  return result;
6079
6082
  }
6080
6083
  async function runManagedPiSystem(input) {
6084
+ const supportedVersions = PI_RUNTIME_CANDIDATE.pi.testedVersions;
6085
+ if (!supportedVersions.includes(input.detected.version)) {
6086
+ return {
6087
+ kind: "blocked",
6088
+ reason: "unsupported-pi-version",
6089
+ remedy: `Pi ${input.detected.version} no est\xE1 entre las versiones verificadas (${supportedVersions.join(", ")}). Actualiza Stack a una versi\xF3n compatible antes de gestionar Pi.`
6090
+ };
6091
+ }
6081
6092
  const { devtoolsMcpEnabled: explicitDevtools, playwrightCliEnabled: explicitPlaywright, ...runtimeInput } = input;
6082
6093
  const devtoolsMcpEnabled = explicitDevtools ?? (input.targetDir === void 0 && loadDevtoolsMcpPreference(devtoolsMcpPreferenceFile(), "pi"));
6083
6094
  const supportsPlaywright = PI_RUNTIME_CANDIDATE.contract.capabilities.includes("playwright-handoff-v1");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jorgex-stack",
3
- "version": "1.9.33",
3
+ "version": "1.9.34",
4
4
  "description": "Harness multi-agente portable: instala la config JorgeX (agentes, skills, hooks, Engram, MCPs) en Claude Code, Codex CLI, OpenCode y Pi",
5
5
  "type": "module",
6
6
  "license": "MIT",