droid-style 1.0.0 → 2.0.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/index.ts +0 -9
- package/package.json +10 -4
package/index.ts
CHANGED
|
@@ -20,15 +20,6 @@ export default function (pi: ExtensionAPI) {
|
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
pi.on("session_start", (_event, ctx) => {
|
|
23
|
-
// Auto-activate droid theme. resources_discover runs after session_start,
|
|
24
|
-
// so retry on next tick if the first switch fails.
|
|
25
|
-
const tryApplyTheme = () => ctx.ui.setTheme("droid").success;
|
|
26
|
-
if (!tryApplyTheme()) {
|
|
27
|
-
setTimeout(() => {
|
|
28
|
-
tryApplyTheme();
|
|
29
|
-
}, 0);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
23
|
registerToolCallTags(pi);
|
|
33
24
|
installAssistantMessagePrefix(ctx.ui.theme);
|
|
34
25
|
installUserMessagePrefix(ctx.ui.theme);
|
package/package.json
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "droid-style",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Custom input box with closed rectangular border",
|
|
5
5
|
"main": "index.ts",
|
|
6
|
-
"keywords": [
|
|
6
|
+
"keywords": [
|
|
7
|
+
"pi-package"
|
|
8
|
+
],
|
|
7
9
|
"pi": {
|
|
8
|
-
"extensions": [
|
|
9
|
-
|
|
10
|
+
"extensions": [
|
|
11
|
+
"./index.ts"
|
|
12
|
+
],
|
|
13
|
+
"themes": [
|
|
14
|
+
"./themes"
|
|
15
|
+
]
|
|
10
16
|
}
|
|
11
17
|
}
|