omp-fabric 1.24.2 → 1.25.1

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.
@@ -1,4 +1,4 @@
1
- export declare const MINIMUM_OMP_HOST_VERSION = "18.1.10";
1
+ export declare const MINIMUM_OMP_HOST_VERSION = "18.3.0";
2
2
  export declare const compareVersions: (left: string, right: string) => number | undefined;
3
3
  export declare const detectOmpHostVersion: (cliPath?: string | undefined) => string | undefined;
4
4
  export declare const ompHostCompatibilityWarning: (version?: string | undefined) => string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"host-compatibility.d.ts","sourceRoot":"","sources":["../src/host-compatibility.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB,YAAY,CAAC;AAoBlD,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,KAAG,MAAM,GAAG,SAYtE,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,UAAS,MAAM,GAAG,SAA2B,KAC5C,MAAM,GAAG,SA8BX,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,UAAS,MAAM,GAAG,SAAkC,KACnD,MAAM,GAAG,SAKX,CAAC"}
1
+ {"version":3,"file":"host-compatibility.d.ts","sourceRoot":"","sources":["../src/host-compatibility.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB,WAAW,CAAC;AAoBjD,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,KAAG,MAAM,GAAG,SAYtE,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,UAAS,MAAM,GAAG,SAA2B,KAC5C,MAAM,GAAG,SA8BX,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,UAAS,MAAM,GAAG,SAAkC,KACnD,MAAM,GAAG,SAKX,CAAC"}
package/dist/index.js CHANGED
@@ -2260,6 +2260,7 @@ var fabricSchemaGuidance = (mode) => {
2260
2260
 
2261
2261
  // src/core/skill-prompt.ts
2262
2262
  import { getActiveSkills, Settings } from "@oh-my-pi/pi-coding-agent";
2263
+ import { cfgSkillful } from "@oh-my-pi/pi-coding-agent/session/settings";
2263
2264
  var OMP_SKILL_SECTION_MARKER = "<skills>";
2264
2265
  var OMP_SKILL_SECTION_HEADING = "# Skills & Rules\n";
2265
2266
  var OMP_SKILL_LOAD_INSTRUCTION = "Matching skill \u2192 MUST read `skill://<name>` first.";
@@ -2269,7 +2270,7 @@ var FABRIC_CUSTOM_SKILL_LOAD_INSTRUCTION = "If a skill applies, you MUST read `s
2269
2270
  var activeSkills = () => getActiveSkills();
2270
2271
  var listableSkills = (skills) => {
2271
2272
  try {
2272
- if (Settings.instance.get("skillful") === false) return [];
2273
+ if (cfgSkillful.get(Settings.instance) === false) return [];
2273
2274
  } catch {
2274
2275
  return skills;
2275
2276
  }
@@ -4248,7 +4249,7 @@ var classifyToolResult = (input) => {
4248
4249
  // src/host-compatibility.ts
4249
4250
  import { existsSync as existsSync3, readFileSync as readFileSync4, realpathSync as realpathSync2 } from "node:fs";
4250
4251
  import path6 from "node:path";
4251
- var MINIMUM_OMP_HOST_VERSION = "18.1.10";
4252
+ var MINIMUM_OMP_HOST_VERSION = "18.3.0";
4252
4253
  var OMP_HOST_PACKAGE_NAMES = {
4253
4254
  "@oh-my-pi/pi-coding-agent": true
4254
4255
  };