@adeildo/pi-skills 5.5.0 → 5.6.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/LICENSE CHANGED
@@ -2,13 +2,6 @@ MIT License
2
2
 
3
3
  Copyright (c) 2026 adeildo
4
4
 
5
- Parts of this package are ported from rpiv-ask-user-question
6
- (https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-ask-user-question):
7
- the tool's schema, the validation and line-ending cleanup, the preview layout and box,
8
- and the RPC dialog walker. Those parts are also:
9
-
10
- Copyright (c) 2026 juicesharp
11
-
12
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
13
6
  of this software and associated documentation files (the "Software"), to deal
14
7
  in the Software without restriction, including without limitation the rights
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adeildo/pi-skills",
3
- "version": "5.5.0",
3
+ "version": "5.6.0",
4
4
  "description": "Call the skills you already have from anywhere in a message, several at once. The model reads each one in full, and the chat shows a small chip where you typed it.",
5
5
  "keywords": [
6
6
  "pi",
@@ -35,7 +35,7 @@
35
35
  "access": "public"
36
36
  },
37
37
  "dependencies": {
38
- "@adeildo/pi-kit": "5.5.0"
38
+ "@adeildo/pi-kit": "5.6.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@earendil-works/pi-ai": "*",
package/src/complete.ts CHANGED
@@ -1,5 +1,4 @@
1
- // Pi's palette opens on `/` only at the start of a message. This one lists only the skills, anywhere
2
- // else in the text: the look's editor opens it on `/`, and Tab opens it in any editor.
1
+ // Lists the skills after a `/` anywhere past the start of a message, where pi's palette does not.
3
2
  import { SKILL_REF, skillQueryAt } from "@adeildo/pi-kit";
4
3
  import {
5
4
  type AutocompleteItem,
package/src/index.ts CHANGED
@@ -59,11 +59,7 @@ export const skills = defineFeature({
59
59
  },
60
60
  });
61
61
 
62
- /**
63
- * The skills the message names go first, in one message the model reads and the chat folds. The
64
- * text stays as you typed it, but for a space before a leading `/skill:`, which keeps pi from
65
- * expanding that one again. Markdown does not draw the space.
66
- */
62
+ /** A leading space keeps pi from expanding a leading `/skill:` a second time. */
67
63
  function expand(
68
64
  scope: FeatureScope,
69
65
  ctx: ExtensionContext,