@aliou/pi-dev-kit 0.6.2 → 0.6.3
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/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
1
3
|
# Pi Dev Kit
|
|
2
4
|
|
|
3
5
|
Tools and commands for building, maintaining, and updating Pi extensions.
|
|
@@ -57,4 +59,4 @@ Parses the Pi changelog and returns entries for a specific version (or the lates
|
|
|
57
59
|
|
|
58
60
|
## Compatibility
|
|
59
61
|
|
|
60
|
-
Compatible with Pi 0.50.x and 0.51.0+. Tools that need the extension context use a runtime shim to handle the execute signature difference between versions.
|
|
62
|
+
Compatible with Pi 0.50.x and 0.51.0+. Tools that need the extension context use a runtime shim to handle the execute signature difference between versions.
|
package/package.json
CHANGED
|
@@ -244,9 +244,9 @@ export function setupChangelogTool(pi: ExtensionAPI) {
|
|
|
244
244
|
promptSnippet: `pi_changelog version="1.2.3" // Get changelog for specific version
|
|
245
245
|
pi_changelog // Get latest changelog`,
|
|
246
246
|
promptGuidelines: [
|
|
247
|
-
"Use
|
|
247
|
+
"Use pi_changelog to check what's new in a Pi version",
|
|
248
248
|
"Use pi_changelog_versions first to list available versions",
|
|
249
|
-
"Leave version empty to get the latest changelog",
|
|
249
|
+
"Leave version empty for pi_changelog to get the latest changelog",
|
|
250
250
|
],
|
|
251
251
|
|
|
252
252
|
parameters: ChangelogParamsSchema,
|
package/src/tools/docs-tool.ts
CHANGED
|
@@ -47,8 +47,8 @@ export function setupDocsTool(pi: ExtensionAPI) {
|
|
|
47
47
|
|
|
48
48
|
promptSnippet: "List Pi documentation files",
|
|
49
49
|
promptGuidelines: [
|
|
50
|
-
"Use to discover available Pi documentation",
|
|
51
|
-
"
|
|
50
|
+
"Use pi_docs to discover available Pi documentation",
|
|
51
|
+
"pi_docs returns markdown files from README.md, docs/, and examples/",
|
|
52
52
|
],
|
|
53
53
|
|
|
54
54
|
parameters: DocsParamsSchema,
|
|
@@ -46,8 +46,8 @@ export function setupPackageManagerTool(pi: ExtensionAPI) {
|
|
|
46
46
|
"Detect the package manager used in the current project by checking lockfiles and package.json",
|
|
47
47
|
promptSnippet: "Detect the package manager for this project",
|
|
48
48
|
promptGuidelines: [
|
|
49
|
-
"Use when you need to know which package manager (npm, yarn, pnpm, bun) the project uses",
|
|
50
|
-
"
|
|
49
|
+
"Use detect_package_manager when you need to know which package manager (npm, yarn, pnpm, bun) the project uses",
|
|
50
|
+
"detect_package_manager is helpful before running install commands or scripts",
|
|
51
51
|
],
|
|
52
52
|
|
|
53
53
|
parameters: Params,
|
|
@@ -24,7 +24,7 @@ export function setupVersionTool(pi: ExtensionAPI) {
|
|
|
24
24
|
description: "Get the version of the currently running Pi instance",
|
|
25
25
|
promptSnippet: "Check the current Pi version.",
|
|
26
26
|
promptGuidelines: [
|
|
27
|
-
"Use when the user asks about the Pi version or when a task depends on knowing the installed version.",
|
|
27
|
+
"Use pi_version when the user asks about the Pi version or when a task depends on knowing the installed version.",
|
|
28
28
|
],
|
|
29
29
|
|
|
30
30
|
parameters: VersionParams,
|