@hyperdreamer/pi-webui 1.11.0-beta.2 → 1.11.0-beta.4
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/dist/client/assets/{CodeViewer-BLl9w8U8.js → CodeViewer-Vvy_gSv8.js} +1 -1
- package/dist/client/assets/{UnifiedDiffViewer-DmskjbU5.js → UnifiedDiffViewer-OAmwWrcV.js} +1 -1
- package/dist/client/assets/{index-oaLRluxm.js → index-DycHqr3e.js} +398 -398
- package/dist/client/index.html +1 -1
- package/dist/pi-webui-plugins/workspace-tasks/pi-webui-plugin.js +1 -0
- package/dist/plugin-api.d.ts +2 -0
- package/package.json +1 -1
package/dist/client/index.html
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--pi-bg); color: var(--pi-text); }
|
|
54
54
|
body { min-height: 100dvh; }
|
|
55
55
|
</style>
|
|
56
|
-
<script type="module" crossorigin src="./assets/index-
|
|
56
|
+
<script type="module" crossorigin src="./assets/index-DycHqr3e.js"></script>
|
|
57
57
|
<link rel="modulepreload" crossorigin href="./assets/vendor-editor-core-vUi74DnD.js">
|
|
58
58
|
<link rel="modulepreload" crossorigin href="./assets/vendor-editor-languages-DoaXUodB.js">
|
|
59
59
|
<link rel="modulepreload" crossorigin href="./assets/vendor-terminal-D8k4UKM2.js">
|
|
@@ -14,6 +14,7 @@ const plugin = {
|
|
|
14
14
|
title: "Open Workspace Tasks",
|
|
15
15
|
description: `Open the workspace Tasks tab. Configure tasks in ${TASKS_CONFIG_PATH}.`,
|
|
16
16
|
group: "Workspace",
|
|
17
|
+
closesActionPalette: true,
|
|
17
18
|
enabled: (context) => context.state.selectedWorkspace !== undefined,
|
|
18
19
|
run: (context) => {
|
|
19
20
|
if (context.state.selectedWorkspace === undefined)
|
package/dist/plugin-api.d.ts
CHANGED
|
@@ -91,6 +91,8 @@ export interface PluginAction {
|
|
|
91
91
|
enabled?: (context: PluginRuntimeContext) => boolean;
|
|
92
92
|
/** Explain why a disabled action is visible but unavailable. */
|
|
93
93
|
disabledReason?: (context: PluginRuntimeContext) => string | undefined;
|
|
94
|
+
/** Close the action palette after this action runs. Defaults to keeping it open. */
|
|
95
|
+
closesActionPalette?: boolean;
|
|
94
96
|
run: (context: PluginRuntimeContext) => void | Promise<void>;
|
|
95
97
|
}
|
|
96
98
|
export interface Workspace {
|
package/package.json
CHANGED