@lifeaitools/clauth 1.5.78 → 1.5.81
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/cli/assets/codevelop/launcher-active.cmd.template +20 -0
- package/cli/assets/codevelop/launcher-static.cmd.template +7 -0
- package/cli/assets/codevelop/windows-terminal.profiles.json +48 -0
- package/cli/commands/codevelop.js +907 -0
- package/cli/commands/serve.js +624 -23
- package/cli/index.js +40 -0
- package/cli/studio-debug.js +0 -37
- package/install.ps1 +21 -7
- package/package.json +61 -61
- package/scripts/postinstall.js +20 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@echo off
|
|
2
|
+
setlocal
|
|
3
|
+
set "CODEVELOP_SESSION=${SESSION_ID}"
|
|
4
|
+
set "CODEVELOP_PEER=${PEER}"
|
|
5
|
+
set "CODEVELOP_TARGET=${TARGET_PEER}"
|
|
6
|
+
set "CODEVELOP_BASE_URL=${BASE_URL}"
|
|
7
|
+
set "CODEVELOP_MANIFEST=${MANIFEST}"
|
|
8
|
+
set "CODEVELOP_CONTEXT=${CONTEXT_FILE}"
|
|
9
|
+
set "CELL_ROLE=codevelop-${PEER}"
|
|
10
|
+
cd /d "${CWD}"
|
|
11
|
+
if /i "%~1"=="--print-only" (
|
|
12
|
+
echo command: ${PRINT_COMMAND}
|
|
13
|
+
exit /b 0
|
|
14
|
+
)
|
|
15
|
+
echo Co-develop ${PEER} ready. Session ${SESSION_ID}. Listening for collaboration.
|
|
16
|
+
echo Context: ${CONTEXT_FILE}
|
|
17
|
+
node "${CLAUTH_CLI}" codevelop check-partner --repo "${REPO}" --peer ${PEER}
|
|
18
|
+
${COMMAND}
|
|
19
|
+
set EXITCODE=%ERRORLEVEL%
|
|
20
|
+
endlocal & exit /b %EXITCODE%
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profiles": [
|
|
3
|
+
{
|
|
4
|
+
"name": "Co Develop Claude",
|
|
5
|
+
"guid": "{a2f8548f-82e6-44b4-bdbb-d934e8881f01}",
|
|
6
|
+
"commandline": "cmd.exe /k \"${CLAUTH_APPDATA}\\codevelop-claude.cmd\"",
|
|
7
|
+
"startingDirectory": "${REPO}",
|
|
8
|
+
"environment": {
|
|
9
|
+
"CELL_ROLE": "codevelop-claude"
|
|
10
|
+
},
|
|
11
|
+
"icon": "🔴",
|
|
12
|
+
"tabColor": "#B91C1C",
|
|
13
|
+
"colorScheme": "Dimidium"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "Co Develop Codex",
|
|
17
|
+
"guid": "{31a52b07-6efd-4b3d-96dd-ded73488140a}",
|
|
18
|
+
"commandline": "cmd.exe /k \"${CLAUTH_APPDATA}\\codevelop-codex.cmd\"",
|
|
19
|
+
"startingDirectory": "${REPO}",
|
|
20
|
+
"environment": {
|
|
21
|
+
"CELL_ROLE": "codevelop-codex"
|
|
22
|
+
},
|
|
23
|
+
"icon": "🧬",
|
|
24
|
+
"tabColor": "#0F766E",
|
|
25
|
+
"colorScheme": "Dimidium"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"layout": {
|
|
29
|
+
"wtArgs": [
|
|
30
|
+
"-w",
|
|
31
|
+
"new",
|
|
32
|
+
"new-tab",
|
|
33
|
+
"--profile",
|
|
34
|
+
"Co Develop Claude",
|
|
35
|
+
"--title",
|
|
36
|
+
"Co Develop Claude",
|
|
37
|
+
";",
|
|
38
|
+
"split-pane",
|
|
39
|
+
"-V",
|
|
40
|
+
"--size",
|
|
41
|
+
"0.50",
|
|
42
|
+
"--profile",
|
|
43
|
+
"Co Develop Codex",
|
|
44
|
+
"--title",
|
|
45
|
+
"Co Develop Codex"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|