ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Командный git-процесс: чистые помощники без зависимостей от vscode.
* Разбор GitHub-remote, имя личной ветки, разбор unified diff для графического
* просмотра изменений и сводка CI-проверок. Покрыто test/git-workflow.test.mjs.
*--------------------------------------------------------------------------------------------*/
import { slugifyTaskTitle } from './branchName';
export interface GithubRepoRef { owner: string; repo: string; }
/** owner/repo из URL remote: https, ssh (git@github.com:o/r.git), ssh://, с токеном в URL. */
export function parseGithubRemote(url: string | undefined): GithubRepoRef | undefined {
const text = String(url ?? '').trim();
if (!text)
match text
match
owner match repo match
nickname
slug nickname
name
name name name name name name
kind DiffLineKind text oldNo newNo
header lines DiffLine
path
oldPath
status
binary
additions
deletions
hunks DiffHunk
truncated
files DiffFile additions deletions truncatedFiles
stripPrefix value
unquoted value value value value
unquoted
value
bytes
i i valuelength i
char valuei
char i valuelength
next valuei
next
oct valuei
bytesoct
i octlength
map Record n t
mapnext bytesmapnext i
byte char bytesbyte
bytes
text maxLinesPerFile maxFiles DiffSummary
files DiffFile
file DiffFile
hunk DiffHunk
oldNo
newNo
shown
truncatedFiles
start path oldPath DiffFile
created DiffFile path oldPath status binary additions deletions hunks truncated
fileslength maxFiles filescreated truncatedFiles
hunk
shown
created
line text
line
rest linelength
quoted rest
plain rest rest
a quoted plain plain rest
b quoted plain plain rest
file b a b a
a b filestatus
file
line file
hunk
line filestatus
line filestatus
line fileoldPath line filestatus
line filepath line filestatus
line line filebinary
line
line filestatus
line
line filestatus filepath filepath line
line
m line
oldNo m m
newNo m m
hunk header line lines
filehunkshunk
hunk
push entry DiffLine
shown maxLinesPerFile hunklinesentry shown filetruncated
line fileadditions kind text line newNo newNo
line filedeletions kind text line oldNo oldNo
line kind text line oldNo oldNo newNo newNo
line kind text line
item files itemhunks itemhunksh hlineslength itemtruncated
files
additions filessum f sum fadditions
deletions filessum f sum fdeletions
truncatedFiles
value
value value value value
items filename previous_filename status patch additions deletions maxLinesPerFile DiffSummary
files DiffFile itemsitem
parsed itempatch maxLinesPerFilefiles
status DiffFile itemstatus itemstatus itemstatus
path itemfilename
oldPath itemprevious_filename
status
binary itempatch itemadditions itemdeletions status
additions itemadditions parsedadditions
deletions itemdeletions parseddeletions
hunks parsedhunks
truncated parsedtruncated itempatch
files additions filess f s fadditions deletions filess f s fdeletions truncatedFiles
statuses state runs status conclusion state ChecksState total passed failed pending
passed failed pending
status statuses
statusstate passed
statusstate statusstate failed
pending
run runs
runstatus pending
runconclusion passed failed
total passed failed pending
state ChecksState total failed pending
state total passed failed pending
text behind ahead
left right text Number
behind Numberleft left ahead Numberright right
files packageJson hasPyproject hasPytestIni hasCargo hasGoMod hasMakefile
filespackageJson
pkg filespackageJson scripts Record
test pkgscriptstest
test test
fileshasCargo
fileshasGoMod
fileshasPyproject fileshasPytestIni
fileshasMakefile fileshasMakefile
repo GithubRepoRef base head