omp-auto-loop 0.2.1 → 0.2.2
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 +1 -2
- package/package.json +1 -1
- package/test-run.ts +2 -0
- package/omp-auto-loop-0.2.1.tgz +0 -0
package/index.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ExtensionAPI, ExtensionContext } from "@oh-my-pi/pi-coding-agent";
|
|
2
|
-
import { Key } from "@oh-my-pi/pi-tui";
|
|
3
2
|
import { buildPrompt, emptyState, getSystemPromptAddition, type LoopState, updateWidget } from "./state.ts";
|
|
4
3
|
import { getLoopControlToolDefinition, handleLoopControlTool, renderLoopControlCall, renderLoopControlResult } from "./tool.ts";
|
|
5
4
|
|
|
@@ -106,7 +105,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
106
105
|
handler: async (_args, ctx) => stopLoop(ctx, "Stopped by user"),
|
|
107
106
|
});
|
|
108
107
|
|
|
109
|
-
pi.registerShortcut(
|
|
108
|
+
pi.registerShortcut("ctrl+shift+x", {
|
|
110
109
|
description: "Stop the active loop",
|
|
111
110
|
handler: async (ctx) => {
|
|
112
111
|
stopLoop(ctx, "Stopped by shortcut");
|
package/package.json
CHANGED
package/test-run.ts
ADDED
package/omp-auto-loop-0.2.1.tgz
DELETED
|
Binary file
|