@@ -1263,7 +1263,7 @@ Run the same reload flow as `/reload`.
|
||||
|
||||
```typescript
|
||||
pi.registerCommand("reload-runtime", {
|
||||
description: "Reload extensions, skills, prompts, and themes",
|
||||
description: "Reload extensions, skills, prompts, themes, and context files",
|
||||
handler: async (_args, ctx) => {
|
||||
await ctx.reload();
|
||||
return;
|
||||
@@ -1291,7 +1291,7 @@ import { Type } from "typebox";
|
||||
|
||||
export default function (pi: ExtensionAPI) {
|
||||
pi.registerCommand("reload-runtime", {
|
||||
description: "Reload extensions, skills, prompts, and themes",
|
||||
description: "Reload extensions, skills, prompts, themes, and context files",
|
||||
handler: async (_args, ctx) => {
|
||||
await ctx.reload();
|
||||
return;
|
||||
@@ -1301,7 +1301,7 @@ export default function (pi: ExtensionAPI) {
|
||||
pi.registerTool({
|
||||
name: "reload_runtime",
|
||||
label: "Reload Runtime",
|
||||
description: "Reload extensions, skills, prompts, and themes",
|
||||
description: "Reload extensions, skills, prompts, themes, and context files",
|
||||
parameters: Type.Object({}),
|
||||
async execute() {
|
||||
pi.sendUserMessage("/reload-runtime", { deliverAs: "followUp" });
|
||||
|
||||
@@ -52,7 +52,7 @@ Type `/` in the editor to open command completion. Extensions can register custo
|
||||
| `/export [file]` | Export session to HTML or JSONL |
|
||||
| `/import <file>` | Import and resume a session from a JSONL file |
|
||||
| `/share` | Upload as private GitHub gist with shareable HTML link |
|
||||
| `/reload` | Reload keybindings, extensions, skills, prompts, and context files |
|
||||
| `/reload` | Reload keybindings, extensions, skills, prompts, themes, and context files |
|
||||
| `/hotkeys` | Show all keyboard shortcuts |
|
||||
| `/changelog` | Display version history |
|
||||
| `/quit` | Quit pi |
|
||||
|
||||
Reference in New Issue
Block a user