@tekmidian/pai 0.9.10 → 0.9.12
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/cli/index.mjs +5 -1
- package/dist/cli/index.mjs.map +1 -1
- package/dist/daemon/index.mjs +1 -1
- package/dist/{daemon-dYymOnwd.mjs → daemon-DaTQ-VtJ.mjs} +17 -8
- package/dist/daemon-DaTQ-VtJ.mjs.map +1 -0
- package/dist/hooks/session-commands.mjs +17 -0
- package/dist/hooks/session-commands.mjs.map +7 -0
- package/package.json +1 -1
- package/src/hooks/ts/session-start/session-commands.ts +26 -0
- package/dist/daemon-dYymOnwd.mjs.map +0 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -3794,7 +3794,7 @@ function cmdLogs(opts) {
|
|
|
3794
3794
|
}
|
|
3795
3795
|
function registerDaemonCommands(daemonCmd) {
|
|
3796
3796
|
daemonCmd.command("serve").description("Start the PAI daemon in the foreground").action(async () => {
|
|
3797
|
-
const { serve } = await import("../daemon-
|
|
3797
|
+
const { serve } = await import("../daemon-DaTQ-VtJ.mjs").then((n) => n.t);
|
|
3798
3798
|
const { loadConfig: lc, ensureConfigDir } = await import("../config-BuhHWyOK.mjs").then((n) => n.r);
|
|
3799
3799
|
ensureConfigDir();
|
|
3800
3800
|
await serve(lc());
|
|
@@ -5151,6 +5151,10 @@ async function stepSettings(rl, daName) {
|
|
|
5151
5151
|
DA: daName
|
|
5152
5152
|
},
|
|
5153
5153
|
hooks: [
|
|
5154
|
+
{
|
|
5155
|
+
hookType: "SessionStart",
|
|
5156
|
+
command: "${PAI_DIR}/Hooks/session-commands.mjs"
|
|
5157
|
+
},
|
|
5154
5158
|
{
|
|
5155
5159
|
hookType: "SessionStart",
|
|
5156
5160
|
command: "${PAI_DIR}/Hooks/load-core-context.mjs"
|