@juicesharp/rpiv-args 2.13.6 → 2.13.8
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/index.ts +9 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -9,6 +9,15 @@
|
|
|
9
9
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
10
10
|
import { registerArgsHandler } from "./args.js";
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Presence marker: rpiv-args registers no tool or command, so rpiv-pi's sibling
|
|
14
|
+
* detection cannot see it by source path when it is loaded outside the settings
|
|
15
|
+
* file (bundled in another package, a project install). rpiv-pi reads this
|
|
16
|
+
* `globalThis` slot instead (`SIBLINGS` in rpiv-pi's siblings.ts) — #216.
|
|
17
|
+
*/
|
|
18
|
+
export const LOADED_MARKER = "@juicesharp/rpiv-args:loaded";
|
|
19
|
+
|
|
12
20
|
export default function (pi: ExtensionAPI): void {
|
|
21
|
+
(globalThis as Record<symbol, unknown>)[Symbol.for(LOADED_MARKER)] = true;
|
|
13
22
|
registerArgsHandler(pi);
|
|
14
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juicesharp/rpiv-args",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.8",
|
|
4
4
|
"description": "Pi extension. Shell-style $1 / $ARGUMENTS placeholders and !`cmd` / ```! shell substitution, expanded into your Pi skills at invocation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|