Skip to content

Latest commit

ย 

History

94 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

TeamCodex

้ขๅ‘ Codex ไธŽ ChatGPT ๆกŒ้ข็ซฏ็š„่ฝป้‡็บงๆ— ไพตๅ…ฅๅฎžๆ—ถๅๅŒๅทฅไฝœๅŒบไธŽไธŠไธ‹ๆ–‡ๆŽฅๅŠ›ๅŒๆญฅไธญๆžขใ€‚
ๅ‘Šๅˆซโ€œๅŒไบ‹ไบ’็›ธ็”ฉไบŒๆ‰‹ AI ๆ–‡ๆกฃไบง็”Ÿ่ฏฏๅทฎโ€๏ผŒๅฎž็Žฐ็ ”ๅ‘ๅ›ข้˜Ÿๅฏน่ฏไธŠไธ‹ๆ–‡ไธŽๆ€็ปด้“พ็š„ๆฏซ็ง’็บงๆ— ๆŸๅฏน้ฝใ€‚

Seamless Real-time Collaboration Workspace & Context Hub for Codex & ChatGPT Desktop.
Stop cascading errors from tossing static AI docs. Align reasoning chains and context instantly across engineering teams.

Release Build Tests Platform Node License

English | ไธญๆ–‡


ไธญๆ–‡

1. ็ซ‹้กนๅˆ่กท๏ผšไธบไป€ไนˆๅš่ฟ™ๆฌพๅทฅๅ…ท๏ผŸ

ๅœจ็ ”ๅ‘ๅ›ข้˜Ÿๅ…จๅ‘˜ไฝฟ็”จ Codex / ChatGPT ่ฟ›่กŒ็ผ–็ ไธŽๆžถๆž„ๆ”ปๅšๆ—ถ๏ผŒไธชไบบๅ•ๅ…ตไฝœๆˆ˜ๆ•ˆ็އๆ˜พ่‘—ๆๅ‡๏ผŒไฝ†ๅ›ข้˜Ÿๅไฝœๅดๆป‘ๅ…ฅไบ†ๆ–ฐ็š„ๆณฅๆฝญ๏ผš

  • ็—›็‚นไธ€๏ผšๅŒไบ‹ไบ’็›ธโ€œ็”ฉไบŒๆ‰‹ AI ๆ–‡ๆกฃโ€๏ผŒๅฏผ่‡ด่ฏฏๅทฎไธŽๅนป่ง‰ๅฑ‚ๅฑ‚ๆ”พๅคง
    ๆœ€ๅ…ธๅž‹็š„็ฟป่ฝฆ็Žฐๅœบ๏ผšๅŒไบ‹ A ้—ฎๅฎŒ AI๏ผŒ็›ดๆŽฅๆŠŠ AI ๅๅ‡บ็š„ไธ€ๅคง็ฏ‡ๆœช็ปๅฎžๆต‹้ชŒ่ฏ็š„ Markdown/Word ๆ–นๆกˆๆˆ–ๆŽฅๅฃ่‰ๆกˆๆ‰“ๅŒ…โ€œ็”ฉโ€็ป™ๅŒไบ‹ Bใ€‚ๅŒไบ‹ B ๆ‹ฟๅˆฐ่ฟ™ไปฝไบŒๆ‰‹ๆ–‡ๆกฃๅ†ๅŽปๅ–‚็ป™่‡ชๅทฑ็š„ๆœฌๅœฐ AI๏ผŒๅฏผ่‡ดไธคๅฐๆœบๅ™จๅœจๅ……ๆปกๅ‡ๅฎšๆกไปถๅ’Œ่™šๅ‡ไปฃ็ ็š„ๅ‰ๆไธ‹ไบŒๆฌกๆผ”็ปŽ๏ผŒๅนป่ง‰ไธŽ่ฏฏๅทฎ่ขซๆŒ‡ๆ•ฐ็บงๆ”พๅคง๏ผŒ่”่ฐƒไธŠ็บฟๆ—ถ้ข‘้ข‘่ธฉๅ‘ไบ’็›ธๆ‰ฏ็šฎใ€‚
  • ็—›็‚นไบŒ๏ผšไธขๅคฑๅ‰ๅ› ๅŽๆžœไธŽๅ†ณ็ญ–้“พ่ทฏ๏ผˆThe Missing "Why"๏ผ‰
    ้™ๆ€ๆ–‡ๆกฃๅชๅ‘ˆ็Žฐไบ† AI ๆœ€็ปˆๅๅ‡บ็š„ไธ€ไปฝโ€œ็œ‹ไผผๅทฅๆ•ดโ€็š„็ป“ๆžœ๏ผŒๅดๆŠนๅนณไบ†ๆžๅ…ถๅ…ณ้”ฎ็š„ๆŠ€ๆœฏๆŽจๅฏผ่ƒŒๆ™ฏโ€”โ€”โ€œๆŽ’้™คไบ†ๅ“ชไบ›่ธฉๅ‘ๆ–นๆกˆ๏ผŸๅบ•ๅฑ‚้€‰ๅž‹็š„่พน็•Œไพ่ต–ๆ˜ฏไป€ไนˆ๏ผŸPrompt ็ปๅކ่ฟ‡ๅ“ชไบ›็บ ๅ๏ผŸโ€ๆŽฅๆ‰‹็š„ๅŒไบ‹้ขๅฏนๅ†ฐๅ†ท้™ๆ€ๆ–‡ๆœฌ๏ผŒๆ นๆœฌๆ— ๆณ•็†่งฃๅ‰็ฝฎ่ฎพ่ฎกๆ„ๅ›พใ€‚
  • ็—›็‚นไธ‰๏ผšPrompt ๅญคๅฒ›ไธŽ้‡ๅค่ฏ•้”™
    ๅŒไบ‹ A ่Šฑ่ดนๅŠๅคฉๅ‘ AI ็Œ่พ“ไบ†ๅคๆ‚ไธšๅŠก่ง„ๅˆ™ๅนถ่ฐƒไผ˜ๅ‡บๆŽ’้”™ไธŠไธ‹ๆ–‡๏ผ›ๅŒไบ‹ B ๆŽฅๆ‰‹็›ธๅ…ณๆจกๅ—ๆ—ถๅ…ถๆœฌๅœฐ AI ไพ็„ถๅค„ไบŽโ€œๅคฑๅฟ†โ€็Šถๆ€๏ผŒๅช่ƒฝ้‡ๆ–ฐ็ผ–ๅ†™ Prompt ไปŽ้›ถ่ธฉๅ‘๏ผŒ้‡ๅคๆถˆ่€—ๅคง้‡ Token ไธŽๅทฅๆ—ถๅฟƒๆ™บใ€‚
  • ็—›็‚นๅ››๏ผš่Šๅคฉๅทฅๅ…ทๆ‰‹ๅทฅๆฌ่ฟไฝŽๆ•ˆไธ”ๆžๆ˜“ๆณ„ๅฏ†
    ไผ ็ปŸ็š„ๅพฎไฟก/้ฃžไนฆๆˆชๅ›พๆˆ–ๅคงๆฎตๆ–‡ๆœฌๆ‹ท่ด๏ผŒไธไป…ไฟกๆฏ่กฐๅ‡ไธฅ้‡๏ผŒ่€Œไธ”ๆžๆ˜“ๅœจๅ‰ช่ดดๆฟไธญๆ„ๅค–ๆณ„้œฒๆœฌๅœฐๅทฅ็จ‹็ปๅฏน่ทฏๅพ„ใ€็Žฏๅขƒๅ˜้‡็”š่‡ณ Shell ๅ‘ฝไปค่กŒๅฏ†็ ใ€‚

TeamCodex ็š„ๆ ธๅฟƒ่งฃๆณ•๏ผšไปฅโ€œ็œŸๅฎžๅŠจๆ€ไธŠไธ‹ๆ–‡ๅฟซ็…งโ€ๅฝปๅบ•ๅ–ไปฃโ€œ็”ฉไบŒๆ‰‹้™ๆ€ๆ–‡ๆกฃโ€๏ผš
TeamCodex ๅฐ† AI ็š„ๅŠจๆ€ๅคš่ฝฎๆŽจ็†้“พ่ทฏ๏ผˆContext Chain๏ผ‰ ่ฝฌๅŒ–ไธบๅƒ Git Commit ไธ€ๆ ทๅฏๆฒ‰ๆท€ใ€ๅฏ่„ฑๆ•ใ€ๅฏ็ง’็บงๆŽฅๅŠ›็š„ๅ›ข้˜Ÿ็บง่ต„ไบงใ€‚

  • ๅŽŸ็”Ÿๅ†…ๅตŒ๏ผš้€š่ฟ‡ CDP ๅ่ฎฎๆ— ไพตๅ…ฅๆŒ‚่ฝฝๅœจ Codex / ChatGPT ๅฎ˜ๆ–นๅฎขๆˆท็ซฏไพงๆ ๏ผŒไธ็ ดๅๅŽŸ็”Ÿไฝฟ็”จไน ๆƒฏ๏ผ›
  • ไธ€้”ฎ่„ฑๆ•ๅฟซ็…ง๏ผš้šๆ—ถๅฐ†ๅฝ“ๅ‰ไผš่ฏๆ‰“ๅŒ…ไธบ่‡ชๅŠจ่ฟ‡ๆปคๆœฌๅœฐ็งๅฏ†่ทฏๅพ„็š„ๅไฝœๅฟซ็…ง๏ผ›
  • ็ง’็บงไธŠไธ‹ๆ–‡ๅฏน้ฝ๏ผšๅไฝœ่€…ๅœจ่‡ชๅทฑ็”ต่„‘ไธŠไธ€้”ฎ็‚นๅ‡ปใ€ๅฏผๅ…ฅใ€‘๏ผŒๅฎŒๆ•ด็š„ๅคš่ฝฎๆ€่€ƒ่ฟ‡็จ‹ๅณๅˆปๆณจๅ…ฅๅฝ“ๅ‰ๆดปๅŠจๅฏน่ฏ๏ผŒ่ฎฉๅ…จๅ›ข้˜Ÿ็š„ AI ๅง‹็ปˆ่ฟ่กŒๅœจ**ๅฎŒๅ…จ็ปŸไธ€็š„ไบ‹ๅฎžๅŸบๅ‡†้ข๏ผˆSingle Source of Truth๏ผ‰**ไธŠ๏ผŒไปŽๆ นๆบไธŠๆถˆ็ญไผ ่ฏ่ฏฏๅทฎใ€‚

ๆžถๆž„ๆฆ‚่งˆ๏ผš็‹ฌ็ซ‹ไผš่ฏ๏ผŒๅ…ฑไบซๆˆฟ้—ด๏ผŒๅŒๅ‘ๅไฝœ

ๆฏไฝๆˆๅ‘˜ๆ‹ฅๆœ‰ๅฎŒๅ…จ็‹ฌ็ซ‹็š„ๆœฌๅœฐ AI ไผš่ฏ่พน็•Œ๏ผŒๅœจๅŒ็ซฏ้€š่ฟ‡ CDP ๆŒ‚่ฝฝ Team ๅทฅไฝœๅŒบ่ฟžๆŽฅๅŒไธ€ไธช Hubใ€‚ๆˆๅ‘˜้€š่ฟ‡ๅŒไธ€ไธช Hub ไบคๆขๅทฒๅˆ†ไบซ็š„ไผš่ฏๅฟซ็…งไธŽๅไฝœ่ต„ไบง๏ผ›ๆฏไธชไบบ่‡ชไธปๅ†ณๅฎšๆŠŠๅ“ชไบ›ๅ†…ๅฎนๅฏผๅ…ฅ่‡ชๅทฑ็š„ AI ไผš่ฏไธญใ€‚

TeamCodex ๆˆๅ‘˜ๅŒๅ‘ๅไฝœๆžถๆž„๏ผš็‹ฌ็ซ‹ไผš่ฏใ€ๅ…ฑไบซๆˆฟ้—ดใ€HTTP ่ฏทๆฑ‚ไธŽ SSE ๆ›ดๆ–ฐใ€Hub ๆŒไน…ๅŒ–ๅญ˜ๅ‚จไธŽๅฏ้€‰ๆ’ไปถๅ…ฅๅฃ

ๆŒ‰ไธ€ๆฌกๅไฝœๆต่ฝฌๆฅ่ฏปๅ›พ๏ผšๆˆๅ‘˜ A ้€‰ๆ‹ฉไผš่ฏๅนถๅˆ†ไบซ โ†’ Hub ไฟๅญ˜ๅฟซ็…งๅนถๆŽจ้€ๆ›ดๆ–ฐ็ป™ๅŒๆˆฟ้—ดๆˆๅ‘˜ โ†’ ๆˆๅ‘˜ B ๅœจ Team ๅทฅไฝœๅŒบๆŸฅ็œ‹ โ†’ ๆˆๅ‘˜ B ้€‰ๆ‹ฉๆ€งๅฏผๅ…ฅ่‡ชๅทฑ็š„ๆœฌๅœฐ AI ไผš่ฏใ€‚ๅฎžๆ—ถๆŽจ้€็ปไธไผš่‡ชๅŠจๆŠŠๆ‰€ๆœ‰ๅ›ข้˜Ÿๅฏน่ฏๆ— ๅทฎๅˆซๅผบๅกž่ฟ›ๆฏไฝๆˆๅ‘˜็š„็งๆœ‰ AI ไผš่ฏไธญใ€‚

  • ๅฏน็ญ‰ๅŒๅ‘ๅไฝœ๏ผšๆฏไฝๆˆๅ‘˜ๆ—ข่ƒฝๅˆ†ไบซไนŸ่ƒฝๅฏผๅ…ฅ๏ผŒA ไธŽ B ๆ˜ฏๅนณ็ญ‰็š„ๅไฝœ่€…๏ผŒไธ็›ดๆŽฅๅˆๅนถๆœฌๅœฐๅบ•ๅฑ‚็งๅฏ†ไผš่ฏ๏ผ›
  • ไธฅๆ ผ็งๆœ‰่พน็•Œ๏ผšๆœชๅˆ†ไบซ็š„ไผš่ฏไธฅๆ ผไฟ็•™ๅœจๆœฌๆœบ๏ผŒ็ปไธๅ› ไธบๅŠ ๅ…ฅๅ›ข้˜Ÿๆˆฟ้—ด่€Œไบง็”Ÿ้šๅผๅŒๆญฅๆˆ–ๆณ„้œฒ๏ผ›
  • ๅไฝœไธญๆžข Hub๏ผšๆ‰ฟ่ฝฝๅŒๆˆฟ้—ดๅฃไปคไธŽๆˆๅ‘˜ๆƒ้™ใ€ๆถˆๆฏไธŽๅฟซ็…งใ€ๅœจ็บฟ็Šถๆ€ๆ„Ÿ็Ÿฅ๏ผŒไปฅๅŠไปปๅŠก็œ‹ๆฟใ€็Ÿฅ่ฏ†ๅบ“ใ€็ด ๆๅบ“ๅ’Œๅทฅไฝœๆ—ฅๅކ๏ผ›
  • ๆŒไน…ๅŒ–ไธŽๆ’ไปถๅ…ฅๅฃ๏ผšHub ็ปŸไธ€ๅœจๆ‰€ๅœจๆœบๅ™จๆŒไน…ๅŒ–ๅญ˜ๅ‚จๆถˆๆฏใ€ๅฟซ็…งไธŽไธŠไผ ๆ–‡ไปถ๏ผ›ๅฏ้€‰็š„ Codex ๆ’ไปถ๏ผˆSkills / Hook๏ผ‰ๅฏๆŒ‰้œ€่ฏปๅ– Hub ๆ‘˜่ฆๆณจๅ…ฅๅฝ“ๅ‰ไปปๅŠก๏ผ›
  • ๆœฌๆœบไผดไพฃๆŒ‚่ฝฝ๏ผšไผดไพฃ็จ‹ๅบไธŽๆณจๅ…ฅๅ™จ้€š่ฟ‡ CDP ๆŒ‚่ฝฝ Team ๅทฅไฝœๅŒบ๏ผ›CDP ไธๆ˜ฏ่ทจๆœบๅ™จๅไฝœ้€š้“๏ผŒ่ทจๆœบ้€šไฟก็ปŸไธ€็”ฑ่ฝป้‡็บง HTTP API + SSE ๅ่ฎฎๆ‰ฟ่ฝฝใ€‚

ๆŸฅ็œ‹็Ÿข้‡ๅŽŸๅ›พ ยท ้ƒจ็ฝฒ่ฏดๆ˜Ž

็ปดๆŠคๅ›พ็‰‡๏ผš่ฟ่กŒ python3 scripts/generate_architecture_members.py๏ผˆๆˆ– python3 scripts/generate_architecture_diagram.py๏ผ‰๏ผŒไฝฟ็”จ Chrome / Chromium ่‡ชๅŠจ็”Ÿๆˆไธญ่‹ฑๆ–‡็Ÿข้‡ SVG ๅ’Œ 3200 ร— 2240 ้ซ˜ๆธ… PNG๏ผ›ๅฏ้€š่ฟ‡ CHROME_BIN ๆŒ‡ๅฎšๆต่งˆๅ™จ่ทฏๅพ„ใ€‚


ๅฎžๆœบๆผ”็คบ๏ผšๅ…จๆ–ฐๅ…จๆ™ฏๅๅŒๅฎžๆœบๆผ”็คบ (Live Demo)

ไปฅไธ‹ไธบ็œŸๅฎž็Žฏๅขƒไธ‹ Mac ๅฎฟไธปๆœบ ไธŽ Windows 11 ๅๅŒ็ซฏ ็š„ๅ…จๆ–ฐๅ…จๆ™ฏๅŒ่ฏญๅฎžๆœบๆผ”็คบ๏ผˆๅ…จ้•ฟ 80 ็ง’๏ผŒๆถต็›–ๆ–ฐ็‰ˆ็œ‹ๆฟ/็ด ๆๅบ“/ๆƒ้™ๆต่ฝฌๅŠ่ทจ็ซฏ็ง’็บงไธŠไธ‹ๆ–‡ๆณจๅ…ฅ๏ผŒๅทฒๆ้€Ÿๅนถ้…ๆœ‰ๅฎŒๆ•ดๅŒ่ฏญๅญ—ๅน•่งฃ่ฏด๏ผŒ้ซ˜ๆธ…ๅฎŒๆ•ด่ง†้ข‘ๅ‚่ง docs/assets/teamcodex_demo.mp4๏ผ‰๏ผš

TeamCodex ่ทจ็ซฏๅฎžๆ—ถๅๅŒใ€ๅ…จๆ™ฏ็œ‹ๆฟใ€็ด ๆๆต่ฝฌไธŽไธŠไธ‹ๆ–‡ไธ€้”ฎๆณจๅ…ฅๅฎžๆœบๆผ”็คบ

  • ๐Ÿ“‹ 1. ไปปๅŠก็œ‹ๆฟไธŽๆƒ้™ๆต่ฝฌ๏ผšไปปๅŠกๅก็‰‡ๅคš็Šถๆ€๏ผˆๅพ…ๅค„็†ใ€่ฟ›่กŒไธญใ€ๅทฒๅฎŒๆˆ๏ผ‰ๆ‹–ๆ‹ฝๆต่ฝฌ๏ผŒๆˆฟ้—ดๅฃไปคไธŽ่ง’่‰ฒๆƒ้™ๅณๆ—ถ้‰ดๆƒ๏ผŒๅ…จๅ‘˜็Šถๆ€ๆฏซ็ง’็บงๅฎžๆ—ถๅŒๆญฅ๏ผ›
  • ๐Ÿ“ 2. ็ด ๆๅบ“ไธŽๅคšๆ ผๅผ้™„ไปถๅฏผๅ…ฅ๏ผšๆ”ฏๆŒไปฃ็ ใ€ๆ–‡ๆกฃใ€ๅ›พ็‰‡ไธŽๆ–‡ไปถๅคนๅฟซ้€Ÿๆ‹–ๆ‹ฝไธŠไผ ไธŽๅณๆ—ถๅˆ†ๅ‘๏ผŒๆž„ๅปบๅ›ข้˜Ÿ็ปŸไธ€็ ”ๅ‘็‰ฉๆ–™ๆฑ ๏ผ›
  • ๐Ÿš€ 3. Mac ็ซฏไธ€้”ฎ่„ฑๆ•ๅˆ†ไบซ๏ผšๅœจ Codex ๅฎขๆˆท็ซฏไพง่พนๆ ็‚นๅ‡ปใ€ๅˆ†ไบซๅฏน่ฏใ€‘๏ผŒ้€‰ๆ‹ฉไปปๆ„ๆŽ’ๆŸฅๆˆ–ๆ”ปๅšไผš่ฏ๏ผŒไธ€้”ฎ็”Ÿๆˆ่„ฑๆ•ๅฟซ็…งๅนถๅนฟๆ’ญ๏ผ›
  • โšก 4. Windows ็ซฏๆฏซ็ง’็บงๆ„Ÿ็ŸฅไธŽๆ— ๆŸๆŽฅๅŠ›๏ผš่™šๆ‹Ÿๆœบ/่ฟœ็จ‹ๅๅŒ็ซฏ้›ถๅปถ่ฟŸ่‡ชๅŠจไธŠๅฑๆ–ฐๅก็‰‡๏ผŒๅไฝœ่€…ไธ€้”ฎใ€้€‰ๆ‹ฉๅฏน่ฏๅฏผๅ…ฅใ€‘๏ผŒ้€‰ๅฎšๆ€็ปด้“พไธŽไธŠไธ‹ๆ–‡็žฌๆ—ถๆณจๅ…ฅๆ–ฐไผš่ฏ๏ผŒๆ น้™คไบŒๆฌกไผ ่ฏ่ฏฏๅทฎไธŽๆจกๅž‹ๅนป่ง‰ใ€‚

2. ๅฎขๆˆท็ซฏไธ‹่ฝฝไธŽไบคไบ’ไฝ“้ชŒ

ๅ‰ๅพ€ GitHub Releases ๆœ€ๆ–ฐๅ‘ๅธƒ้กต ไธ‹่ฝฝๅฎ˜ๆ–นๅŽŸ็”Ÿๅฎ‰่ฃ…ๅŒ…๏ผš

ๅนณๅฐ ๅฎ‰่ฃ…ๅŒ… ไบคไบ’ๅฝขๆ€ไธŽไฝ“้ชŒ
macOS TeamCodex-macOS.dmg ๆ‹–ๅ…ฅ Applications ๅณๅฏใ€‚็Šถๆ€ๆ ๅ…จ้ขๅ‡็บงไธบ็บฏ็™ฝๅพฎ็Ÿข้‡ๅŒไบ‘ๅๅŒๅ›พๆ ‡๏ผˆTemplate Icon๏ผ‰๏ผŒๅธฆ 1.7pt ่ดŸ็ฉบ้—ด็ซ‹ไฝ“ๅˆ‡็ผไธŽ >_ ็ปˆ็ซฏ้•‚็ฉบ๏ผŒ่‡ช้€‚ๅบ”ๆทฑๆต…ๆจกๅผ๏ผ›็‚นๅ‡ปๅผนๅ‡บๅŽŸ็”Ÿ็ฃจ็ ‚ Mini Dashboard ๆ‚ฌๆตฎๅก็‰‡
Windows TeamCodex-Setup.exe ่ฟ่กŒๅ‘ๅฏผ่‡ชๅŠจ้€‚้… ARM64/AMD64๏ผŒๅธธ้ฉป็ณป็ปŸๆ‰˜็›˜๏ผŒ้™้ป˜ๆŽฅ็ฎกๆ— ้ป‘ๆก†ใ€‚ๅทฆ้”ฎ็‚นๅ‡ปๅผนๅ‡บๅŽŸ็”Ÿๆทฑ่‰ฒๆ‚ฌๆตฎๅก็‰‡๏ผˆๅคฑ็„ฆ/Esc ่‡ชๅŠจๆ”ถ่ตท๏ผ‰๏ผ›ๅณ้”ฎ็‚นๅ‡ปๅผนๅ‡บ็บฏๅ‡€ๅŽŸ็‰ˆไธŠไธ‹ๆ–‡่œๅ•๏ผˆ็‚นๅ‡ปใ€้€€ๅ‡บใ€‘็ง’้€Ÿ้€€ๅ‡บๆ— ๅกๆญป๏ผ‰๏ผ›ๅ…ทๅค‡ๅ…จๅฑ€ๅ•ๅฎžไพ‹ Mutex ไบ’ๆ–ฅ้˜ฒๅŒๅ›พๆ ‡
ๅ…ๅฎ‰่ฃ…ไพฟๆบ็‰ˆ TeamCodex-macOS.zip / TeamCodex-Windows-arm64-amd64.zip ่งฃๅŽ‹ๅณ็”จ๏ผŒ้€‚ๅˆ็งปๅŠจไป‹่ดจๆˆ–ไธฅๆ ผๆƒ้™็Žฏๅขƒ๏ผŒWindows ้™„ๅธฆ ้€€ๅ‡บTeamCodex.cmd ๅบ”ๆ€ฅไธ€้”ฎๆธ…็†ๅทฅๅ…ท
Codex ๅฎ˜ๆ–นๆ’ไปถ TeamCodex-Codex-Plugin.zip ๅฎ˜ๆ–นๆ ‡ๅ‡† Codex ๆ’ไปถๅŒ…ใ€‚่ต‹ไบˆ AI ไธปๅŠจ่ฏปๅ†™็ฉบ้—ด่ƒฝๅŠ›๏ผŒ้›†ๆˆ UserPromptSubmit ่‡ชๅŠจ Hook ๆ‘˜่ฆๆณจๅ…ฅไธŽ้ข„็ฝฎๆŒ‡ไปค

ๆ็คบ๏ผšๅฏๅŠจๅŽๅบ”็”จๅธธ้ฉป็ณป็ปŸๆ‰˜็›˜/็Šถๆ€ๆ ๏ผŒ็‚นๅ‡ปๅณๅฏๅฑ•ๅผ€ Mini Dashboard ๆŽงๅˆถ้ขๆฟ๏ผŒๅ…ทๅค‡๏ผš

  • ็Šถๆ€่‡ชๆฃ€๏ผšๅฎžๆ—ถๆ˜พ็คบ Codex ๆŒ‚่ฝฝ็Šถๆ€๏ผˆ๐ŸŸข ๅทฒๆŒ‚่ฝฝ / ๐ŸŸก ็ญ‰ๅพ…ๆŒ‚่ฝฝ / ๐Ÿ”ด ๆœช่ฟžๆŽฅ๏ผ‰ใ€ไธญๆžขๅœฐๅ€ไธŽๅœจ็บฟๆˆฟ้—ด๏ผ›
  • ไธ€้”ฎๆ“ไฝœ๏ผšๆ”ฏๆŒใ€ๅฏๅŠจๅนถๆŒ‚่ฝฝ Codexใ€‘ใ€ใ€ๅคๅˆถ Smart Tokenใ€‘ใ€ใ€ๅˆ‡ๆขไธญๆžขๅœฐๅ€ใ€‘ไธŽใ€้‡ๅฏๆณจๅ…ฅใ€‘๏ผ›
  • ๆ— ๆ„Ÿ็ƒญๆ›ดไธŽ็‰ˆๆœฌๆฃ€ๆต‹๏ผš่‡ชๅŠจๆ‹‰ๅ–ๆœ€ๆ–ฐไพงๆ ๆณจๅ…ฅ่„šๆœฌ๏ผŒๆฃ€ๆต‹ๅˆฐๅบ•ๅฑ‚ๆ–ฐ็‰ˆๆœฌๆ—ถๆ”ฏๆŒไธ€้”ฎไธ‹่ฝฝ๏ผ›
  • ไผ˜้›…้€€ๅ‡บ๏ผšๅณ้”ฎ่œๅ•ๆไพ›็บฏๅ‡€้€€ๅ‡บ้€‰้กน๏ผŒ็ณป็ปŸ็บงๅผบๆ€ๅฝปๅบ•ๆถˆ็ญๅŽๅฐๅญค็ซ‹่ฟ›็จ‹ใ€‚

3. ้ƒจ็ฝฒๆ–นๆกˆไธŽ็ฝ‘็ปœๆ‹“ๆ‰‘

ไธญๆžขๆœๅŠก๏ผˆHub๏ผ‰ๆ”ฏๆŒไปŽๆœฌๅœฐๅ•ๆœบๅˆฐ็งๆœ‰ไบ‘็š„ไธ‰็ง่ฟ่กŒๆจกๅผ๏ผš

ๆจกๅผ ่ฟ่กŒไฝ็ฝฎ ๅฎขๆˆท็ซฏๆŽฅๅ…ฅๆ–นๅผ ้€‚็”จๅœบๆ™ฏ
ๅ•ๆœบ่ทจ็ซฏ๏ผˆ้ป˜่ฎค๏ผ‰ Mac ๅฎฟไธปๆœบๅŽๅฐ้™้ป˜่‡ชๅฏ Windows ่™šๆ‹Ÿๆœบ่‡ชๅŠจๆŽขๆต‹ๅฎฟไธปๆœบ IP ็›ด่ฟž Mac + Win ่™šๆ‹Ÿๆœบๆœฌๅœฐๅผ€ๅ‘๏ผˆ้›ถ้…็ฝฎ๏ผ‰
ๅฑ€ๅŸŸ็ฝ‘ๅๅŒ ๅŠžๅ…ฌๅฎคๅ†…ๅธธๅผ€ PC / Mac / NAS ๅกซๅ…ฅ่ฏฅไธปๆœบๅฑ€ๅŸŸ็ฝ‘ IP ๆˆ–็ฒ˜่ดด Smart Token 5 ~ 30 ไบบๅŒๅ†…็ฝ‘/ๅŒ Wi-Fi ็ ”ๅ‘ๅฐ็ป„
ไบ‘็ซฏๅ…ฌ็ฝ‘้ƒจ็ฝฒ Linux ไบ‘ๆœๅŠกๅ™จ (VPS) ็ป‘ๅฎšๅŸŸๅๅนถ้€š่ฟ‡ Nginx HTTPS ๅไปฃๆŽฅๅ…ฅ ่ทจๅœฐๅŸŸใ€่ฟœ็จ‹ๅŠžๅ…ฌ็š„ๅˆ†ๅธƒๅผๅ›ข้˜Ÿ

4. ไธญๆžขๆž้€Ÿ้ƒจ็ฝฒ๏ผˆๅฑ€ๅŸŸ็ฝ‘ / ไบ‘็ซฏ๏ผ‰

้€‰้กน A๏ผšไธ€่กŒๅ‘ฝไปค่‡ชๅŠจๅŒ–้ƒจ็ฝฒ๏ผˆๆŽจ่ๆœๅŠกๅ™จไฝฟ็”จ๏ผ‰

curl -fsSL https://raw.githubusercontent.com/we1jia/TeamCodex/main/scripts/deploy-hub.sh | bash

่„šๆœฌๆ™บ่ƒฝๆŽขๆต‹็ณป็ปŸ็ŽฏๅขƒไธŽๆƒ้™๏ผšไผ˜ๅ…ˆ้€š่ฟ‡ Docker ๅฎนๅ™จๅŒ–ๅฏๅŠจ๏ผ›ๆ—  Docker ๆƒ้™ๆ—ถ่‡ชๅŠจ้™็บง้‡‡็”จๅŽŸ็”Ÿ Node.js๏ผˆ้›ถ npm ไพ่ต–๏ผŒๆฏซ็ง’็บงๅฏๅŠจ๏ผ‰๏ผŒ่‡ชๅŠจๆณจๅ†Œ Systemdใ€PM2 ๆˆ– Crontab ๅผ€ๆœบ่‡ชๅฏๅฎˆๆŠค๏ผŒๅนถๆ‰ง่กŒๆŽฅๅฃ่‡ชๆฃ€ใ€‚

้€‰้กน B๏ผšไธ€้”ฎๅ‘็ป™็ปˆ็ซฏ AI Agent ็š„้ƒจ็ฝฒๆ็คบ่ฏ

ไฝฟ็”จ Claude Codeใ€Codexใ€Cursorใ€OpenClaw ็ญ‰็ปˆ็ซฏ AI ่ฟ็ปดๆœๅŠกๅ™จๆ—ถ๏ผŒ็›ดๆŽฅๅคๅˆถไปฅไธ‹ๆ็คบ่ฏๅ‘้€๏ผš

่ฏทๅธฎๆˆ‘ๅœจๅฝ“ๅ‰ๆœๅŠกๅ™จ้ƒจ็ฝฒ TeamCodex Hub ไธญๆžขๆœๅŠก๏ผš
1. ๆฃ€ๆŸฅๆœๅŠกๅ™จ็Žฏๅขƒ๏ผš้œ€ๅ…ทๅค‡ Docker ๆˆ– Node.js >= 18๏ผˆHub ๆ˜ฏ็บฏๅŽŸ็”Ÿ Node.js ๅฎž็Žฐ๏ผŒ้›ถ npm ไพ่ต–๏ผ‰๏ผ›
2. ๅ‡†ๅค‡ไปฃ็ ็›ฎๅฝ•๏ผš่‹ฅๆ˜ฏ root ็”จๆˆทๅ…‹้š†่‡ณ /opt/TeamCodex๏ผŒ่‹ฅๆ˜ฏๆ™ฎ้€š็”จๆˆทๅ…‹้š†่‡ณ ~/TeamCodex๏ผˆ่‹ฅๅทฒๅญ˜ๅœจๅˆ™ git pull๏ผ‰๏ผ›
3. ๅฏๅŠจไธญๆžขๆœๅŠก๏ผš
   - ่‹ฅๅ…ทๅค‡ Docker ๅฎˆๆŠค่ฟ›็จ‹ๆƒ้™๏ผŒๆ‰ง่กŒ docker compose up -d๏ผ›
   - ่‹ฅๆ—  Docker ๆƒ้™๏ผŒ็›ดๆŽฅ่ฟ่กŒ node server/dev_host.mjs๏ผˆๅฏไฝฟ็”จ pm2 ๆˆ– nohup ๅฎˆๆŠค๏ผŒๅนถ้…็ฝฎๅผ€ๆœบ่‡ชๅฏ๏ผ‰๏ผ›
4. ็ฝ‘็ปœไธŽ็ซฏๅฃ๏ผšๆœๅŠก้ป˜่ฎค็›‘ๅฌ 0.0.0.0:18765๏ผ›่‹ฅๆ˜ฏไบ‘ๆœๅŠกๅ™จ็›ด่ฟž่ฏท็กฎไฟๅฎ‰ๅ…จ็ป„ๆ”พ่กŒ 18765 ็ซฏๅฃ๏ผ›
5. ้ชŒ่ฏๅฅๅบทๅบฆ๏ผšๆ‰ง่กŒ curl http://127.0.0.1:18765/api/health ็กฎไฟ่ฟ”ๅ›ž {"ok":true}๏ผ›
6. ่‹ฅๆœ‰ Nginx ๅไปฃ๏ผšไปฃ็†่‡ณ http://127.0.0.1:18765๏ผŒ้…็ฝฎไธญๅฟ…้กปๅŒ…ๅซ proxy_buffering off; ไปฅไฟ่ฏ SSE ๆตๅผๆŽจ้€ๆญฃๅธธ๏ผ›
7. ่พ“ๅ‡บๆœฌๆœบ็š„่ฎฟ้—ฎๅœฐๅ€๏ผˆๅ†…็ฝ‘/Tailscale/ๅ…ฌ็ฝ‘๏ผ‰ไธŽ็ณป็ปŸ้ป˜่ฎค็ฉบ้—ดๅฃไปค๏ผˆๅฆ‚ Hub: http://<IP>:18765 | Room: Media๏ผ‰ใ€‚

ๅฎŒๆ•ดๅ‚ๆ•ฐ่กจใ€Docker ็ผ–ๆŽ’้…็ฝฎไธŽ Nginx SSL ๆจกๆฟๅ‚่ง๏ผšไธญๆžข้ƒจ็ฝฒไธŽ็ฝ‘็ปœๆŽฅๅ…ฅๅ…จๆ™ฏๆŒ‡ๅ— (docs/HUB_DEPLOYMENT.md)ใ€‚


5. ๆ ธๅฟƒ็‰นๆ€ง

  • ๅ…จๅŠŸ่ƒฝๅ›ข้˜ŸๅทฅไฝœๅŒบ๏ผˆ็œ‹ๆฟ / ็Ÿฅ่ฏ†ๅบ“ / ็ด ๆๅบ“ / ๆ—ฅๅކ๏ผ‰๏ผšๅŽŸ็”Ÿๆ— ็ผ้›†ๆˆไปปๅŠกๅ››ๆ€็œ‹ๆฟใ€้—ญ็Žฏๅฎกๆ ธๆต่ฝฌใ€็Ÿฅ่ฏ†ๅบ“ๅ…จๆ–‡ๆฃ€็ดขใ€SHA-256 ๅ†…ๅฎนๅฏปๅ€็ด ๆๅบ“ไธŽๅทฅไฝœๆ—ฅๅކ๏ผŒ่ฎฉ AI ไผš่ฏไธŽๅทฅ็จ‹็ ”ๅ‘็”Ÿๅ‘ฝๅ‘จๆœŸ็ดงๅฏ†้—ญ็Žฏใ€‚
  • ๅŽŸ็”Ÿๅ†…ๅตŒไธŽ่œๅ•ๆ ไผดไพฃ๏ผšๅŸบไบŽ CDP ๅŠจๆ€ๆŒ‚่ฝฝไพงๆ ๏ผŒ้…ๅฅ— macOS ่œๅ•ๆ  / Windows ๆ‰˜็›˜ๆž็ฎ€ Mini Dashboard๏ผŒไธๆŠขๅ ไธปๅทฅไฝœๅŒบใ€‚
  • ๅ…้‡่ฃ…ๅŒ่ฝจ็ƒญๆ›ดๆ–ฐ๏ผš่ฟž้›†ไธญ Hub ๆ—ถ๏ผŒไพงๆ ๆณจๅ…ฅ่„šๆœฌๅฏๅŠจๆ—ถ่‡ชๅŠจๅŠจๆ€ไธ‹ๅ‘ๅนถ็ผ“ๅญ˜็”Ÿๆ•ˆ๏ผŒ90% ็š„ๆ—ฅๅธธ่ฟญไปฃๅ…ไธ‹่ฝฝๆ–ฐๅŒ…๏ผ›ๅบ•ๅฑ‚ๅค–ๅฃณ็›ด้€š Releases ๆฃ€ๆŸฅใ€‚
  • ้ซ˜ไบฎ็”Ÿๅ‘ฝๅ‘จๆœŸไบ’ๆ–ฅ๏ผšๅ…จๅฑๅไฝœไธŽๅŽŸ็”Ÿไผš่ฏไฟๆŒๅ•้€‰้ซ˜ไบฎ๏ผŒๅˆ‡ๅ›žๅކๅฒๅฏน่ฏ 100% ๆขๅคๅŽŸ็”Ÿ้ซ˜ไบฎใ€‚
  • ่ทจๅนณๅฐๅคš็ซฏ่ฏ†ๅˆซไธŽๅฟƒ่ทณไฟๆดป๏ผš่‡ชๅŠจๆŽขๆต‹็ฝ‘็ปœไธŽๆ“ไฝœ็ณป็ปŸ๏ผŒๆ™บ่ƒฝๅŒบๅˆ† Mac ไธŽ Win ่ฎพๅค‡่บซไปฝ๏ผŒๆ”ฏๆŒๅœจ็บฟๅŒๅๅŽป้‡ไธŽๆดป่ทƒๅˆ—่กจๅŠจๆ€ๅนฟๆ’ญใ€‚
  • ่„ฑๆ•ๅฟซ็…งไธŽไธŠไธ‹ๆ–‡ๆŽฅๅŠ›๏ผšไธ€้”ฎๆ‰“ๅŒ…ไผš่ฏๅนถๅ‰”้™คๆœฌๅœฐ่ทฏๅพ„ไธŽ Shell ๅ‘ฝไปค๏ผŒๅไฝœ่€…ๅฏไธ€้”ฎๅฏผๅ…ฅๅฝ“ๅ‰ๆดปๅŠจๅฏน่ฏใ€‚
  • ๆ™บ่ƒฝๅๅŒๅฃไปค (Smart Token)๏ผšๆ”ฏๆŒๅฝขๅฆ‚ Hub: <URL> | Room: <Name> | Key: <Password> ็š„ๅ•่กŒๅฃไปค็ง’็บงๅŠ ๅ…ฅไธŽ้ขๆฟๅฟซๆทๅคๅˆถใ€‚

6. Codex ๅฎ˜ๆ–นๅŽŸ็”Ÿๆ’ไปถไธŽ AI ๅๅŒ่ต‹่ƒฝ (Plugin / Skills / Hooks)

้™คไบ†ไพ›ไบบ็ฑปๅผ€ๅ‘่€…ไบคไบ’็š„ๅทฆไพงๆ ๅทฅไฝœๅฐไธŽ็ณป็ปŸๆ‰˜็›˜ไผดไพฃๅค–๏ผŒTeamCodex ๆทฑๅบฆ้›†ๆˆไบ† Codex ๅฎ˜ๆ–นๆ ‡ๅ‡†ๆ’ไปถไฝ“็ณป๏ผˆๅŒ…ๅซ .codex-plugin/plugin.json ๆธ…ๅ•ใ€skills/ ่ฏญไน‰ๆŠ€่ƒฝไธŽ hooks/ ็”Ÿๅ‘ฝๅ‘จๆœŸๆ‹ฆๆˆชๅ™จ๏ผ‰ใ€‚

Team Codex ๅฎ˜ๆ–นๆ’ไปถ่ฏฆๆƒ…ไธŽ่‡ช็„ถ่ฏญ่จ€ไบคไบ’

ๅŒๆ ธๅๅŒๅˆ†ๅทฅไฝ“็ณป

  • ๅทฆไพงๆ  Team Tab๏ผˆไบบ็ฑป็œ‹ๆฟ๏ผ‰๏ผš็ป™ๅทฅ็จ‹ๅธˆไฝฟ็”จใ€‚ๆไพ›ๆฒ‰ๆตธๅผๅ…จๅฑ็พค่Šใ€ๅœจ็บฟๆˆๅ‘˜ๅคดๅƒใ€ๅคšๆˆฟ้—ดๅˆ‡ๆขใ€ๅฟซ็…งๆ—ถ้—ด็บฟๆต่งˆไธŽๆ‰‹ๅŠจไธ€้”ฎๅฏผๅ…ฅ๏ผ›
  • Team Codex ๆ’ไปถ๏ผˆAI ๆ‰‹่„šไธŽ่€ณๆœต๏ผ‰๏ผš็ป™ๅฝ“ๅ‰ไผš่ฏไธญ็š„ AI ๅŠฉๆ‰‹ไฝฟ็”จใ€‚่ต‹ไบˆ Codex ่ฏปๅ†™ๅ›ข้˜Ÿ็ฉบ้—ดใ€ๆ็‚ผ่ฎจ่ฎบๆ‘˜่ฆใ€่‡ชๅŠจๅŒๆญฅไธŠไธ‹ๆ–‡็š„ Tool ่ƒฝๅŠ›๏ผŒๅผ€ๅ‘่€…ๆ— ้œ€ๅˆ‡ๅฑ๏ผŒ็”จ่‡ช็„ถ่ฏญ่จ€ๅณๅฏๆŒ‡ๆŒฅ AI ๅๅŒใ€‚

1) ๅ…ญๅคง่‡ช็„ถ่ฏญ่จ€้ข„็ฝฎๆŒ‡ไปค (Preset Prompts)

ๅœจ Codex ๅฏน่ฏๆก†ไธญ็›ดๆŽฅ่พ“ๅ…ฅๆˆ–็‚นๅ‡ปๆฐ”ๆณก๏ผš

  • ๆ‰“ๅผ€ Team Codex ๅ›ข้˜Ÿๅไฝœ็ฉบ้—ดใ€‚
    ๐Ÿ‘‰ ่ฐƒ่ตทๅๅŒไธญๆžขไธŽๆœฌๅœฐๆŽงๅˆถๅฐ๏ผŒๅผ•ๅฏผ่š็„ฆๅทฆไพงๆ  Team ้ขๆฟ๏ผ›
  • ่ฏปๅ–ๅฝ“ๅ‰ๅ›ข้˜Ÿ็ฉบ้—ด็š„่ฎจ่ฎบๆ‘˜่ฆใ€‚
    ๐Ÿ‘‰ ่‡ชๅŠจ่ฐƒ็”จ API ่Žทๅ–ๅ›ข้˜Ÿๅฝ“ๅ‰็ฉบ้—ด็š„ๆˆๅ‘˜ๅ…ฑ่ฏ†ใ€ๆžถๆž„ๆ–นๆกˆ็‰ˆๆœฌไธŽๅ…ณ้”ฎๆ„่ง๏ผŒๆ— ็ผๆณจๅ…ฅๅฝ“ๅ‰ไปปๅŠก๏ผ›
  • ๆŸฅ็œ‹ๅฝ“ๅ‰ๅ›ข้˜Ÿ็ฉบ้—ด็š„ไปปๅŠก็œ‹ๆฟๅ’Œๆˆๅ‘˜่ฟ›ๅบฆใ€‚ ๐Ÿ‘‰ ๆฑ‡ๆ€ปๅ››ๆ€ไปปๅŠกใ€่ดŸ่ดฃไบบใ€ๅฎกๆ ธไบบใ€้˜ปๅกžๅŽŸๅ› ไธŽๅทฅไฝœๆ—ฅๅކๅฎ‰ๆŽ’๏ผ›
  • ๆœ็ดขๅฝ“ๅ‰ๅ›ข้˜Ÿ็ฉบ้—ด็š„็Ÿฅ่ฏ†ๅบ“ๅ’Œ็ด ๆๅบ“ใ€‚ ๐Ÿ‘‰ ๅชๆฃ€็ดขๅฝ“ๅ‰ๆˆๅ‘˜ๆœ‰ๆƒ่ฎฟ้—ฎ็š„่ต„ๆ–™ไธŽ็ด ๆ๏ผŒไธ่‡ชๅŠจ่ฏปๅ–็งไบบ่ต„ๆ–™๏ผ›
  • ๆŠŠ้€‰ๅฎš็š„ไปปๅŠกๅ’Œ่ต„ๆ–™ๅผ•็”จๅˆฐๅฝ“ๅ‰ Codex ๅฏน่ฏใ€‚ ๐Ÿ‘‰ ็”Ÿๆˆๅธฆๆฅๆบ IDใ€็‰ˆๆœฌๅ’Œ่ฏปๅ–ๆ—ถ้—ด็š„ๅฏ่ฟฝๆบฏ่‰็จฟ๏ผŒ็กฎ่ฎคๅŽๆ”พๅ…ฅ Team ่พ“ๅ…ฅๆก†๏ผŒไธ่‡ชๅŠจๅ‘้€๏ผ›
  • ๆŠŠๅฝ“ๅ‰ Codex ๅฏน่ฏๅˆ†ไบซๅˆฐๅ›ข้˜Ÿ็ฉบ้—ดใ€‚
    ๐Ÿ‘‰ ่‡ชๅŠจๆ‰“ๅŒ…ๅฝ“ๅ‰ๅคš่ฝฎๆŽจ็†้“พๆก๏ผŒๅ‰”้™คๆœฌๅœฐๆ•ๆ„Ÿ่ทฏๅพ„ๅŽๅนฟๆ’ญ่‡ณๅ›ข้˜Ÿไธญๆžขใ€‚

2) UserPromptSubmit Hook ่‡ชๅŠจๅŒ–ไธŠไธ‹ๆ–‡ๆณจๅ…ฅๆœบๅˆถ

  • ๆ้—ฎๅ‰้™้ป˜ๆŽขๆต‹๏ผšๅœจ็”จๆˆทๆฏๆฌกๅ‘ Codex ๆไบคไปฃ็ ้—ฎ้ข˜ๅ‰๏ผŒHook ๅœจ 1200ms ๅ†…้™้ป˜่ฏทๆฑ‚ http://127.0.0.1:18765/api/compact.txt๏ผ›
  • ๆฏซ็ง’็บงไธŠไธ‹ๆ–‡ๆณจๅ…ฅ๏ผš่‡ชๅŠจๆๅ–ๅ›ข้˜Ÿๆœ€ๆ–ฐๅ†ณ็ญ–ไธŽๆˆๅ‘˜ๅ˜ๆ›ด๏ผŒไฝœไธบ additionalContext ้šๅผ้™„ๅธฆๅœจๆ็คบ่ฏไธญ๏ผŒ่ฎฉ AI ็š„ๅ›ž็ญ”ๅง‹็ปˆๅปบ็ซ‹ๅœจๅ…จๅ›ข้˜Ÿๆœ€ๆ–ฐ็š„ๅ…ฑ่ฏ†ไน‹ไธŠ๏ผ›
  • ้ซ˜ๅฏ็”จไธŽ้›ถ้˜ปๅกž๏ผš่‹ฅๆœฌๅœฐๆˆ–ๅฑ€ๅŸŸ็ฝ‘ไธญๆžขๆš‚ๆ—ถๆœชๅฏๅŠจๆˆ–ๅ‘็”Ÿ่ถ…ๆ—ถ๏ผŒHook 0 ๆฏซ็ง’้™้ป˜่ทณ่ฟ‡๏ผŒ็ปไธ้˜ปๅกžๅผ€ๅ‘่€…็š„ๆ—ฅๅธธ็ผ–็ ใ€‚
  • ๆ˜พๅผๅทฅไฝœๅŒบๆŸฅ่ฏข๏ผš็œ‹ๆฟใ€็Ÿฅ่ฏ†ๅบ“ๅ’Œ็ด ๆๅบ“ไธ่ขซ Hook ้™้ป˜ๆณจๅ…ฅ๏ผ›ๅชๆœ‰็”จๆˆทๆ˜Ž็กฎๆŸฅ่ฏขๆˆ–้€‰ๆ‹ฉๅผ•็”จๆ—ถ๏ผŒๆ’ไปถๆ‰่ฏปๅ–ๅฏนๅบ”ๅทฅไฝœๅŒบๆ•ฐๆฎใ€‚

3) ๆ’ไปถๅฎ‰่ฃ…ไธŽๅฏ็”จๆ–นๅผ

  • ๆบ็ ๅฎ‰่ฃ…๏ผˆๆŽจ่ๅผ€ๅ‘่€…๏ผ‰๏ผšๅœจ็ปˆ็ซฏๆ‰ง่กŒ๏ผš
    codex plugin add /path/to/TeamCodex
  • ็ฆป็บฟๅฏผๅ…ฅ๏ผšไปŽ GitHub Releases ไธ‹่ฝฝ TeamCodex-Codex-Plugin.zip ๅนถๅœจ Codex ๆ’ไปถ็ฎก็†็•Œ้ข็‚นๅ‡ปๅฏผๅ…ฅ๏ผ›
  • ็•Œ้ขๅผ€ๅฏ๏ผšๅœจ Codex ๅฎขๆˆท็ซฏๅทฆไพงๅฏผ่ˆช่ฟ›ๅ…ฅใ€ๆ’ไปถใ€‘-> ๆ‰พๅˆฐใ€Team Codexใ€‘-> ๅผ€ๅฏๅณไธŠ่ง’็ดซ่‰ฒ Toggle ๅผ€ๅ…ณๅณๅฏใ€‚

7. ๅ›ข้˜Ÿๅ…จๅŠŸ่ƒฝๅทฅไฝœๅŒบ๏ผš็œ‹ๆฟใ€็Ÿฅ่ฏ†ๅบ“ใ€็ด ๆๅบ“ไธŽๅทฅไฝœๆ—ฅๅކ (Workspace)

TeamCodex ไธไป…ๅฎž็Žฐไบ†ไผš่ฏไธŠไธ‹ๆ–‡็š„ๅฎžๆ—ถๆŽฅๅŠ›๏ผŒๆ›ดๅœจๅฎขๆˆท็ซฏๅ†…ๅŽŸ็”Ÿๆ‰“้€ ไบ†ๅ›ด็ป• AI ็ ”ๅ‘ๅ…จ็”Ÿๅ‘ฝๅ‘จๆœŸ็š„่ฝป้‡็บงๅ›ข้˜ŸๅทฅไฝœๅŒบ๏ผŒๅ‘Šๅˆซ็ขŽ็‰‡ๅŒ–็š„่Šๅคฉ่ฎฐๅฝ•๏ผŒ่ฎฉๆฏไธ€ๆฌกๆŠ€ๆœฏๅ†ณ็ญ–ใ€่ต„ๆ–™ๆฒ‰ๆท€ไธŽไปปๅŠกไบคไป˜้ƒฝๆœ‰ๆฎๅฏๆŸฅใ€‚

TeamCodex ไปปๅŠก็œ‹ๆฟ๏ผˆๆทฑ่‰ฒๆจกๅผ๏ผ‰ TeamCodex ๅทฅไฝœๆ—ฅๅކ๏ผˆๆต…่‰ฒๆจกๅผ๏ผ‰

TeamCodex ๅŽŸ็”Ÿๅฎขๆˆท็ซฏไพงๆ ้›†ๆˆ๏ผˆWindows ๆต…่‰ฒ๏ผ‰

1) ๆ•ๆทไปปๅŠก็œ‹ๆฟไธŽ้—ญ็Žฏๅฎกๆ ธๆต (Kanban & Review Flow)

  • ๅ››ๆ€็œ‹ๆฟๆต่ฝฌ๏ผšๆธ…ๆ™ฐๅˆ’ๅˆ†ไธบใ€ๅพ…ๅผ€ๅง‹ใ€‘ใ€ใ€่ฟ›่กŒไธญใ€‘ใ€ใ€็ญ‰ๅพ…ๅฎกๆ ธใ€‘ไธŽใ€ๅทฒๅฎŒๆˆใ€‘ๅ››ๅคงๆต่ฝฌ้˜ถๆฎต๏ผ›
  • ๅ…จ็ปดๅบฆไปปๅŠกๅ…ƒๆ•ฐๆฎ๏ผšๆ”ฏๆŒๆŒ‡ๆดพไธป่ฆ่ดŸ่ดฃไบบใ€ๅไฝœ่€…๏ผˆๆ”ฏๆŒ่ทจ็ซฏๅคš้€‰๏ผŒๅฆ‚ๅŒๆ—ถๆŒ‡ๆดพ weijia(Mac) ไธŽ weijia(Win)๏ผ‰ใ€ไธ“ๅฑžๅฎกๆ ธไบบ๏ผ›็ฒพ็กฎ่ฎฐๅฝ•่ตทๆญขๆ—ฅๆœŸใ€ๅฎกๆ ธๆ—ฅๆœŸใ€ไผ˜ๅ…ˆ็บงใ€้˜ปๅกžๅŽŸๅ› ใ€้ชŒๆ”ถ่ฆๆฑ‚ไธŽไบคไป˜่ฏดๆ˜Ž๏ผ›
  • ไธฅ่ฐจ้—ญ็Žฏๅฎกๆ ธๆœบๅˆถ๏ผšๆไบคๅฎกๆ ธๅฟ…้กปๆŒ‡ๅฎšๅฎกๆ ธไบบๅนถๅกซๅ†™ไบคไป˜ไบง็‰ฉ่ฏดๆ˜Ž๏ผ›ไป…ๆŒ‡ๅฎšๅฎกๆ ธไบบๅ…ทๅค‡ใ€้€š่ฟ‡ใ€‘ๆˆ–ใ€้€€ๅ›žใ€‘ๆƒ้™๏ผŒ้€€ๅ›žๅฟ…้กปๆณจๆ˜Žๅ…ทไฝ“ๅŽŸๅ› ๏ผŒๅฎกๆ ธไธญ็Šถๆ€้”ๅฎšไปฅ้˜ฒ็ฏกๆ”นใ€‚

2) ็ปŸไธ€็Ÿฅ่ฏ†ๅบ“ไธŽ็ด ๆๅบ“ (Knowledge Base & Asset Library)

  • ๅคšๆ ผๅผ่ต„ๆ–™็บณ็ฎก๏ผšๆ”ฏๆŒ Markdown ๆ–‡ๆกฃ็ผ–ๅ†™ใ€ไปฃ็ ็‰‡ๆฎตๅŠๅ„็ฑป้™„ไปถไธŠไผ ๏ผˆๅ•ๆ–‡ไปถไธŠ้™ 10MB๏ผŒๆญฃๆ–‡ๅ…จๆ–‡็ดขๅผ•่พพ 20 ไธ‡ๅญ—็ฌฆ๏ผ‰๏ผŒๆ”ฏๆŒๅ…จๆ–‡ๅฟซ้€Ÿๆฃ€็ดขไธŽๅˆ†็ฑป/ๆ ‡็ญพ่ฟ‡ๆปค๏ผ›
  • ็ป†็ฒ’ๅบฆๆƒ้™ๆŽงๅˆถ๏ผš่ต„ๆ–™ๆ”ฏๆŒใ€ไป…ๆˆ‘ๅฏ่งใ€‘๏ผˆ็งไบบ่ต„ๆ–™๏ผ‰ไธŽใ€ๅฝ“ๅ‰้กน็›ฎๅ…ฑไบซใ€‘ไธ€้”ฎๅˆ‡ๆข๏ผ›็งไบบ่ต„ๆ–™ๅ—ไธฅๆ ผ้‰ดๆƒไฟๆŠค๏ผŒ็ปไธ่ฟ›ๅ…ฅๅ…ฌๅผ€ๅนฟๆ’ญไธŽๆ—ง่Šๅคฉๅฟซ็…ง๏ผ›
  • SHA-256 ๅ†…ๅฎนๅฏปๅ€ๅค็”จ๏ผš็ด ๆๅบ“ไธŽ็Ÿฅ่ฏ†ๅบ“ๅ…ฑ็”จ่ต„ๆ–™ๅบ•ๅบง๏ผŒ็›ธๅŒๅ†…ๅฎนๆ–‡ไปถๆŒ‰ SHA-256 ๆ‘˜่ฆ็ง’็บงๅŽป้‡ๅค็”จ๏ผŒๆไพ›ๅฎ‰ๅ…จ็š„ๅ›พ็‰‡ๅฐฑๅœฐ้ข„่งˆไธŽๅŽŸๆ–‡ไปถไธ‹่ฝฝใ€‚

3) ๅคšๆˆๅ‘˜ๅทฅไฝœๆ—ฅๅކ (Work Calendar)

  • ๆ—ฅ็จ‹ๅ…จๆ™ฏ็œ‹ๆฟ๏ผšๆ นๆฎๆˆๅ‘˜็‹ฌ็ซ‹้…็ฝฎ็š„ๆ—ถๅŒบใ€ๅทฅไฝœๆ—ฅไธŽไธๅฏ็”จๆ—ฅๆœŸ่‡ชๅŠจๅ‘ˆ็Žฐๆ‰ง่กŒไธŽๅฎกๆ ธๅฎ‰ๆŽ’๏ผ›
  • ๆŽ’ๆœŸๆ™บ่ƒฝ้ข„่ญฆ๏ผšๆธ…ๆ™ฐๆ ‡่ฏ†้žๅทฅไฝœๆ—ฅๆ้†’ใ€้€พๆœŸไปปๅŠกๅ‘Š่ญฆไปฅๅŠๅพ…ๆŽ’ๆœŸไปปๅŠกๆธ…ๅ•๏ผŒ้ฟๅ…ๅทฅๆœŸๅปถ่ฏฏใ€‚

4) ๅฏน่ฏไธŠไธ‹ๆ–‡็ฒพๅ‡†ๅผ•็”จ (Context Citation)

  • ๅฎ‰ๅ…จ็ป“ๆž„ๅŒ–ๅผ•็”จ๏ผšๅœจ Team ๅฏน่ฏไธญๅฏไธ€้”ฎ้€‰ๆ‹ฉไปปๅŠกๆˆ–ๅทฒๅ…ฑไบซ่ต„ๆ–™๏ผŒ็”ŸๆˆๅŒ…ๅซๆฅๆบ IDใ€็‰ˆๆœฌไธŽๅฟซ็…ง่ฏปๅ–ๆ—ถ้—ด็š„็ป“ๆž„ๅŒ–ไธŠไธ‹ๆ–‡๏ผ›
  • ไบบ็ฑปๆœ€็ปˆๆŠŠๅ…ณ๏ผš็กฎ่ฎคๅŽไป…ๅกซๅ…ฅ่พ“ๅ…ฅๆก†ไพ›ๅฎกๆŸฅไฟฎๆ”น๏ผŒ็ปไธ่‡ชๅŠจ็›ฒๅ‘ๆˆ–่ถŠๆƒๆ‰ง่กŒๆŒ‡ไปค๏ผŒ็กฎไฟๅฎ‰ๅ…จๅฏๆŽงใ€‚

8. ไป“ๅบ“็ป“ๆž„

ๆŽจ้€ main ๅŽไผš่‡ชๅŠจๆต‹่ฏ•ใ€้€’ๅขž็‰ˆๆœฌใ€ๆ‰“ๅŒ…ๅนถๅ‘ๅธƒ GitHub Release๏ผ›ๆ™ฎ้€šๅˆ†ๆ”ฏๅ’Œ PR ๅช่ฟ่กŒๆฃ€ๆŸฅใ€‚่ฏฆ่ง่‡ชๅŠจๅ‘ๅธƒๆต็จ‹ใ€‚

TeamCodex/
โ”œโ”€โ”€ .codex-plugin/              # ๅฎ˜ๆ–น Codex ๆ’ไปถๆธ…ๅ•ไธŽๅ…ƒๆ•ฐๆฎ (plugin.json)
โ”œโ”€โ”€ hooks/                      # ๆ้—ฎๅ‰่‡ชๅŠจไธŠไธ‹ๆ–‡ๆณจๅ…ฅ้’ฉๅญ (UserPromptSubmit)
โ”œโ”€โ”€ skills/                     # ่ฏญไน‰ๅŒ–ๆŠ€่ƒฝๆŒ‡ไปคๅฎšไน‰ (skills/team-codex/SKILL.md)
โ”œโ”€โ”€ assets/                     # ๆ’ไปถไธŽๅฎขๆˆท็ซฏๅ›พๆ ‡ใ€Logo ๅŠ็•Œ้ขๆ’ๅ›พ
โ”œโ”€โ”€ inject/                     # CDP ๅฎขๆˆท็ซฏไพงๆณจๅ…ฅๅฑ‚ใ€Web Component ไธŽๅ…จๅฑๅไฝœ UI
โ”‚   โ”œโ”€โ”€ sidebar_fullscreen.js   # ไพงๆ ๅตŒๅ…ฅใ€ๅฟซ็…ง่„ฑๆ•ไธŽๅๅŒ็Šถๆ€ๆœบ
โ”‚   โ”œโ”€โ”€ workspace.js            # ๅทฅไฝœๅŒบ๏ผˆ็œ‹ๆฟ/็Ÿฅ่ฏ†ๅบ“/็ด ๆๅบ“/ๆ—ฅๅކ๏ผ‰ๅ‰็ซฏ็ป„ไปถไธŽ็Šถๆ€็ฎก็†
โ”‚   โ”œโ”€โ”€ workspace.css           # ๅŽŸ็”Ÿไธป้ข˜่‡ช้€‚ๅบ”ๆ ทๅผไธŽ็ดงๅ‡‘ๅ“ๅบ”ๅผๅธƒๅฑ€
โ”‚   โ””โ”€โ”€ attach_codex.mjs        # ๅŠจๆ€ๆ‹‰ๅ–ไธญๆžขๆœ€ๆ–ฐ่„šๆœฌใ€CDP ๆŒ‚่ฝฝไธŽๅฟƒ่ทณๅŒๆญฅ
โ”œโ”€โ”€ server/                     # ้›ถไพ่ต–ๅŽŸ็”Ÿ Node.js ๅไฝœๆœๅŠก
โ”‚   โ”œโ”€โ”€ dev_host.mjs            # SSE ๅฎžๆ—ถๅๅŒไธญๆžข (18765็ซฏๅฃ๏ผŒๅœจ็บฟไบบๆ•ฐ/ๅคšๆˆฟ้—ด/้‰ดๆƒ)
โ”‚   โ”œโ”€โ”€ workspace_store.mjs     # ๅทฅไฝœๅŒบๅŽŸๅญๅ†™ๅ…ฅไธŽ JSON ๆŒไน…ๅŒ–ๅญ˜ๅ‚จ
โ”‚   โ”œโ”€โ”€ workspace_routes.mjs    # ๅทฅไฝœๅŒบ RESTful API ่ทฏ็”ฑไธŽๆƒ้™ๆ ก้ชŒ
โ”‚   โ”œโ”€โ”€ workspace_validation.mjs # ไปปๅŠก/่ต„ๆ–™ๅญ—ๆฎตๅˆๆณ•ๆ€งไธŽๅฎ‰ๅ…จ่ฟ‡ๆปคๆ ก้ชŒ
โ”‚   โ””โ”€โ”€ launcher_host.mjs       # ๆœฌๅœฐๆ‰˜็›˜ๆŽงๅˆถ้ขๆœๅŠก (18767็ซฏๅฃ๏ผŒ่‡ชๆฃ€/ๆ›ดๆ–ฐ/ๅฃไปค)
โ”œโ”€โ”€ ui/                         # ๅ‰็ซฏ UI ่ต„ๆบ
โ”‚   โ”œโ”€โ”€ index.html              # ็‹ฌ็ซ‹ๅ…จๅฑๅไฝœ็ฝ‘้กต็ซฏ
โ”‚   โ”œโ”€โ”€ workspace.html          # ๅทฅไฝœๅŒบ็‹ฌ็ซ‹ๅ…ฅๅฃ้กต้ข
โ”‚   โ””โ”€โ”€ panel.html              # ่œๅ•ๆ /ๆ‰˜็›˜ Mini Dashboard ๆ‚ฌๆตฎๆŽงๅˆถๅก็‰‡
โ”œโ”€โ”€ macos/                      # macOS ่œๅ•ๆ ๅฎขๆˆท็ซฏไธŽๆ‰“ๅŒ…ๅฅ—ไปถ
โ”‚   โ”œโ”€โ”€ TeamCodex.swift         # ๅŽŸ็”Ÿ Swift ็Šถๆ€ๆ ๅบ”็”จๆบ็  (Cocoa + WebKit)
โ”‚   โ”œโ”€โ”€ TeamCodex-Status.png    # ็บฏ็™ฝๅพฎ็Ÿข้‡ๅŒไบ‘ๅๅŒๅ›พๆ ‡ (Template Icon, ่‡ช้€‚ๅบ”ๆทฑๆต…ไธป้ข˜)
โ”‚   โ”œโ”€โ”€ launch.sh               # ่ฟ่กŒๆ—ถ่‡ชๆฃ€ไธŽๅฎˆๆŠค่„šๆœฌ
โ”‚   โ””โ”€โ”€ build_dmg.py            # ่‡ชๅŒ…ๅซ DMG ๆž„ๅปบๅ™จ (้›†ๆˆ swiftc ่‡ชๅŠจ็ผ–่ฏ‘)
โ”œโ”€โ”€ windows/                    # Windows ๆ‰˜็›˜ๅฅ—ไปถไธŽ NSIS ๅฎ‰่ฃ…ๅŒ…ๅทฅ็จ‹
โ”‚   โ”œโ”€โ”€ tray-teamcodex.ps1      # ๅŽŸ็”Ÿ็ณป็ปŸๆ‰˜็›˜ๆŽงๅˆถๅฐ (ๅทฆ้”ฎๅŽŸ็”Ÿๅผน็ช— + ๅณ้”ฎๅŽŸ็‰ˆ่œๅ•)
โ”‚   โ”œโ”€โ”€ run-teamcodex.ps1       # ๅฏๅŠจๅฎˆๆŠคไธŽๅ•ๅฎžไพ‹ Mutex ไบ’ๆ–ฅๆŽฅ็ฎก
โ”‚   โ”œโ”€โ”€ ้€€ๅ‡บTeamCodex.cmd       # [ๅบ”ๆ€ฅๅทฅๅ…ท] ไธ€้”ฎๅผบๆ€ๆ‰€ๆœ‰ๅŽๅฐ่ฟ›็จ‹ๅนถๆธ…็†ๆ‰˜็›˜
โ”‚   โ””โ”€โ”€ installer.nsi           # NSIS ๅฎ‰่ฃ…ๅ‘ๅฏผ้…็ฝฎ
โ”œโ”€โ”€ scripts/                    # ่ฟ็ปดไธŽ่‡ชๅŠจๅŒ–้ƒจ็ฝฒ่„šๆœฌ (deploy-hub.sh)
โ”œโ”€โ”€ docs/                       # ๆžถๆž„่ฎพ่ฎกใ€ๅทฅไฝœๅŒบ่ง„่ŒƒไธŽ็ฝ‘็ปœๆŽฅๅ…ฅๅ…จๆ™ฏๆŒ‡ๅ—
โ”‚   โ”œโ”€โ”€ WORKSPACE.md            # ๅทฅไฝœๅŒบๆ•ฐๆฎๆจกๅž‹ใ€ๆƒ้™ๆŽงๅˆถไธŽ API ่ง„่ŒƒๆŒ‡ๅ—
โ”‚   โ”œโ”€โ”€ HUB_DEPLOYMENT.md       # ไธญๆžข้ƒจ็ฝฒไธŽ็ฝ‘็ปœๆŽฅๅ…ฅๅ…จๆ™ฏๆŒ‡ๅ—
โ”‚   โ””โ”€โ”€ assets/                 # ๆžถๆž„ๅ›พใ€ๅฎžๆœบๆผ”็คบไธŽๅทฅไฝœๅŒบๆˆชๅ›พ
โ”œโ”€โ”€ tests/                      # ๅ…จ่‡ชๅŠจๅŒ–ๆต‹่ฏ•ๅฅ—ไปถ (ๅทฅไฝœๅŒบ/ๆƒ้™/็Šถๆ€ๆœบ/ๆ‰“ๅŒ…)
โ”œโ”€โ”€ version.json                # ๅฎขๆˆท็ซฏ็‰ˆๆœฌๅฎšไน‰๏ผˆ่‡ชๅŠจๅ‘ๅธƒๆ—ถๅŒๆญฅๆ›ดๆ–ฐ๏ผ‰
โ”œโ”€โ”€ Dockerfile                  # ๆž็ฎ€ Alpine Node ็”Ÿไบง้•œๅƒๅฎšไน‰
โ”œโ”€โ”€ docker-compose.yml          # ไธ€้”ฎๅฎนๅ™จๅŒ–ๆœๅŠก็ผ–ๆŽ’
โ””โ”€โ”€ README.md

9. ่‡ชๅŠจๅŒ–ๆต‹่ฏ•

node --test tests/test_boost_fixes.mjs
node --test tests/test_rooms_and_auth.mjs
node --test tests/test_workspace.mjs tests/test_workspace_bridge.mjs tests/test_workspace_http.mjs
# ้ชŒ่ฏ๏ผšๅ…จ่ฆ†็›–ๆต‹่ฏ•ๅ‡้กบๅˆฉ้€š่ฟ‡๏ผˆๆถต็›–ๆ’ไปถ็Šถๆ€ๆœบใ€ๆˆฟ้—ด้‰ดๆƒใ€ๅทฅไฝœๅŒบๆƒ้™ไธŽๅŽŸๅญๆŒไน…ๅŒ–๏ผ‰

10. ๅธธ่ง้—ฎ้ข˜ (FAQ)

  • Q: ไปฅๅŽๅŠŸ่ƒฝๆ›ดๆ–ฐ้œ€่ฆๅ…จๅ‘˜้‡ๆ–ฐไธ‹่ฝฝๅฎ‰่ฃ…ๅŒ…ๅ—๏ผŸ
    ๆ—ฅๅธธๆ›ดๆ–ฐๅฎŒๅ…จไธ้œ€่ฆใ€‚TeamCodex ้‡‡็”จๅŒ่ฝจๆ›ดๆ–ฐๆœบๅˆถ๏ผšไพงๆ ๅไฝœ็•Œ้ขไธŽๆณจๅ…ฅ้€ป่พ‘ไผšๅœจ่ฟžๆŽฅๅ›ข้˜Ÿ้›†ไธญไธญๆžขๆ—ถ่‡ชๅŠจ็ƒญๅŠ ่ฝฝๆœ€ๆ–ฐ่„šๆœฌ๏ผ›ไป…ๅœจๆถ‰ๅŠๆ“ไฝœ็ณป็ปŸๅบ•ๅฑ‚้ฉฑๅŠจๆˆ–ๆ‰˜็›˜ๆก†ๆžถๅ‡็บงๆ—ถ๏ผŒๆŽงๅˆถ้ขๆฟๆ‰ไผšๆ็คบไธ‹่ฝฝๆ–ฐ็‰ˆๅฎ‰่ฃ…ๅŒ…ใ€‚
  • Q: ไธชไบบๅœจๆœฌๅœฐๅ•ๆœบไฝฟ็”จ๏ผŒ้œ€่ฆ้ขๅค–ๆญๅปบๆœๅŠกๅ™จๅ—๏ผŸ
    ไธ้œ€่ฆใ€‚macOS ๅฏๅŠจๆ—ถไผš่‡ชๅŠจๅธธ้ฉป่ฝป้‡ไธญๆžข๏ผŒWindows ่™šๆ‹Ÿๆœบๅฎขๆˆท็ซฏ้€š่ฟ‡่™šๆ‹Ÿ็ฝ‘็ปœ่‡ชๅŠจๅ‘็Žฐๅนถ่ฟžๅ…ฅ๏ผŒๅฎŒๅ…จๅ…้…็ฝฎใ€‚
  • Q: ๆ•ฐๆฎๅฎ‰ๅ…จไธŽ้š็ง่พน็•Œๅฆ‚ไฝ•ไฟ่ฏ๏ผŸ
    ็บฏๅฑ€ๅŸŸ็ฝ‘ไธŽ็งๆœ‰้ƒจ็ฝฒใ€‚ๆ•ฐๆฎๅญ˜ๅ‚จไบŽ่‡ชๅปบ็Žฏๅขƒ็š„ data/messages.json๏ผŒๆ— ไปปไฝ•ๅค–้ƒจไบ‘็ซฏ้ฅๆต‹ใ€‚
  • Q: ้€š่ฟ‡ Nginx ๅไปฃๅŽๆถˆๆฏๆ— ๆณ•ๅฎžๆ—ถๆŽจ้€๏ผŸ
    SSE ไพ่ต–ๆตๅผ้•ฟ่ฟžๆŽฅ๏ผŒNginx ๅฏนๅบ” location ๅฟ…้กป้…็ฝฎ proxy_buffering off;ใ€‚

English

1. Motivation: Why We Built TeamCodex?

While individual engineers code faster with Codex and ChatGPT, team engineering is sliding into a costly collaboration bottleneck:

  • The "Document Tossing" Fallacy & Cascading Hallucinations
    A developer prompts the AI, exports a lengthy, unverified markdown document or draft spec, and casually tosses it to a colleague. The recipient feeds this second-hand AI output into their own AI. Unchecked assumptions and fake methods in the original doc get compounded, resulting in severe hallucinations, broken contracts, and endless debugging friction.
  • Erasing Decision Rationale (The Missing "Why")
    Static documents show only the final AI code snippet, completely erasing the vital problem-solving trajectory: "Which alternative architectures were ruled out? What boundary constraints were established? How was the prompt refined?" The next engineer inherits cold text without context, forced to guess the design intent.
  • Prompt Silos & Redundant Trial-and-Error
    Engineer A spends hours steering the model through nuanced domain rules and subtle edge cases. When Engineer B picks up the next task, their local AI starts with zero memory, forcing them to reinvent prompts and repeat costly mistakes.
  • Manual Copy-Paste is Lossy and Leaky
    Sharing screenshots or chat dumps over Slack/Discord flattens rich multi-turn reasoning chains while risking accidental exposure of local absolute filepaths, private tokens, and shell command histories.

The Solution: Live Context Snapshots over Second-Hand Static Docs:
TeamCodex turns AI conversation state into a first-class collaborative assetโ€”just like Git commits for source code.

  • Native Embedding: Injected into official Codex / ChatGPT desktop sidebars via CDP without modifying native executables;
  • One-Click Sanitized Snapshots: Instantly package active conversation threads with automatic scrubbing of local private paths;
  • Sub-Second Context Relay: Peers click to import the full reasoning trajectory into their own active sessions, ensuring the entire team operates on a single, verified source of truth.

Architecture: Separate Sessions, Shared Room, Two-Way Collaboration

Each member maintains a strictly isolated local AI session boundary while mounting the Team workspace via CDP on the same device to connect to the common Hub. Members exchange explicitly shared snapshots and collaborative assets through the Hub; each person decides what to import into their own AI session.

TeamCodex Architecture: Separate Sessions, Shared Room, Two-Way Collaboration, Hub Persistence, and Optional Plugin Entry

Follow one collaboration flow: Member A selects a chat and shares โ†’ Hub stores the snapshot and broadcasts updates to room peers โ†’ Member B inspects the thread in Team Workspace โ†’ Member B selectively imports it into their local AI session. Real-time broadcast never unconditionally pushes unverified conversations into any member's private AI session.

  • Peer-to-Peer Two-Way Collaboration: Every member can both share and import; A and B are equal collaborators rather than fixed senders or receivers, never directly merging local private chat sessions;
  • Strict Privacy Boundary: Unshared conversations remain strictly local on personal devices and are never synced or leaked just by joining a room;
  • Collaboration Hub: Centralizes room authentication, member permissions, messages, snapshots, real-time presence, task boards, knowledge base, asset libraries, and calendars;
  • Persistence & Plugin Entry: The Hub persists messages, snapshots, and uploaded files on its host machine; the optional Codex plugin (Skills / Hook) can query Hub summaries and inject them into active tasks;
  • Local Companion Mounting: The companion app mounts the Team workspace via CDP; CDP operates solely on localhost, while cross-machine communication is handled seamlessly via HTTP API + SSE.

Editable vector diagram ยท Deployment guide

To regenerate both languages as SVG and 3200 ร— 2240 PNG, run python3 scripts/generate_architecture_members.py (or python3 scripts/generate_architecture_diagram.py) with Chrome / Chromium installed. Set CHROME_BIN to override the browser path.


Live Demo: Cross-Platform Real-Time Sync & Full-Feature Overview (Mac & Windows)

The screencast below demonstrates full-featured real-time collaboration between a macOS host and a Windows 11 peer (80-second comprehensive demonstration covering task boards, asset management, role-based access, and sub-second context relay with synchronized bilingual commentary; see docs/assets/teamcodex_demo.mp4 for the high-definition video):

TeamCodex Live Cross-Platform Demo: Task Board, Asset Distribution, and Instant Context Relay

  • ๐Ÿ“‹ 1. Task Board & Workflow Transitions: Drag-and-drop workflow status (To-Do, In Progress, Done) with instant permission checks and millisecond-level status synchronization;
  • ๐Ÿ“ 2. Asset Library & Multi-Format Ingestion: Instant drag-and-drop ingestion for code files, documentation, images, and folders, creating a unified asset pool;
  • ๐Ÿš€ 3. One-Click Sanitized Share (macOS): Click "Share Conversation" in the Codex sidebar, select any active troubleshooting session, and broadcast a privacy-scrubbed snapshot;
  • โšก 4. Sub-Second Presence & Context Relay (Windows): The peer client automatically renders incoming thread cards with zero latency; engineers click "Import Selected Dialogues" to inject verified historical reasoning directly into new prompts, eradicating second-hand communication distortion.

2. Client Downloads & Tray Companion

Grab pre-built installers directly from GitHub Releases:

Platform Installer Setup & Experience
macOS TeamCodex-macOS.dmg Drag TeamCodex.app into /Applications. Status bar upgraded to Pure White Geometric Vector Cloud Template Icon with negative space relief and >_ terminal glyph, adapting automatically to Dark/Light modes; click to open frosted Mini Dashboard
Windows TeamCodex-Setup.exe Runs setup wizard for ARM64/AMD64. Left-click opens native dark floating dashboard (auto-dismiss on blur/Esc); Right-click opens pristine context menu with instant clean exit; guarded by global single-instance Mutex
Portable Archives TeamCodex-macOS.zip / TeamCodex-Windows-arm64-amd64.zip Standalone portable green packages; includes emergency cleanup tool ้€€ๅ‡บTeamCodex.cmd
Codex Plugin TeamCodex-Codex-Plugin.zip Official standard Codex plugin archive; empowers AI with spatial read/write tools, automated UserPromptSubmit hook, and preset prompts

Note: TeamCodex runs as a lightweight tray companion. Click the menu bar or tray icon to open the Mini Dashboard:

  • Live Diagnostics: Instantly inspect Codex attachment status (๐ŸŸข Injected / ๐ŸŸก Waiting / ๐Ÿ”ด Disconnected), active Hub, and room occupancy;
  • One-Click Actions: Launch & attach Codex, copy Smart Token, switch Hub URL, and restart injection;
  • In-Place Hot Sync & Updates: Automatically pulls fresh injection logic; notifies when a new native binary release is available.

3. Deployment Topology Models

The Hub service supports three standard operational models:

Model Host Location Client Connection Target Scenario
Single-Host (Default) macOS background auto-spawn Windows VM auto-detects host bridge IP Solo developers with Mac + VM setups (Zero config)
Private LAN Always-on PC / Mac / NAS in LAN Enter host LAN IP or paste Smart Token 5 ~ 30 developer teams on shared office Wi-Fi
Cloud VPS Linux Cloud Server Domain name via Nginx HTTPS proxy Globally distributed remote teams

4. Hub Deployment & Automation (LAN / Cloud)

Option A: One-Line Automation Script

curl -fsSL https://raw.githubusercontent.com/we1jia/TeamCodex/main/scripts/deploy-hub.sh | bash

Detects environment automatically: prefers Docker Compose; falls back to Node.js with Systemd / PM2 process supervision and automated health verification.

Option B: AI Agent System Prompt

Copy and paste this structured prompt directly to terminal AI assistants (Claude Code, Codex, Cursor, OpenClaw):

Deploy TeamCodex Hub on this server following production standards:
1. Verify system dependencies (Docker/Docker Compose or Node.js >= 18);
2. Clone https://github.com/we1jia/TeamCodex.git to /opt/TeamCodex (or git pull latest main);
3. Prefer docker compose up -d; if Docker is absent, configure systemd service with auto-start;
4. Open port 18765 listening on 0.0.0.0;
5. Validate via: curl http://127.0.0.1:18765/api/health;
6. If Nginx is detected, configure reverse proxy with proxy_buffering off explicitly set for SSE streaming;
7. Output endpoint URL and a ready-to-use Smart Token.

Full documentation and Nginx TLS templates available at: Hub Deployment & Networking Guide (docs/HUB_DEPLOYMENT.md).


5. Core Capabilities

  • Full-Featured Team Workspace (Kanban / Knowledge / Assets / Calendar): Natively integrates agile task tracking, review approval flows, full-text searchable docs, SHA-256 deduplicated asset libraries, and work calendars, closing the loop between AI reasoning and engineering lifecycle.
  • Native Embedding & Tray Companion: Injects via CDP into Codex sidebars paired with a native macOS menubar / Windows tray Mini Dashboard that never intrudes on your main workspace.
  • In-Place Hot Updates: Automatically synchronizes and caches updated sidebar injection scripts from centralized Hubs without forcing users to re-download binaries.
  • State Machine Mutual Exclusion: Enforces single-selection highlighting during active collaboration, restoring native thread selections upon exit.
  • Cross-Platform Presence: Cleanly isolates Mac vs Win node identities with deduplicated active presence counters and heartbeat tracking.
  • Sanitized Snapshot Relay: Serializes conversation threads into privacy-safe snapshots, enabling peers to import context with a single click.
  • Smart Token Protocol: Resolves connection strings formatted as Hub: <URL> | Room: <Name> | Key: <Password> instantly with quick clipboard actions.

6. Official Codex Plugin Integration & AI Capabilities (Plugin / Skills / Hooks)

In addition to the visual sidebar tab and tray companion designed for human engineers, TeamCodex seamlessly integrates with the official Codex Plugin Architecture (comprising .codex-plugin/plugin.json, semantic skills/, and lifecycle hooks/).

Official Team Codex Plugin Details and Natural Language Capabilities

Dual-Core Collaborative Division of Labor

  • Sidebar Team Tab (Human Dashboard): Designed for engineers. Provides immersive fullscreen room chat, real-time presence avatars, multi-room switching, snapshot timeline, and one-click thread imports;
  • Team Codex Plugin (AI Hands & Ears): Designed for the active AI Assistant inside your session. Equips Codex with tool permissions to read/write the team hub, extract discussion summaries, and relay context autonomously via natural language.

1) Six Preset Natural Language Prompts

Execute directly or click prompt pills in the Codex composer:

  • ๆ‰“ๅผ€ Team Codex ๅ›ข้˜Ÿๅไฝœ็ฉบ้—ดใ€‚ (Open Team Codex Workspace)
    ๐Ÿ‘‰ Wakes local daemon and guides user to focus the fullscreen team sidebar;
  • ่ฏปๅ–ๅฝ“ๅ‰ๅ›ข้˜Ÿ็ฉบ้—ด็š„่ฎจ่ฎบๆ‘˜่ฆใ€‚ (Fetch Team Discussion Summary)
    ๐Ÿ‘‰ Queries the active room compact summary and injects peer consensus and architecture decisions into the current task;
  • ๆŸฅ็œ‹ๅฝ“ๅ‰ๅ›ข้˜Ÿ็ฉบ้—ด็š„ไปปๅŠก็œ‹ๆฟๅ’Œๆˆๅ‘˜่ฟ›ๅบฆใ€‚ (View Task Board and Member Progress) ๐Ÿ‘‰ Reads task states, owners, reviewers, blockers, and work-calendar signals from the authorized workspace;
  • ๆœ็ดขๅฝ“ๅ‰ๅ›ข้˜Ÿ็ฉบ้—ด็š„็Ÿฅ่ฏ†ๅบ“ๅ’Œ็ด ๆๅบ“ใ€‚ (Search Knowledge Base and Assets) ๐Ÿ‘‰ Searches only resources visible to the current workspace identity and preserves resource revisions;
  • ๆŠŠ้€‰ๅฎš็š„ไปปๅŠกๅ’Œ่ต„ๆ–™ๅผ•็”จๅˆฐๅฝ“ๅ‰ Codex ๅฏน่ฏใ€‚ (Cite Selected Tasks and Resources) ๐Ÿ‘‰ Creates traceable context with source IDs and versions, placing it into the Team composer without auto-sending;
  • ๆŠŠๅฝ“ๅ‰ Codex ๅฏน่ฏๅˆ†ไบซๅˆฐๅ›ข้˜Ÿ็ฉบ้—ดใ€‚ (Share Conversation to Team Room)
    ๐Ÿ‘‰ Packages the current multi-turn reasoning chain, scrubs private local paths, and broadcasts a sanitized snapshot.

2) UserPromptSubmit Automated Context Hook

  • Pre-flight Silent Probe: Before every prompt is dispatched to Codex, the hook issues a lightweight 1200ms request to http://127.0.0.1:18765/api/compact.txt;
  • Sub-Second Context Injection: Dynamically appends the team latest decisions as additionalContext, ensuring the AI solutions are grounded in single-source team truth;
  • Zero-Blocking Resilience: If the Hub is offline or timed out, the hook exits cleanly in 0ms without delaying standard chat.
  • Explicit Workspace Queries: The hook never silently injects task-board, knowledge-base, or private asset data; those are read only when the user asks or selects a reference.

3) Plugin Installation

  • Source CLI Installation:
    codex plugin add /path/to/TeamCodex
  • Offline Import: Download TeamCodex-Codex-Plugin.zip from GitHub Releases and import via the Codex Plugins page.

7. Full-Featured Team Workspace: Kanban, Knowledge Base, Asset Library & Work Calendar (Workspace)

Beyond real-time context relay, TeamCodex natively embeds a lightweight team workspace engineered for AI-native software delivery, closing the loop between exploratory prompts, architecture decisions, and task delivery.

TeamCodex Kanban Board (Dark Mode) TeamCodex Work Calendar (Light Mode)

TeamCodex Native Client Integration (Windows Light)

1) Agile Kanban Board & Closed-Loop Review Flow

  • Four-Stage Workflow: Structured progression across ใ€Backlog (ๅพ…ๅผ€ๅง‹)ใ€‘, ใ€In Progress (่ฟ›่กŒไธญ)ใ€‘, ใ€Pending Review (็ญ‰ๅพ…ๅฎกๆ ธ)ใ€‘, and ใ€Completed (ๅทฒๅฎŒๆˆ)ใ€‘;
  • Comprehensive Task Metadata: Assign primary owners, multi-client collaborators (e.g., simultaneously weijia(Mac) and weijia(Win)), and dedicated reviewers. Track start/due/review dates, priorities, blockers, acceptance criteria, and delivery notes with complete audit logs;
  • Strict Review & Approval Pipeline: Tasks submitted for review mandate a reviewer and delivery notes. Only designated reviewers can approve or return tasks with required feedback; task contents are locked during review to prevent tampering.

2) Unified Knowledge Base & Asset Library

  • Versatile Document Management: Supports Markdown writing, code snippets, and multi-format file uploads (up to 10MB, indexing up to 200,000 characters) with full-text search and category/tag filters;
  • Fine-Grained Privacy & Sharing: Instant toggle between ใ€Private (ไป…ๆˆ‘ๅฏ่ง)ใ€‘ and ใ€Project Shared (ๅฝ“ๅ‰้กน็›ฎๅ…ฑไบซ)ใ€‘. Private items are strictly guarded and never broadcasted to peers or shared snapshots;
  • SHA-256 Content Addressing: Shared storage engine automatically deduplicates identical payloads, offering safe in-place image previews and raw file downloads.

3) Multi-Member Work Calendar

  • Cross-Timezone Scheduling: Automatically visualizes execution and review schedules tailored to each member's configured timezone, workdays, and unavailable dates;
  • Intelligent Schedule Warnings: Flags non-working day conflicts, overdue milestones, and unscheduled task backlogs to safeguard delivery timelines.

4) Traceable Context Citations

  • Structured Citations: Select any task or shared asset to generate formatted context blocks with source IDs, version numbers, and snapshot timestamps;
  • Human-in-the-Loop Safeguard: Inserts context directly into the composer for review and editingโ€”never automatically dispatches or executes prompts without explicit user confirmation.

8. Repository Layout

TeamCodex/
โ”œโ”€โ”€ .codex-plugin/              # Official Codex plugin manifest (plugin.json)
โ”œโ”€โ”€ hooks/                      # Lifecycle hook for prompt-time context injection (UserPromptSubmit)
โ”œโ”€โ”€ skills/                     # Semantic skill instructions (skills/team-codex/SKILL.md)
โ”œโ”€โ”€ assets/                     # Plugin and application icons, logos & illustrations
โ”œโ”€โ”€ inject/                     # Client CDP injection, Web Components & UI logic
โ”‚   โ”œโ”€โ”€ sidebar_fullscreen.js   # Sidebar mount, snapshot scrub, and UI state machine
โ”‚   โ”œโ”€โ”€ workspace.js            # Workspace components (Kanban/Knowledge/Assets/Calendar) & state
โ”‚   โ”œโ”€โ”€ workspace.css           # Native-adaptive themes & compact responsive styling
โ”‚   โ””โ”€โ”€ attach_codex.mjs        # Dynamic script sync, CDP attachment, and heartbeat loop
โ”œโ”€โ”€ server/                     # Zero-dependency Node.js services
โ”‚   โ”œโ”€โ”€ dev_host.mjs            # SSE Collab Hub (Port 18765: presence, multi-room, auth)
โ”‚   โ”œโ”€โ”€ workspace_store.mjs     # Workspace atomic disk write & JSON persistence
โ”‚   โ”œโ”€โ”€ workspace_routes.mjs    # Workspace RESTful API endpoints & permission guards
โ”‚   โ”œโ”€โ”€ workspace_validation.mjs # Data validation, length limits & security guards
โ”‚   โ””โ”€โ”€ launcher_host.mjs       # Local control plane service (Port 18767: status, updates)
โ”œโ”€โ”€ ui/                         # Frontend UI assets
โ”‚   โ”œโ”€โ”€ index.html              # Fullscreen standalone collaboration canvas
โ”‚   โ”œโ”€โ”€ workspace.html          # Workspace standalone entrypoint
โ”‚   โ””โ”€โ”€ panel.html              # Frosted Mini Dashboard floating card
โ”œโ”€โ”€ macos/                      # macOS status bar app & packaging
โ”‚   โ”œโ”€โ”€ TeamCodex.swift         # Native Swift status bar source (Cocoa + WebKit)
โ”‚   โ”œโ”€โ”€ TeamCodex-Status.png    # Pure white vector cloud template icon (Dark/Light adaptive)
โ”‚   โ”œโ”€โ”€ launch.sh               # Runtime health supervisor
โ”‚   โ””โ”€โ”€ build_dmg.py            # Standalone DMG builder with swiftc automation
โ”œโ”€โ”€ windows/                    # Windows tray suite & NSIS installer
โ”‚   โ”œโ”€โ”€ tray-teamcodex.ps1      # Native tray companion (Left-click popup + Right-click menu)
โ”‚   โ”œโ”€โ”€ run-teamcodex.ps1       # Startup supervisor with single-instance mutex
โ”‚   โ”œโ”€โ”€ ้€€ๅ‡บTeamCodex.cmd       # [Emergency tool] One-click kill & tray cache cleanup
โ”‚   โ””โ”€โ”€ installer.nsi           # NSIS setup wizard configuration
โ”œโ”€โ”€ scripts/                    # Ops & automation deployment scripts (deploy-hub.sh)
โ”œโ”€โ”€ docs/                       # Architectural manuals & workspace design specs
โ”‚   โ”œโ”€โ”€ WORKSPACE.md            # Workspace data models, access controls & API guide
โ”‚   โ”œโ”€โ”€ HUB_DEPLOYMENT.md       # Hub deployment and network topology guide
โ”‚   โ””โ”€โ”€ assets/                 # Architecture diagrams, screencasts & workspace screenshots
โ”œโ”€โ”€ tests/                      # Full test suite (workspace, permissions, state machines)
โ”œโ”€โ”€ version.json                # Client version manifest (v1.2.0)
โ”œโ”€โ”€ Dockerfile                  # Lightweight Alpine production container definition
โ”œโ”€โ”€ docker-compose.yml          # Container orchestration configuration
โ””โ”€โ”€ README.md

9. Automated Testing

node --test tests/test_boost_fixes.mjs
node --test tests/test_rooms_and_auth.mjs
node --test tests/test_workspace.mjs tests/test_workspace_bridge.mjs tests/test_workspace_http.mjs
# Verification: Full automated suite passed cleanly (injection, rooms, workspaces & storage)

10. FAQ

  • Q: Do team members need to re-download binaries for regular updates?
    No. TeamCodex uses dual-track updates: sidebar collaboration scripts update dynamically in-place when connected to a team Hub. Native installers are only required when underlying platform drivers change.
  • Q: Does a solo developer on one machine need to host a cloud server?
    No. macOS auto-starts the hub in the background, and Windows VM guests auto-detect the bridge IP out of the box.
  • Q: Is conversation data transmitted to external third parties?
    No. TeamCodex operates purely on self-hosted instances. Data is confined to your own data/messages.json.
  • Q: Real-time updates do not reach clients when behind Nginx?
    SSE streaming requires unbuffered connections. Ensure proxy_buffering off; is present in the Nginx location block.

About

TeamCodex: Seamless multi-device & team context collaboration workspace for Codex / ChatGPT desktop

Resources

Stars

14 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages