pi-web-ui 0.113.1 → 0.114.1
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/CHANGELOG.md +71 -1
- package/README.md +187 -316
- package/README.zh-CN.md +227 -299
- package/README.zh-TW.md +227 -299
- package/bin/device-hub-cli.mjs +577 -0
- package/bin/frp-manager.mjs +1573 -1573
- package/bin/pi-device-hub.mjs +9 -0
- package/bin/pi-web-ui.mjs +4081 -4041
- package/deploy/nginx-subpath.conf +100 -100
- package/deploy/pi-web-ui.service +36 -36
- package/dist/server/agent-service-daemon.js +102 -24
- package/dist/server/agent-service.js +2419 -1174
- package/dist/server/approval-rules.js +29 -3
- package/dist/server/ask-user-question-tool.js +8 -8
- package/dist/server/atomic-file.js +35 -14
- package/dist/server/attachment-store.js +71 -35
- package/dist/server/attachments.js +69 -13
- package/dist/server/canvas/canvas-agent-tool.js +68 -18
- package/dist/server/canvas/canvas-cards.js +1 -1
- package/dist/server/canvas/canvas-dispatch.js +61 -20
- package/dist/server/canvas/canvas-orchestrator.js +519 -202
- package/dist/server/canvas/canvas-scheduled-task.js +45 -0
- package/dist/server/canvas/canvas-scheduler.js +99 -0
- package/dist/server/canvas/canvas-store.js +107 -54
- package/dist/server/canvas/canvas-validation.js +131 -0
- package/dist/server/canvas/canvas-workspace.js +284 -0
- package/dist/server/client-id-utils.js +8 -0
- package/dist/server/client-state.js +110 -24
- package/dist/server/communicate-tool.js +76 -0
- package/dist/server/compact-context-tool.js +2 -3
- package/dist/server/compaction-instructions.js +75 -0
- package/dist/server/compaction-markers.js +7 -2
- package/dist/server/compaction-state.js +84 -0
- package/dist/server/composer-drafts.js +43 -40
- package/dist/server/context-evidence.js +346 -0
- package/dist/server/conversation-communication.js +368 -0
- package/dist/server/conversation-read-tool.js +3 -4
- package/dist/server/conversation-tool-names.js +14 -0
- package/dist/server/conversation-tool.js +57 -0
- package/dist/server/delegate-mode.js +17 -4
- package/dist/server/device-center/bot-catalog.js +88 -0
- package/dist/server/device-center/bot-execution.js +106 -0
- package/dist/server/device-center/bots.js +170 -0
- package/dist/server/device-center/collab-service.js +153 -0
- package/dist/server/device-center/collab-tool.js +184 -0
- package/dist/server/device-center/connector.js +351 -0
- package/dist/server/device-center/desktop-linux.js +372 -0
- package/dist/server/device-center/desktop-native.js +413 -0
- package/dist/server/device-center/desktop-page.js +232 -0
- package/dist/server/device-center/desktop-setup.js +30 -0
- package/dist/server/device-center/desktop.js +387 -0
- package/dist/server/device-center/device-portals.js +241 -0
- package/dist/server/device-center/execution-failure.js +70 -0
- package/dist/server/device-center/executor.js +371 -0
- package/dist/server/device-center/file-sync.js +493 -0
- package/dist/server/device-center/hub-auth.js +69 -0
- package/dist/server/device-center/hub-page.js +68 -0
- package/dist/server/device-center/hub-setup.js +214 -0
- package/dist/server/device-center/hub.js +830 -0
- package/dist/server/device-center/local-hub.js +92 -0
- package/dist/server/device-center/local.js +529 -0
- package/dist/server/device-center/main.js +118 -0
- package/dist/server/device-center/native-desktop/macos.js +192 -0
- package/dist/server/device-center/native-desktop/windows.js +118 -0
- package/dist/server/device-center/path-portal.js +120 -0
- package/dist/server/device-center/relay.js +996 -0
- package/dist/server/device-center/runtime.js +253 -0
- package/dist/server/device-center/store.js +122 -0
- package/dist/server/device-center/task-error.js +14 -0
- package/dist/server/device-center/transfers.js +293 -0
- package/dist/server/device-center/workspaces.js +45 -0
- package/dist/server/dispatch-domain-handlers.js +84 -27
- package/dist/server/dsh/dsh-agent-service.js +282 -159
- package/dist/server/dsh/dsh-client.js +12 -2
- package/dist/server/dsh/runtime/cordis.yml +1 -1
- package/dist/server/dsh/runtime/custom-prompt.mjs +33 -33
- package/dist/server/dsh/runtime/goal-rpc.mjs +1309 -1309
- package/dist/server/dsh/runtime/launcher.mjs +235 -235
- package/dist/server/dsh/runtime/override.patch.yml +89 -89
- package/dist/server/dsh/runtime/runtime-root.mjs +405 -405
- package/dist/server/durable/durable-agent-service.js +1 -1
- package/dist/server/engine-probe.js +36 -6
- package/dist/server/eval-tool.js +135 -135
- package/dist/server/evidence-tool-hooks.js +49 -0
- package/dist/server/file-save.js +95 -0
- package/dist/server/file-transfer-routes.js +97 -47
- package/dist/server/files-service.js +38 -26
- package/dist/server/global-loader.js +40 -2
- package/dist/server/goal-review-gate.js +16 -6
- package/dist/server/goal-service.js +54 -30
- package/dist/server/http-proxy.js +120 -0
- package/dist/server/index.js +285 -255
- package/dist/server/load-timing.js +31 -0
- package/dist/server/mcp-bridge.js +219 -94
- package/dist/server/mcp-hot-reload.js +31 -5
- package/dist/server/mcp-manager.js +192 -93
- package/dist/server/mcp-oauth-login.js +169 -0
- package/dist/server/mcp-oauth-ui.js +137 -0
- package/dist/server/mcp-oauth.js +395 -0
- package/dist/server/mcp-project-runtime.js +207 -0
- package/dist/server/message-window.js +74 -21
- package/dist/server/net-guard.js +122 -20
- package/dist/server/patch-bash-process.js +125 -0
- package/dist/server/patch-tool.js +9 -9
- package/dist/server/patch-turn-end-boundary.js +3 -3
- package/dist/server/payload-limits.js +17 -0
- package/dist/server/pending-question.js +82 -0
- package/dist/server/persona-chain.js +8 -8
- package/dist/server/plan-mode.js +338 -137
- package/dist/server/plugin-assets.js +8 -4
- package/dist/server/plugin-chat-attachments.js +48 -0
- package/dist/server/plugin-facilities.js +67 -220
- package/dist/server/plugin-installer.js +2 -1
- package/dist/server/plugin-removal.js +49 -0
- package/dist/server/plugin-secrets.js +179 -0
- package/dist/server/plugins.js +288 -94
- package/dist/server/preset-fields.js +56 -0
- package/dist/server/preset-plugin-dependencies.js +57 -0
- package/dist/server/preset-share.js +113 -72
- package/dist/server/prompt-templates.js +106 -0
- package/dist/server/protocol-version.js +1 -1
- package/dist/server/queue-modes.js +10 -0
- package/dist/server/remote-ssh-service.js +199 -106
- package/dist/server/request-context.js +164 -0
- package/dist/server/resolve-global-sdk.js +2 -0
- package/dist/server/sandbox-data.js +655 -0
- package/dist/server/sandbox-engines.js +7 -0
- package/dist/server/sandbox-runtime-gate.js +41 -0
- package/dist/server/sandbox-service.js +139 -698
- package/dist/server/sandbox-tool.js +21 -4
- package/dist/server/schedule-agent-tool.js +39 -21
- package/dist/server/scheduler-tasks.js +106 -55
- package/dist/server/scm-commitmsg.js +10 -10
- package/dist/server/serialize.js +48 -19
- package/dist/server/session-branch.js +25 -3
- package/dist/server/session-parser.js +28 -18
- package/dist/server/session-scan.js +130 -0
- package/dist/server/session-search.js +51 -37
- package/dist/server/settings-service.js +273 -111
- package/dist/server/setup-config.js +58 -0
- package/dist/server/setup-page.js +620 -620
- package/dist/server/skill-maintenance.js +112 -24
- package/dist/server/subagent-helpers.js +4 -1
- package/dist/server/subagent-notify.js +4 -1
- package/dist/server/subagent-security-gate.js +52 -11
- package/dist/server/subagent-task.js +27 -0
- package/dist/server/subagents.js +217 -46
- package/dist/server/tabs.js +9 -1
- package/dist/server/terminals.js +467 -363
- package/dist/server/text-quote.js +9 -0
- package/dist/server/tool-guards.js +42 -6
- package/dist/server/tool-manager.js +48 -20
- package/dist/server/tool-overrides.js +13 -11
- package/dist/server/tool-prompt-overrides.js +32 -2
- package/dist/server/tool-prompts.js +1 -1
- package/dist/server/turn-timing.js +11 -0
- package/dist/server/universal/drivers/claude-code.js +5 -0
- package/dist/server/universal/drivers/codex.js +336 -0
- package/dist/server/universal/index.js +1 -0
- package/dist/server/universal/session-store.js +48 -6
- package/dist/server/universal/universal-attachments.js +24 -1
- package/dist/server/universal/universal-service.js +1 -1
- package/dist/server/universal/universal-session.js +357 -231
- package/dist/server/uploads.js +64 -5
- package/dist/server/vision-bridge.js +18 -18
- package/dist/server/worktree-service.js +32 -24
- package/dist/server/ws-pending-queue.js +73 -27
- package/docs/device-center.md +148 -0
- package/docs/device-desktop.md +48 -0
- package/docs/dsh-engine.md +493 -493
- package/extensions/webui.ts +335 -335
- package/package.json +5 -2
- package/plugin-sdk/README.md +174 -174
- package/plugin-sdk/client-utils.mjs +279 -279
- package/plugin-sdk/import-check.mjs +210 -210
- package/plugin-sdk/index.d.ts +698 -676
- package/plugin-sdk/index.mjs +696 -696
- package/plugin-sdk/package.json +13 -13
- package/plugin-sdk/ssh-host-trust.mjs +225 -0
- package/plugins/catalog.json +11 -1
- package/themes/aetheris.css +501 -607
- package/themes/ayu-light.css +116 -140
- package/themes/bases/flow-base.css +1357 -1363
- package/themes/bases/obsidian-base.css +895 -895
- package/themes/bases/statusbar-flat-base.css +112 -0
- package/themes/bases/zhujian-base.css +688 -687
- package/themes/bases/zhupi-base.css +660 -659
- package/themes/catppuccin-latte.css +119 -142
- package/themes/catppuccin.css +116 -147
- package/themes/claude-code-dark.css +147 -146
- package/themes/codex.css +114 -138
- package/themes/cyberpunk.css +50 -108
- package/themes/dark-teal.css +264 -265
- package/themes/dazzle.css +38 -108
- package/themes/everforest-light.css +115 -138
- package/themes/flow-light.css +164 -164
- package/themes/flow.css +161 -161
- package/themes/geist.css +114 -138
- package/themes/gruvbox-light.css +115 -138
- package/themes/kanagawa-lotus.css +115 -138
- package/themes/md-preview.css +24 -234
- package/themes/mist.css +166 -186
- package/themes/nord.css +107 -138
- package/themes/one-dark.css +106 -139
- package/themes/paper.css +174 -186
- package/themes/rose-pine-dawn.css +114 -138
- package/themes/sakura.css +166 -186
- package/themes/solarized-light.css +114 -137
- package/themes/tokyo-night.css +115 -146
- package/themes/translucent.css +85 -85
- package/themes/transparent.css +116 -116
- package/themes/vs-code-dark.css +147 -147
- package/themes/wallpaper-flow.css +382 -382
- package/themes/wallpaper-obsidian.css +74 -74
- package/themes/white.css +164 -186
- package/themes/zhujian-dark.css +115 -114
- package/themes/zhujian.css +114 -114
- package/themes/zhupi-dark.css +115 -114
- package/themes/zhupi.css +114 -114
- package/web/dist/.build-assets.json +1 -0
- package/web/dist/assets/BgTasksModal-BcXJ20RO.js +1 -0
- package/web/dist/assets/BgTasksModal-DjQmiKnE.js +1 -0
- package/web/dist/assets/CanvasStudio-PI9pid0Y.js +1579 -0
- package/web/dist/assets/CanvasStudio-nf5-HxLM.js +1579 -0
- package/web/dist/assets/DeviceCenter-CYttJw2a.js +3 -0
- package/web/dist/assets/DeviceCenter-DPe4sz74.js +3 -0
- package/web/dist/assets/DeviceGroups-D2rogxEN.js +1 -0
- package/web/dist/assets/Dropdown-ZLS04O8p.js +1 -0
- package/web/dist/assets/FilePreview-C9Ut4Lq6.js +2 -0
- package/web/dist/assets/FilePreview-CvK3ZzX5.js +2 -0
- package/web/dist/assets/GlobalSearchModal-C5e-OCw2.js +1 -0
- package/web/dist/assets/GlobalSearchModal-H7pFK2UC.js +1 -0
- package/web/dist/assets/GroupConversation-C2wNM0dQ.js +1 -0
- package/web/dist/assets/GroupConversation-ChN3TWQK.js +1 -0
- package/web/dist/assets/ModelConfigModal-DDZccDYt.js +2 -0
- package/web/dist/assets/PiSetupModal-DHbqfx8T.js +1 -0
- package/web/dist/assets/ProviderOAuthControls-C-MK36Dk.js +1 -0
- package/web/dist/assets/SCMPanel-buTGziDB.js +2 -0
- package/web/dist/assets/SCMPanel-kx-SCL2s.js +2 -0
- package/web/dist/assets/SettingsModal-BsUF8jqr.js +20 -0
- package/web/dist/assets/SettingsModal-D357Ky7P.js +20 -0
- package/web/dist/assets/TerminalPanel-BBuM_Sez.js +3 -0
- package/web/dist/assets/TerminalPanel-D6x6xz8Q.js +3 -0
- package/web/dist/assets/TuiOverlayModal-CdbGV3Za.js +1 -0
- package/web/dist/assets/TuiOverlayModal-d6x9u25n.js +1 -0
- package/web/dist/assets/app-globals-DcyO0UPi.js +1 -0
- package/web/dist/assets/desktop-YguLbrX1.js +1 -0
- package/web/dist/assets/es-DWMIuDU2.js +2 -0
- package/web/dist/assets/fi-DaSO0Q-m.js +325 -0
- package/web/dist/assets/index-BPvpea8t.js +85 -0
- package/web/dist/assets/index-D6u8xH0o.js +85 -0
- package/web/dist/assets/index-DDZMv6LO.css +1 -0
- package/web/dist/assets/markdown-BggnuQ4H.js +40 -0
- package/web/dist/assets/markdown-C8LL_u4z.css +1 -0
- package/web/dist/assets/math-1uRJCsA9.js +257 -0
- package/web/dist/assets/math-BorAY7qD.css +1 -0
- package/web/dist/assets/plugin-host-BRBg6zmQ.js +1 -0
- package/web/dist/assets/shortcut-stack-hhrDyRBn.js +1 -0
- package/web/dist/assets/theme-DDl-Oy1b.js +1 -0
- package/web/dist/assets/uuid-BzDIGCwP.js +1 -0
- package/web/dist/index.html +42 -35
- package/web/dist/sw.js +179 -179
- package/web/public/sw.js +179 -179
- package/dist/gh-comment-781.md +0 -5
- package/dist/server/durable/durable-capabilities.js +0 -11
- package/dist/server/markers/builtins/services.js +0 -123
- package/dist/server/markers/builtins/todo.js +0 -189
- package/dist/server/markers-list-tool.js +0 -34
- package/dist/server/orchestrator.js +0 -109
- package/dist/server/system-prompt-soul.js +0 -41
- package/dist/server/univer-service.js +0 -448
- package/dist/server/universal/drivers/dsh-driver.js +0 -379
- package/dist/test-artifact.md +0 -9
- package/dist/test-preview-modal.md +0 -11
- package/dist/test-report.html +0 -20
- package/web/dist/assets/TerminalPanel-Ci55JtJL.js +0 -3
- package/web/dist/assets/index-ByiO9f-N.js +0 -2008
- package/web/dist/assets/index-ycGLh4a4.css +0 -1
- package/web/dist/assets/markdown-BJZlfvdP.js +0 -296
- package/web/dist/assets/markdown-DSNUiDzp.css +0 -1
|
@@ -73,6 +73,8 @@ export class DshRuntime {
|
|
|
73
73
|
env;
|
|
74
74
|
jsonrpcEntry;
|
|
75
75
|
proc = null;
|
|
76
|
+
beforeStart;
|
|
77
|
+
onStopping;
|
|
76
78
|
startPromise = null;
|
|
77
79
|
buffer = "";
|
|
78
80
|
nextId = 1;
|
|
@@ -95,6 +97,8 @@ export class DshRuntime {
|
|
|
95
97
|
* 宿主用它重新注册一次性资源(如插件工具桥),因为重 spawn 后 ctx 是全新的。 */
|
|
96
98
|
onStarted = null;
|
|
97
99
|
constructor(opts) {
|
|
100
|
+
this.beforeStart = opts.beforeStart;
|
|
101
|
+
this.onStopping = opts.onStopping;
|
|
98
102
|
this.cwd = resolve(opts.cwd);
|
|
99
103
|
this.provider = opts.provider ?? "deepseek-official";
|
|
100
104
|
this.model = opts.model ?? "deepseek-v4-flash";
|
|
@@ -169,6 +173,7 @@ export class DshRuntime {
|
|
|
169
173
|
}
|
|
170
174
|
/** 启动子进程 + initialize 握手(幂等;并发调用共享同一个启动任务)。 */
|
|
171
175
|
start() {
|
|
176
|
+
this.beforeStart?.(this.cwd);
|
|
172
177
|
if (this.disposed) {
|
|
173
178
|
return Promise.reject(new DshTransportError(bilingual("client has been disposed", "客户端已销毁")));
|
|
174
179
|
}
|
|
@@ -458,6 +463,7 @@ export class DshRuntime {
|
|
|
458
463
|
}
|
|
459
464
|
/** 优雅关闭:shutdown 握手 → stdin EOF → SIGTERM → SIGKILL 阶梯。 */
|
|
460
465
|
async close() {
|
|
466
|
+
this.onStopping?.();
|
|
461
467
|
if (this.disposed)
|
|
462
468
|
return;
|
|
463
469
|
this.disposed = true;
|
|
@@ -519,6 +525,7 @@ export class DshRuntime {
|
|
|
519
525
|
* win32: taskkill /pid X /T /F;posix: SIGKILL(-pid)(detached 进程组)。
|
|
520
526
|
*/
|
|
521
527
|
async kill() {
|
|
528
|
+
this.onStopping?.();
|
|
522
529
|
const proc = this.proc;
|
|
523
530
|
this.debug("kill", { pid: proc?.pid });
|
|
524
531
|
this.closed = true;
|
|
@@ -600,7 +607,8 @@ export class DshRuntime {
|
|
|
600
607
|
}
|
|
601
608
|
}
|
|
602
609
|
/** 换模型:关掉当前运行时(若活着),下次 start() 用新 model 重新 spawn。 */
|
|
603
|
-
async restart(newModel, newProvider) {
|
|
610
|
+
async restart(newModel, newProvider, cwd) {
|
|
611
|
+
this.beforeStart?.(cwd ? resolve(cwd) : this.cwd);
|
|
604
612
|
const wasAlive = this.alive;
|
|
605
613
|
this.debug("restart", { newModel, newProvider, wasAlive });
|
|
606
614
|
if (wasAlive) {
|
|
@@ -614,6 +622,8 @@ export class DshRuntime {
|
|
|
614
622
|
this.modelProvider = newModel.slice(0, newModel.indexOf("/"));
|
|
615
623
|
}
|
|
616
624
|
}
|
|
625
|
+
if (cwd)
|
|
626
|
+
this.cwd = resolve(cwd);
|
|
617
627
|
if (newProvider) {
|
|
618
628
|
if (newProvider === "deepseek-official") {
|
|
619
629
|
this.provider = newProvider;
|
|
@@ -623,7 +633,7 @@ export class DshRuntime {
|
|
|
623
633
|
}
|
|
624
634
|
}
|
|
625
635
|
this.initialized = false;
|
|
626
|
-
if (wasAlive)
|
|
636
|
+
if (wasAlive || cwd)
|
|
627
637
|
await this.start();
|
|
628
638
|
}
|
|
629
639
|
/** stderr 尾部(诊断用)。 */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[]
|
|
1
|
+
[]
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* pi-web-ui custom prompt section (host plane).
|
|
3
|
-
*
|
|
4
|
-
* pi-web-ui 的自定义系统提示词在预设时代的载体:官方 preset 的 persona 行会
|
|
5
|
-
* shadow 掉部署人设(standard/ptc/cordis),minimal(complete:true)更压住一切,
|
|
6
|
-
* 所以沿用 system-prompt 行(DSH_PERSONA)已无法让用户的自定义提示词生效。
|
|
7
|
-
* 本行在 host plane 注册一个独立 section(deployment:persona-suffix 之后),
|
|
8
|
-
* standard/ptc/cordis 下随系统提示词下发,minimal 下被 complete 压住(官方语义)。
|
|
9
|
-
*
|
|
10
|
-
* 文本来自环境变量 PI_WEB_DSH_CUSTOM_PROMPT(Node 侧 dsh-agent-service 维护,
|
|
11
|
-
* 变化即重启运行时);为空时不注册任何 section。无 Config export(loader 允许,
|
|
12
|
-
* 与 dsh-tool-ask-user 同形)。
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
const name = "pi-webui-custom-prompt";
|
|
16
|
-
const inject = ["systemPrompt"];
|
|
17
|
-
|
|
18
|
-
function apply(ctx) {
|
|
19
|
-
const text = (process.env.PI_WEB_DSH_CUSTOM_PROMPT ?? "").trim();
|
|
20
|
-
if (!text) return;
|
|
21
|
-
const order = ctx.systemPrompt.getSectionOrder("DEPLOYMENT_PERSONA_SUFFIX") + 50;
|
|
22
|
-
ctx.effect(
|
|
23
|
-
() =>
|
|
24
|
-
ctx.systemPrompt.section({
|
|
25
|
-
name: "pi-webui:custom-prompt",
|
|
26
|
-
order,
|
|
27
|
-
text,
|
|
28
|
-
}),
|
|
29
|
-
"pi-webui-custom-prompt.section()",
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { apply, inject, name };
|
|
1
|
+
/**
|
|
2
|
+
* pi-web-ui custom prompt section (host plane).
|
|
3
|
+
*
|
|
4
|
+
* pi-web-ui 的自定义系统提示词在预设时代的载体:官方 preset 的 persona 行会
|
|
5
|
+
* shadow 掉部署人设(standard/ptc/cordis),minimal(complete:true)更压住一切,
|
|
6
|
+
* 所以沿用 system-prompt 行(DSH_PERSONA)已无法让用户的自定义提示词生效。
|
|
7
|
+
* 本行在 host plane 注册一个独立 section(deployment:persona-suffix 之后),
|
|
8
|
+
* standard/ptc/cordis 下随系统提示词下发,minimal 下被 complete 压住(官方语义)。
|
|
9
|
+
*
|
|
10
|
+
* 文本来自环境变量 PI_WEB_DSH_CUSTOM_PROMPT(Node 侧 dsh-agent-service 维护,
|
|
11
|
+
* 变化即重启运行时);为空时不注册任何 section。无 Config export(loader 允许,
|
|
12
|
+
* 与 dsh-tool-ask-user 同形)。
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
const name = "pi-webui-custom-prompt";
|
|
16
|
+
const inject = ["systemPrompt"];
|
|
17
|
+
|
|
18
|
+
function apply(ctx) {
|
|
19
|
+
const text = (process.env.PI_WEB_DSH_CUSTOM_PROMPT ?? "").trim();
|
|
20
|
+
if (!text) return;
|
|
21
|
+
const order = ctx.systemPrompt.getSectionOrder("DEPLOYMENT_PERSONA_SUFFIX") + 50;
|
|
22
|
+
ctx.effect(
|
|
23
|
+
() =>
|
|
24
|
+
ctx.systemPrompt.section({
|
|
25
|
+
name: "pi-webui:custom-prompt",
|
|
26
|
+
order,
|
|
27
|
+
text,
|
|
28
|
+
}),
|
|
29
|
+
"pi-webui-custom-prompt.section()",
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { apply, inject, name };
|