@xynogen/pix-skills 0.10.11 → 0.10.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-skills",
3
- "version": "0.10.11",
3
+ "version": "0.10.12",
4
4
  "description": "Pi extension — agent skill loader (skill tool + skills bundle)",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -46,8 +46,8 @@
46
46
  "@earendil-works/pi-tui": "*"
47
47
  },
48
48
  "dependencies": {
49
- "@xynogen/pix-gate": "^0.4.11",
50
- "@xynogen/pix-pretty": "^2.1.0",
51
- "@xynogen/pix-runtime": "^0.20.0"
49
+ "@xynogen/pix-gate": "^0.4.12",
50
+ "@xynogen/pix-pretty": "^3.0.0",
51
+ "@xynogen/pix-runtime": "^0.22.0"
52
52
  }
53
53
  }
package/src/index.ts CHANGED
@@ -12,20 +12,18 @@
12
12
  */
13
13
 
14
14
  import { dirname, isAbsolute, join, relative, resolve, win32 } from "node:path";
15
- import { type FadeTheme, fadeTextRow } from "@xynogen/pix-pretty/text";
16
- import { Text } from "@xynogen/pix-pretty/tui";
15
+ import { frameToolResult, moreLines } from "@xynogen/pix-pretty/frame";
17
16
  import {
18
17
  dotJoin,
19
- frameToolResult,
20
- getErrorMessage,
21
- getTextContent,
22
18
  hideCollapsedToolCall,
23
- humanSize,
24
- moreLines,
25
19
  renderRow,
26
20
  renderTitle,
27
- } from "@xynogen/pix-pretty/utils";
21
+ } from "@xynogen/pix-pretty/render-row";
22
+ import { getTextContent } from "@xynogen/pix-pretty/result";
23
+ import { type FadeTheme, fadeTextRow, humanSize } from "@xynogen/pix-pretty/text";
24
+ import { Text } from "@xynogen/pix-pretty/tui";
28
25
  import { type CollapseState, tickCollapse } from "@xynogen/pix-runtime/collapse";
26
+ import { getErrorMessage } from "@xynogen/pix-runtime/errors";
29
27
  import {
30
28
  copyFile,
31
29
  existsSync,
package/src/picker.ts CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  type TUI,
19
19
  } from "@xynogen/pix-pretty/tui";
20
20
  import type { ThemeLike } from "@xynogen/pix-pretty/types";
21
- import { getErrorMessage } from "@xynogen/pix-pretty/utils";
21
+ import { getErrorMessage } from "@xynogen/pix-runtime/errors";
22
22
  import type { ExtensionAPI } from "@xynogen/pix-runtime/host";
23
23
 
24
24
  const MAX_VISIBLE = 10;
package/src/run.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /** Bounded, shell-free command execution for directive interpolation. */
2
- import { getErrorMessage } from "@xynogen/pix-pretty/utils";
3
- import { runTool } from "@xynogen/pix-runtime/exec";
2
+ import { getErrorMessage } from "@xynogen/pix-runtime/errors";
3
+ import { runBinary } from "@xynogen/pix-runtime/exec";
4
4
  import { truncateStringToBytes } from "@xynogen/pix-runtime/utf8";
5
5
 
6
6
  export interface RunOptions {
@@ -15,7 +15,7 @@ export async function runArgv(argv: string[], opts: RunOptions): Promise<string>
15
15
  if (!argv.length) return "(empty command)";
16
16
  const maxBytes = opts.maxBytes ?? 16_384;
17
17
  try {
18
- const result = await runTool(argv[0]!, argv.slice(1), {
18
+ const result = await runBinary(argv[0]!, argv.slice(1), {
19
19
  cwd: opts.cwd,
20
20
  signal: opts.signal,
21
21
  timeoutMs: opts.timeoutMs ?? 10_000,