Hla mus rau cov ntsiab lus
Rov mus rau Nymbot

Kev paub hauv paus Kwv txhia

Ua haujlwm hauv git repository

Pro tuaj yeem ua haujlwm hauv peb lub repositorires ib yam li ib tug coding agent ua — nyeem koj cov ntawv tiag tiag, thiab muaj peev xwm sau hloov lawv.

Ntuas txuas ib lub repository

?git, los yog qhov Git lub npe me me nyob hauv toolbar, txuas nrog ib tus neeg muab kev pab: GitHub, GitLab, lossis Gitea/Forgejo — uas bao cov Codeberg thiab cov version uas tsim nyob rau hauv hom computer ntawm tus kheej. Nws hais txog ib tug scoped personal access token, ib lub repository thiab ib lub branch. Ib lub repository uas tshaj tawm nws tus kheej rau ntawm Nostr yuav muaj feem ceeb zoo muab tso rau raws li nws lub chaw nyob instead.

Tsis tas koj yuav tsum sau lub npe ntawm lub repository. Paste lub token thiab xaiv Sau cov yam uas lub token no tuaj yeem mus txogNymbot nug rau cov forge tias lub token ntawd tuaj yeem pom dab tsi thiab qhia cov lus teb ua ib daim ntawv xyuas uas koj yuav tshuaj xyuas. Kev tshuaj xyuas yuav txuas txhua yam nrog nws lub branch pib uas tau tso rau lawm, thiab muab lawv txhua yam rau hauv kev sib tham no. Txhua yam uas twb txuas lawm yuav raug qhia li ntawd xwb, tsis yog muab rau koj xaiv dua ob zaug. Qhov kev thov ntawd mus ntawm koj lub cuab yeej ncaj qha mus rau forge — tsis dhau ntawm Nymbot worker — yog li lub token yuav tsis mus qhov chaw twg uas nws tsis tau mus lawm. Ib lub self-hosted forge uas tsis pub cov cross-origin requests yuav tsis tuaj yeem raug muab tso rau hauv daim ntawv; sau lub repository ntawd los ntawm koj txhais tes thiab txhua yam yuav ua hauj lwm zoo li qub.

Thaum txuas lawm, lub chip qhia lub npe ntawm lub repository, thiab cov lus uas xa nrog ib Maum tus qauv Pro xaiv khiav hauv lub ntsiab lus ntawm lub repository ntawd. ?git disconnect tsheej nws mus. Tseem tsis txuas hauv cov nplooj ntawv qab tshuaj (repository list) tsiv tau cov token plam tab sis tso cov repository nyob ntawd, qhia tias tsis muaj token, kom koj tuaj ntxiv tau ib lub tshiab tom qab.

Lub modal ntawm Repositories, uas yog qhov chaw uas ib lub repository GitHub, GitLab lossis Gitea raug txuas nrog ib chat.
Ntxuas ib lub repository. Lub token sib hloov nrog koj lwm yam khoom siv, xeeb khwv los ntawm ib sab mus rau ib sab.

Cov chaw khaws ntaub ntawv uas tau tshaj tawm ntawm Nostr

Qee cov repository tshaj tawm txog lawv tus kheej ntawm Nostr tsis yog tsuas yog rau ntawm ib lub forge xwb, siv NIP-34 — cov lub caij lij choom tom qab ngit thiab gitworkshop. Qhov tshaj tawm yog ib Nostr event uas muaj lub npe ntawm lub tshuab, cov neeg tu tswj hwm, cov relays uas khaws cov patches thiab issues, thiab cov URLs uas yuav tau clone los ntawm nws. Ib qhov tshaj tawm thib ob qhia tias txhua branch tam sim no tab tom tawm rau qhov twg.

Ntxiv ib yam naddr los yog ib nostr:// tersim rau hauv lub repository daim ntawv thiab thim Nrhiav nws. Nymbot nyeem cov tshaj tawm los ntawm cov relays thiab ua tiav cov ntawv: qhov git host uas nws raug clone los, qhov repository nyob ntawd, thiab lub branch uas tus qaib qhia tias yog tus tshiە tshaj plaws. Koj tseem yuav tsum ntxiv ib daim token rau qhov host ntawd, vim Nostr yog qhov tus nqa cov tshaj tawm thiab qhov git server yog qhov tus nqa cov code.

Txhais tau tias qauv yog qhov uas nws raug clone los xwb. Ib lub repository uas qhov clone URL nyob rau GitHub, GitLab, Gitea lossis Forgejo — suav nrog cov uas self-hosted los xij — yog ib lub uas Nymbot tuaj yeem nyeem tau. Ib lub raug clone dhau ntawm... git:// loss ssh tsis muaj HTTP API los nyeem cov ntawv, thiab Nymbot hais li ntawd vim nws tsis txhob txuas luv luv. Thaum lub host yog self-hosted, tus provider yog ib qho uas tsuas txhia xwb los ntawm nws lub npe, thiab koj tuaj yeem kho nws ua ntej yuav ceev xim.

Ib lub repository uas ntxiv tau li no yuav muaj daim badges ngit hauv daim ntawv xam, thiab cov lus teb hu nws los ntawm lub npe uas nws tshwm sim los ntawm tsis yog nws txoj kev ntawm daim iav.

Nws tuaj yeem ua dab tsi

Ib tsab xov xwm hauv repo context khiav li ib tug me ej thauj xov xwm me me, tsis yog ib qho kev teb xwb. Tus qauv (model) tuaj yeem teev cov directory, nyeem cov ntawv thiab nrhiav hauv cov tswv yim, tom qab ntawd teb siv cov dab neeg uas nws pom tiag — yog li ntawd "ua cas lub retry loop thiaj tso tseg sai dhau" yuav raug teb los ntawm koj cov code, tsis yog los ntawm kev xav tsis raug txog cov code uas zoo nkaus li koj cov.

Nws pom lub branch uas koj txuas, ntawm nws lub taub lug rau ntawm tam sim no.

Nrog lub server tsis tseg tsis nres tau qhib rau kev sib tham, nws tuaj yeem thov khiav ib yam hauj lwm rau koj cov code, xws li cov tests, ntawm ib Nymbot server. Txhua ครั้ง uas khiav yuav tos koj pub nws ua.

Ib lub haujlwm hauv repository ntawm xov tooj: Nymbot pom ib qho bug thiab qhia qhov patch raws li qhov diff.
Ib lub luag haujlwm repo hauv ib lub xov tooj, nrog lub patch thiab qhov uas kev khiav nqi yog dab tsi.

Ntaus kev sau ntawv rau켜

?git writes on ntxiv txoj peev xwm los commit cov ntawv, tsim cov branches thiab qhib cov pull or merge requests. Tsis txhob tso kom ua haujlwm tsis tau ntawm써 defaults, thiab tsis txhob tso kom ua haujlwm mus txog thaum koj xav tau nws.

Thaum sau ntawd, thov kev hloov kho thiab koj yuav tau txais ib lub branch thiab ib pull request los tshuaj xyuas thiab tsis yog ib daim patch uas muab tso rau hauv chat: txhua lub haujlwm ua haujlwm ntawm yog nws ib lub tshoob thiab nws tus kheejTsis muaj dab tsi raug tso mus rau koj lub branch hauv ntej (default branch) yog tias koj tsis hloov nws, ntawd yog lub branch uas koj tau txuas, thiab koj thiaj tau nug nws.

Kev hloov kho ntawm ib qhov run yuav raug tso mus ua ib qho commit rau txhua repository, thaum qhov run kawg lossis thaum lub model txiav txim siab tias ib feem ntawm haujlwm tau ua tiav lawm. Yog tias koj xav pom lawv ua ntej, qhib... Nug ua ntej yuav tsim txiaj rau lub repository ntawd. Kev khiav ntawd tom qab ntawd yuav tsis cia nws cov kev hloov pauv, cov lus teb qhia lawv ua ke txawv sib txawv (diff), thiab Thov ua rau lawv ua thaum Tso tseg vwm lawv mus. Kev thov tsis yog nqi dab tsi.

Ib tshoob rau txhua lub haujlwm

Nrog Txhua lub haujlwm muaj nws tus branch tsis txawv ntawm lwm yam tau, uas yog rau txhua repository tas li koj yuav tsum tau tshem nws mus, ib lub luag haujlwm uas sau cov commit rau nws tus ntawm ib txoj kev, uas hu ua nymbot/ thiab ib lub id luv luv. Nymbot tsim nws los ntawm tus thaum kawg ntawm lub branch uas tab tom ua haujlwm thaum lub task ua thawj commit, yog li ntawd ib lub task uas nyeem xwb yuav tsis tsim tsis muaj branch li. Lub working branch tus kheej tsis raug hloov pauv, yog li ntawd ntau lub task tuaj yeem sau ntawv rau tib repository tib lub sijhawmแทน ntawm kev tos lawv lub luag haujlwm.

Thaum lub luag haujlwm tau ua tiav, Nymbot yuav ua dab tsi Thaum tiav lawm hais tias. Qhib ib qho pull request yog qhov uas tsim nyog siv tshaj plaws; Muab kev sib txuas tso ib lub Merge button rau ntawm lub reply; Tawm ntawm tsob ntoo tsis ua dab tsi ntxiv. Qhov pib yog teeb tseg hauv Settings, hauv qab Thaum txoj kev ua haujlwm lub branch tiav lawm, thiab txhua lub repository tuaj yeem xaiv txawv raws li lawv tus kheej cov kev xaiv. Yog tias lub forge tsis muaj API rau cov pull requests uas Nymbot tuaj yeem siv, lossis nws tsis pub siv, lub branch yuav raug tseg li qub thiab cov lus teb yuav qhia txog qhov ntawd.

Lub teb teb qhia lub tsev uas muaj Qhib PR, Raws li thiab Muaj tshem tawm, thiab cov Tasks pane teev nws nrog rau lub haujlwm. Thaum lub haujlwm tseem tab tom khiav, nws lub card, cov Tasks pane thiab daim ntawv teev cov uas tab tom khiav yuav hu lub branch tam sim ntawd thaum nws muaj, rau txhua lub tshuab uas tau login rau lub account. Ib lub haujlwm uas tau nres lossis tsis ua tiav yuav tseem muab nws lub branch rov qab los, kom nws tuaj yeem raug merged, muaj tsis tshuav lossis tau nuav li lwm yam. Ib qho kev merge yog ib qho merge commit los ntawm forge’s tus kheej pull request, uas raug pin rau lub commit Nymbot tau record, kom cov commits tshiab uas raug push mus rau ntawd hauv lub sijhawm ntawd tsis raug merge tsis pom. Tsis muaj dab tsi raug force-push. Yog tias lub branch ntawd muaj kev sib tsoo (conflicts) nrog lub working branch, qhov teb yuav qhia qhov Qhib lub PR rau tsim txoj kev daws teeb meem los yog Nug Nymbot kom hloov kho lub branch, uas muab cov working branch hloov mus rau hauv ntawd nrog ib tug merge commit meej meej rau ntawm kev rebasing. GitHub thiab Gitea lossis Forgejo tuaj yeem ua tau ntawd; GitLab tsis muaj API rau qhov ntawd, yog li ntawd koj yuav tsum tau daws nws hauv qhov merge request.

Kev hloov pauv rau cov file CI thiab workflow tseem tos koj txoj kev soj ntsuam, zoo ib yam li thaum tsis muaj lawv tus branch li xwb.

Ntxuav kom huv

Koj lub tshuab nco tau... nymbot/ cov branch uas lub account no tau tsim los. Lub haujlwm tom ntej rau qhov repository ntawd, lossis Ntxuav kom huv Nymbot cov branch hauv cov nplooj ntawv list ntawm repository, yuav muab tshem tawm cov uas lawv cov pull request tau merged lossis closed, los yog cov uas tau dhau peb peb hnub (7 hnub) tsis muaj dab tsi tshuav yuav merge. Ib txoj kev (branch) yuav tsum tsuas raug tshem tawm yog nws tseem kawg ntawm tus commit uas Nymbot tau sau tseg, yog li yog tias muaj neeg twg tshiab tau push rau nws ces nws yuav tsis raug hloov, thiab tsis muaj lwm txoj kev (branch) twg uas raug hloov li. Nws yuav khiav los ntawm koj lub device nrog tus token uas nws xa mus lawm; lub server tsis tseg tsis yog lwm tus token los ua nws tom qab.

Tseem tshem tawm lub xaiv uas yuav tsum tau commit ncaj qha rau lub working branch. Ib lub task yuav muaj tus tswj hwm lub repository ntawd ntawm nws tus kheej, thiab lub task thib ob uas yog ntawm tib lub branch ntawd yuav nyeem xwb txog thaum lub task thawj ua tiav. Cov app version qub kuj ua raws li txoj kev ntawd thiab.

Tshaj lij cov dab neeg uas ib qhov kev khiav tau hloov kho lawm

Ib yam lus teb uas sau rau koj lub repository qhia tias nws tau hloov pauv dab tsi: lub repository, lub branch, thiab txhua lub faib (file). Hloov cov kev hloov no rov qab tso lawv rov qab los — txhua txoj kev (paths) raug nyeem ntawm lub commit uas txoj branch sawv ntawm ua ntej thaum run thiab raug commit li nws nyob. Ib lub luag haujlwm uas ua haujlwm ntawm ib tshoob ntawm nws tus kheej tso lub branch uas tab tom ua haujlwm ua rau tsis muaj dab tsi nyob ntawd uas yuav tau tso rov qab los: Muaj tshem tawm txeeb nws cov tswm thiab.

Nws yog kev rov tso rov qab, tsis yog kev sau tshiab. Tsis muaj dab tsi raug tshem tawm thiab tsis muaj keeb kwm twg raug sau tshiab: qhov uas Nymbot tau ua yuav nyob hauv cov log, nws tsuas yog tsis yog qhov xwm txheej ntawm txoj kab (branch) lawm xwb. Txhua tus uas tau pull tuaj hauv nr Chab yuav muaj checkout uas tseem ua tau.

Nws tsis raug nqi. Kev rov qab rov tuaj tsis hloov pauv txhua lub model, yog li ntawd nws tsis siv credits — lub access token mus nrog ntawd ib qho thov thiaj li mus nrog txhua txhua qhov kev thov, thiab tsis muaj dab tsi ntawm lub checkpoint raug khaws cia rau lwm qhov tsuas yog hauv koj tus kheej lub tshuab xwb.

Tsuas yog cov ntawv xwb

Ib lub branch lossis pull request uas run qhib los tau yuav raug tso tseg hauv qhov chaw ntawm nws. Kev kaw ib tug neeg pull request rau lawv lub npe tsis yog ib qho kev tsum rov qab, thiab kev muab ib lub branch uas lwm tus neeg tau nqa los tshem tawm los tsis yog ib qho kev tsum rov qab los xij — ua cov haujlwm ntawd koj tus kheej yog tias koj xav kom nws ploj mus.

Ib lub repo task nqe lus yog dab tsi

Ib lub repo hauj lwm siv txog rau peb tsob model calls ntawm txhua zaj xov tooj — saib, nyeem, nrhiav, teb — tsuas yuav raug them nyiaj raws li lub model uas tau teem tseg Nqi ntawm ProIb txhia lus teb uas tiag tiag raug siv thiaj li raug them nqi, yog li ib lo lus teb ntawm ib daim ntawv yuav raug them nqi npaum li ib lo lus teb tsis tshua muaj nqi xwb.

Lub app qhia tus muaj ntau thiab tus ntau ntawm cov calls tom qab txhua repo task.

Thaum ib lub haujlwm tsis muaj chaw ntxiv

Ib lub luag haujlwm hauv repository yog ib qho kev rov qab (loop), tsis yog ib lo lus teb xwb: lub model tso tawm ib lub directory, nyeem ib lub file, nrhiav hauv lub tree, nyeem ib lub ntxiv, thiab thiaj li sau tshiab. Qhov loop ntawd muaj ib qho kev tso cai — ib qho tus nqi ntawm cov model calls uas cov lus teb tseg cia rau — vim tias ib tug agent uas tsis muaj qhov txwv yuav ua rau muaj nqi them ntau uas tsis muaj hnub kawm.

Thaum ib lub haujlwm siv tag nws cov kev tso cai thaum tseem muaj haujlwm ua tsis tau tas, Nymbot yuav tsum tsum, muab qhov nws muaj rau koj, thiab qhia rau koj paub. Tsis muaj dab tsi ntxiv uas yuav raug them nqi ntxiv lawm.

Koj tseem tuaj yeem cia nws mus ntxiv. Teem ib lub nqi txiaj ntsim (budget) hauv Settings thiab Nymbot yuav ib qho tshiab los ntawm tus nqi uas muaj nyob rau thaum ib lub luag haujlwm kawg, nws yuav mus ntxiv exactly qhov uas nws tsum tsis yog nyeem cov ntaub ntawv (repository) tshiab los ntawm qhov pib. Nws yuav ua txhua kauj ruam ib kauj ruam, txhua kauj ruam yuav qhia tias nws nqi npaum li cas, thiab yuav tsum tsum thaum nqi tas, lub luag haujlwm tiav, lossis thaum koj nias Stop. Kev xaiv “until my balance runs out” nyob tseem yog ib qho qhov chaw tswj hwm — nws yog koj tus nqi uas muaj nyob rau tsis yog ib tus lej uas koj sau tseg.

Nco tseg

Lub tswv yim tseg tseg yog tsum thiab qhia rau koj. Tsis muaj dab tsi mus ntxiv, thiab tsis muaj dab tsi raug siv dhau lub teeb meem uas koj tau thov, yog tias koj tsis tau teem lub budget.

Feem ntau koj lub tshuab xa txhua feem, yog li ntawd ib lub haujlwm tsuas yog ua ntxiv thaum lub app tseem qhib. Nrog rau Kev khiav tom qab thaum txhij, lub server xa cov ntxiv leg nws tus kheej thaum lub app kaw, hauv tib lub budget, tsis tshua tshaj 40 legs thiab 6 teev, thiab qhia rau koj ib zaug thaum lub haujlwm tiav. Yuav ua li ntawd nws yuav tuav lub repository token rau hauv thiab siv ib lub chaw tseg uas nws xwb thiaj li muaj lub chaw tseg thaum lub haujlwm ua haujlwm, thiab muab nws tshem tawm thaum lub haujlwm kawg thiab tsim nyog hauv 6 teev. Ib lub background task yuav sau rau nws tus branch xws li lwm cov task lwm yam.

Hais txog qhov token

Hais txog qhov token

Lub access token raug khaws cia ntawm koj cov cuab yeej thiab hloov pauv ntawm lawv nyob hauv koj cov kev teeb tsa uas muaj end-to-end encrypted, yog li ntawd lub server tsuas yog tuav ib daim copy uas tau kaw cia uas nws tsis tuaj yeem nyeem tau xwb. Nws yuav raug muab tshem tawm los ntawm ib... nuam lub tshuab, mus rau ntawm Nymbot worker nrog txhua thov, thiab tsis raug khaws lees tau ntawm server lossis muab tso tawm rau relays. Lub sij hawm thaum kawg uas server khaws nws yog thaum nws raug kaw, thaum ib tug khiav tom qab ntug koj tau hloov mus rau qhov uas ua haujlwm, rau txhij txhua 6 teev xwb. Teem nws rau lwm lub repository uas koj xav siv, thiab tshem nws mus ntawm koj tus neeg muab kev pab thaum koj ua tiav lawm.

Vim nws muaj kev sib txuas, ib qho kev sib tham uas siv lub repository yuav ua haujlwm rau txhua lub cuav uas koj nkag mus yam tsis tas yuav txuas nws rov qab ntxiv. Kev tsis txuas lub repository ntawm ib lub cuav yuav tshem tawm cov token ntawm lwm lub cuav thiab. Cov token tsis tau nkag mus rau hauv ib server tsis khovlub thawv ntawm