@takibeiy/moltbot_cn 2026.1.27 → 2026.2.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/dist/build-info.json +5 -0
- package/dist/canvas-host/a2ui/.bundle.hash +1 -0
- package/dist/canvas-host/a2ui/a2ui.bundle.js +17770 -0
- package/dist/canvas-host/a2ui/index.html +307 -0
- package/dist/control-ui/assets/index-BAFzd9IE.css +1 -0
- package/dist/control-ui/assets/index-CxUFDXFX.js +3162 -0
- package/dist/control-ui/assets/index-CxUFDXFX.js.map +1 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/index.html +15 -0
- package/dist/hooks/bundled/boot-md/HOOK.md +19 -0
- package/dist/hooks/bundled/command-logger/HOOK.md +122 -0
- package/dist/hooks/bundled/session-memory/HOOK.md +86 -0
- package/dist/hooks/bundled/soul-evil/HOOK.md +71 -0
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +3 -7
- package/extensions/googlechat/node_modules/.bin/clawdbot +3 -7
- package/extensions/googlechat/node_modules/.bin/moltbot +3 -7
- package/extensions/line/node_modules/.bin/clawdbot +3 -7
- package/extensions/line/node_modules/.bin/moltbot +3 -7
- package/extensions/matrix/node_modules/.bin/clawdbot +3 -7
- package/extensions/matrix/node_modules/.bin/markdown-it +3 -7
- package/extensions/matrix/node_modules/.bin/moltbot +3 -7
- package/extensions/memory-core/node_modules/.bin/clawdbot +3 -7
- package/extensions/memory-core/node_modules/.bin/moltbot +3 -7
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +3 -7
- package/extensions/memory-lancedb/node_modules/.bin/openai +3 -7
- package/extensions/msteams/node_modules/.bin/clawdbot +3 -7
- package/extensions/msteams/node_modules/.bin/moltbot +3 -7
- package/extensions/nostr/node_modules/.bin/clawdbot +3 -7
- package/extensions/nostr/node_modules/.bin/moltbot +3 -7
- package/extensions/qq/node_modules/.bin/vitest +3 -7
- package/extensions/qq/src/channel.ts +30 -2
- package/extensions/qq/src/onebot/api.test.ts +44 -0
- package/extensions/qq/src/onebot/api.ts +13 -0
- package/extensions/qq/src/send.test.ts +53 -8
- package/extensions/qq/src/send.ts +29 -1
- package/extensions/twitch/node_modules/.bin/clawdbot +3 -7
- package/extensions/twitch/node_modules/.bin/moltbot +3 -7
- package/extensions/zalo/node_modules/.bin/clawdbot +3 -7
- package/extensions/zalo/node_modules/.bin/moltbot +3 -7
- package/extensions/zalouser/node_modules/.bin/clawdbot +3 -7
- package/extensions/zalouser/node_modules/.bin/moltbot +3 -7
- package/git-hooks/pre-commit +0 -0
- package/package.json +2 -2
- package/skills/nano-banana-pro/scripts/generate_image.py +0 -0
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -0
- package/skills/tmux/scripts/find-sessions.sh +0 -0
- package/skills/tmux/scripts/wait-for-text.sh +0 -0
- package/extensions/diagnostics-otel/node_modules/.bin/acorn.CMD +0 -12
- package/extensions/diagnostics-otel/node_modules/.bin/acorn.ps1 +0 -41
- package/extensions/googlechat/node_modules/.bin/clawdbot.CMD +0 -12
- package/extensions/googlechat/node_modules/.bin/clawdbot.ps1 +0 -41
- package/extensions/googlechat/node_modules/.bin/moltbot.CMD +0 -12
- package/extensions/googlechat/node_modules/.bin/moltbot.ps1 +0 -41
- package/extensions/line/node_modules/.bin/clawdbot.CMD +0 -12
- package/extensions/line/node_modules/.bin/clawdbot.ps1 +0 -41
- package/extensions/line/node_modules/.bin/moltbot.CMD +0 -12
- package/extensions/line/node_modules/.bin/moltbot.ps1 +0 -41
- package/extensions/matrix/node_modules/.bin/clawdbot.CMD +0 -12
- package/extensions/matrix/node_modules/.bin/clawdbot.ps1 +0 -41
- package/extensions/matrix/node_modules/.bin/markdown-it.CMD +0 -12
- package/extensions/matrix/node_modules/.bin/markdown-it.ps1 +0 -41
- package/extensions/matrix/node_modules/.bin/moltbot.CMD +0 -12
- package/extensions/matrix/node_modules/.bin/moltbot.ps1 +0 -41
- package/extensions/memory-core/node_modules/.bin/clawdbot.CMD +0 -12
- package/extensions/memory-core/node_modules/.bin/clawdbot.ps1 +0 -41
- package/extensions/memory-core/node_modules/.bin/moltbot.CMD +0 -12
- package/extensions/memory-core/node_modules/.bin/moltbot.ps1 +0 -41
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv.CMD +0 -12
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv.ps1 +0 -41
- package/extensions/memory-lancedb/node_modules/.bin/openai.CMD +0 -12
- package/extensions/memory-lancedb/node_modules/.bin/openai.ps1 +0 -41
- package/extensions/msteams/node_modules/.bin/clawdbot.CMD +0 -12
- package/extensions/msteams/node_modules/.bin/clawdbot.ps1 +0 -41
- package/extensions/msteams/node_modules/.bin/moltbot.CMD +0 -12
- package/extensions/msteams/node_modules/.bin/moltbot.ps1 +0 -41
- package/extensions/nostr/node_modules/.bin/clawdbot.CMD +0 -12
- package/extensions/nostr/node_modules/.bin/clawdbot.ps1 +0 -41
- package/extensions/nostr/node_modules/.bin/moltbot.CMD +0 -12
- package/extensions/nostr/node_modules/.bin/moltbot.ps1 +0 -41
- package/extensions/nostr/node_modules/.bin/tsc +0 -21
- package/extensions/nostr/node_modules/.bin/tsc.CMD +0 -12
- package/extensions/nostr/node_modules/.bin/tsc.ps1 +0 -41
- package/extensions/nostr/node_modules/.bin/tsserver +0 -21
- package/extensions/nostr/node_modules/.bin/tsserver.CMD +0 -12
- package/extensions/nostr/node_modules/.bin/tsserver.ps1 +0 -41
- package/extensions/qq/node_modules/.bin/vite +0 -21
- package/extensions/qq/node_modules/.bin/vite.CMD +0 -12
- package/extensions/qq/node_modules/.bin/vite.ps1 +0 -41
- package/extensions/qq/node_modules/.bin/vitest.CMD +0 -12
- package/extensions/qq/node_modules/.bin/vitest.ps1 +0 -41
- package/extensions/twitch/node_modules/.bin/clawdbot.CMD +0 -12
- package/extensions/twitch/node_modules/.bin/clawdbot.ps1 +0 -41
- package/extensions/twitch/node_modules/.bin/moltbot.CMD +0 -12
- package/extensions/twitch/node_modules/.bin/moltbot.ps1 +0 -41
- package/extensions/zalo/node_modules/.bin/clawdbot.CMD +0 -12
- package/extensions/zalo/node_modules/.bin/clawdbot.ps1 +0 -41
- package/extensions/zalo/node_modules/.bin/moltbot.CMD +0 -12
- package/extensions/zalo/node_modules/.bin/moltbot.ps1 +0 -41
- package/extensions/zalouser/node_modules/.bin/clawdbot.CMD +0 -12
- package/extensions/zalouser/node_modules/.bin/clawdbot.ps1 +0 -41
- package/extensions/zalouser/node_modules/.bin/moltbot.CMD +0 -12
- package/extensions/zalouser/node_modules/.bin/moltbot.ps1 +0 -41
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules\.pnpm\openai@6.16.0_ws@8.19.0_zod@4.3.6\node_modules\openai\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\openai@6.16.0_ws@8.19.0_zod@4.3.6\node_modules\openai\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\openai@6.16.0_ws@8.19.0_zod@4.3.6\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/openai@6.16.0_ws@8.19.0_zod@4.3.6/node_modules/openai/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/openai@6.16.0_ws@8.19.0_zod@4.3.6/node_modules/openai/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/openai@6.16.0_ws@8.19.0_zod@4.3.6/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../openai/bin/cli" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../openai/bin/cli" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../openai/bin/cli" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../openai/bin/cli" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
12
|
-
)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules:/proc/cygdrive/d/WorkSpace/repos/node_modules:/proc/cygdrive/d/WorkSpace/node_modules:/proc/cygdrive/d/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
12
|
-
)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules:/proc/cygdrive/d/WorkSpace/repos/node_modules:/proc/cygdrive/d/WorkSpace/node_modules:/proc/cygdrive/d/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
12
|
-
)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules:/proc/cygdrive/d/WorkSpace/repos/node_modules:/proc/cygdrive/d/WorkSpace/node_modules:/proc/cygdrive/d/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
12
|
-
)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules:/proc/cygdrive/d/WorkSpace/repos/node_modules:/proc/cygdrive/d/WorkSpace/node_modules:/proc/cygdrive/d/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsc" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsc" "$@"
|
|
21
|
-
fi
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\..\..\..\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\tsc" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\..\..\..\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\tsc" %*
|
|
12
|
-
)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsc" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsc" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsc" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsc" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsserver" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsserver" "$@"
|
|
21
|
-
fi
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\..\..\..\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\tsserver" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\..\..\..\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\tsserver" %*
|
|
12
|
-
)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsserver" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsserver" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsserver" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsserver" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/bin/vite.js" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/bin/vite.js" "$@"
|
|
21
|
-
fi
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules\vite\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules\vite\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules\vite\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules\vite\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\..\..\..\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules\vite\bin\vite.js" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\..\..\..\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules\vite\bin\vite.js" %*
|
|
12
|
-
)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules\vite\bin\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules\vite\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/bin/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../../../../node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/bin/vite.js" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../../../../node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/bin/vite.js" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../../../../node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/bin/vite.js" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../../../../node_modules/.pnpm/vite@5.4.21_@types+node@25.0.10_lightningcss@1.30.2/node_modules/vite/bin/vite.js" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vitest@2.1.9_@types+node@25_b4324752439f1bdb60cd3e5090841c9f\node_modules\vitest\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vitest@2.1.9_@types+node@25_b4324752439f1bdb60cd3e5090841c9f\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vitest@2.1.9_@types+node@25_b4324752439f1bdb60cd3e5090841c9f\node_modules\vitest\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vitest@2.1.9_@types+node@25_b4324752439f1bdb60cd3e5090841c9f\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\vitest\vitest.mjs" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\vitest\vitest.mjs" %*
|
|
12
|
-
)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vitest@2.1.9_@types+node@25_b4324752439f1bdb60cd3e5090841c9f\node_modules\vitest\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\vitest@2.1.9_@types+node@25_b4324752439f1bdb60cd3e5090841c9f\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vitest@2.1.9_@types+node@25_b4324752439f1bdb60cd3e5090841c9f/node_modules/vitest/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/vitest@2.1.9_@types+node@25_b4324752439f1bdb60cd3e5090841c9f/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../vitest/vitest.mjs" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../vitest/vitest.mjs" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../vitest/vitest.mjs" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../vitest/vitest.mjs" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
12
|
-
)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
$pathsep=":"
|
|
6
|
-
$env_node_path=$env:NODE_PATH
|
|
7
|
-
$new_node_path="D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
8
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
-
# are installed in the same directory
|
|
11
|
-
$exe=".exe"
|
|
12
|
-
$pathsep=";"
|
|
13
|
-
} else {
|
|
14
|
-
$new_node_path="/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules:/proc/cygdrive/d/WorkSpace/repos/node_modules:/proc/cygdrive/d/WorkSpace/node_modules:/proc/cygdrive/d/node_modules:/proc/cygdrive/d/WorkSpace/repos/moltbot/node_modules/.pnpm/node_modules"
|
|
15
|
-
}
|
|
16
|
-
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
-
$env:NODE_PATH=$new_node_path
|
|
18
|
-
} else {
|
|
19
|
-
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
$ret=0
|
|
23
|
-
if (Test-Path "$basedir/node$exe") {
|
|
24
|
-
# Support pipeline input
|
|
25
|
-
if ($MyInvocation.ExpectingInput) {
|
|
26
|
-
$input | & "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
27
|
-
} else {
|
|
28
|
-
& "$basedir/node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
29
|
-
}
|
|
30
|
-
$ret=$LASTEXITCODE
|
|
31
|
-
} else {
|
|
32
|
-
# Support pipeline input
|
|
33
|
-
if ($MyInvocation.ExpectingInput) {
|
|
34
|
-
$input | & "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
35
|
-
} else {
|
|
36
|
-
& "node$exe" "$basedir/../moltbot/moltbot.mjs" $args
|
|
37
|
-
}
|
|
38
|
-
$ret=$LASTEXITCODE
|
|
39
|
-
}
|
|
40
|
-
$env:NODE_PATH=$env_node_path
|
|
41
|
-
exit $ret
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@SETLOCAL
|
|
2
|
-
@IF NOT DEFINED NODE_PATH (
|
|
3
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules"
|
|
4
|
-
) ELSE (
|
|
5
|
-
@SET "NODE_PATH=D:\WorkSpace\repos\moltbot\node_modules;D:\WorkSpace\repos\node_modules;D:\WorkSpace\node_modules;D:\node_modules;D:\WorkSpace\repos\moltbot\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
-
)
|
|
7
|
-
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
-
"%~dp0\node.exe" "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
9
|
-
) ELSE (
|
|
10
|
-
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
-
node "%~dp0\..\moltbot\moltbot.mjs" %*
|
|
12
|
-
)
|