@hy-sde-org/dsh-git 0.1.1-rc.2
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/LICENSE +37 -0
- package/README.md +40 -0
- package/cordis.patch.yml +22 -0
- package/dist/commit-message.d.ts +9 -0
- package/dist/commit-message.d.ts.map +1 -0
- package/dist/commit-message.js +16 -0
- package/dist/commit-message.js.map +1 -0
- package/dist/diff.d.ts +26 -0
- package/dist/diff.d.ts.map +1 -0
- package/dist/diff.js +197 -0
- package/dist/diff.js.map +1 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/invariant.d.ts +16 -0
- package/dist/invariant.d.ts.map +1 -0
- package/dist/invariant.js +22 -0
- package/dist/invariant.js.map +1 -0
- package/dist/lock-files.d.ts +28 -0
- package/dist/lock-files.d.ts.map +1 -0
- package/dist/lock-files.js +97 -0
- package/dist/lock-files.js.map +1 -0
- package/dist/service.d.ts +233 -0
- package/dist/service.d.ts.map +1 -0
- package/dist/service.js +457 -0
- package/dist/service.js.map +1 -0
- package/dist/topo-sort.d.ts +18 -0
- package/dist/topo-sort.d.ts.map +1 -0
- package/dist/topo-sort.js +53 -0
- package/dist/topo-sort.js.map +1 -0
- package/dist/trivial.d.ts +18 -0
- package/dist/trivial.d.ts.map +1 -0
- package/dist/trivial.js +47 -0
- package/dist/trivial.js.map +1 -0
- package/dist/types.d.ts +105 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +7 -0
- package/dist/types.js.map +1 -0
- package/examples/agent-preset/agent.cordis.yml +21 -0
- package/examples/agent-preset/preset.yml +3 -0
- package/package.json +96 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lock-files.js","sourceRoot":"","sources":["../src/lock-files.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH;;;GAGG;AACH,MAAM,CAAC,MAAM,mB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AAO,CAAC,MAAM,GAAG,CAAC,CAAA;AAChC,CAAC"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `ctx.git` service: a thin, read-through-write wrapper around the `git`
|
|
3
|
+
* CLI via the `ctx.subprocess` seam, plus the diff-parsing primitives and the
|
|
4
|
+
* split-commit execution verbs (hunk staging, dependency-ordered commit, lock
|
|
5
|
+
* files). Host-plane — the service holds no durable state and shells out per
|
|
6
|
+
* call, so one instance serves every session; the model-facing tools live in
|
|
7
|
+
* `@hy-sde-org/dsh-tool-git` and resolve this host instance.
|
|
8
|
+
*
|
|
9
|
+
* Port of the omp (oh-my-pi) git layer, reduced to what the commit + review
|
|
10
|
+
* workflows need: `git` CLI execution, diff capture/parsing, status, hunk
|
|
11
|
+
* staging, commit/push. See port_omp.md item: commit.
|
|
12
|
+
* @module @hy-sde-org/dsh-git/service
|
|
13
|
+
*/
|
|
14
|
+
import { Service, type Context } from '@deepseek-ai/cordis';
|
|
15
|
+
import type { FileChange, FileDiff, GitLogEntry, GitStatusSummary, NumstatEntry } from './types.ts';
|
|
16
|
+
/** Plugin configuration for the git service. */
|
|
17
|
+
export interface Config {
|
|
18
|
+
/** `git` executable name (default `git`; resolved through the subprocess seam). */
|
|
19
|
+
gitPath?: string;
|
|
20
|
+
/** Per-command wall-clock budget in ms (default 120000). */
|
|
21
|
+
timeoutMs?: number;
|
|
22
|
+
/** In-memory cap on one collected stdout (default 8 MiB). */
|
|
23
|
+
maxStdoutBytes?: number;
|
|
24
|
+
/** Retained stderr tail bytes (default 64 KiB). */
|
|
25
|
+
maxStderrBytes?: number;
|
|
26
|
+
/** SIGTERM→SIGKILL grace in ms (default 5000). */
|
|
27
|
+
graceMs?: number;
|
|
28
|
+
}
|
|
29
|
+
/** The `diff` namespace surface of `ctx.git` (read shapes, mirrors omp). */
|
|
30
|
+
export interface GitDiffNamespace {
|
|
31
|
+
changedFiles(cwd: string, options?: {
|
|
32
|
+
cached?: boolean;
|
|
33
|
+
files?: readonly string[];
|
|
34
|
+
signal?: AbortSignal;
|
|
35
|
+
}): Promise<string[]>;
|
|
36
|
+
numstat(cwd: string, options?: {
|
|
37
|
+
cached?: boolean;
|
|
38
|
+
signal?: AbortSignal;
|
|
39
|
+
}): Promise<NumstatEntry[]>;
|
|
40
|
+
has(cwd: string, options?: {
|
|
41
|
+
cached?: boolean;
|
|
42
|
+
files?: readonly string[];
|
|
43
|
+
signal?: AbortSignal;
|
|
44
|
+
}): Promise<boolean>;
|
|
45
|
+
}
|
|
46
|
+
/** A failed `git` invocation: exit status plus stderr retained for the agent. */
|
|
47
|
+
export declare class GitCommandError extends Error {
|
|
48
|
+
readonly exitCode: number | null;
|
|
49
|
+
readonly stderr: string;
|
|
50
|
+
constructor(message: string, options: {
|
|
51
|
+
exitCode: number | null;
|
|
52
|
+
stderr: string;
|
|
53
|
+
cause?: unknown;
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
/** One completed subprocess run. */
|
|
57
|
+
export interface CommandRun {
|
|
58
|
+
stdout: string;
|
|
59
|
+
exitCode: number;
|
|
60
|
+
killed: boolean;
|
|
61
|
+
stderr: string;
|
|
62
|
+
}
|
|
63
|
+
interface DiffOptions {
|
|
64
|
+
cached?: boolean;
|
|
65
|
+
binary?: boolean;
|
|
66
|
+
nameOnly?: boolean;
|
|
67
|
+
numstat?: boolean;
|
|
68
|
+
/** Base revision (e.g. `HEAD~3`); with `head` forms a range. */
|
|
69
|
+
base?: string;
|
|
70
|
+
head?: string;
|
|
71
|
+
files?: readonly string[];
|
|
72
|
+
}
|
|
73
|
+
/** Default per-command timeout. */
|
|
74
|
+
export declare const DEFAULT_TIMEOUT_MS = 120000;
|
|
75
|
+
/** Default stdout collection cap. */
|
|
76
|
+
export declare const DEFAULT_MAX_STDOUT_BYTES: number;
|
|
77
|
+
/** The `ctx.git` service. */
|
|
78
|
+
export declare class GitService extends Service {
|
|
79
|
+
private readonly gitPath;
|
|
80
|
+
private readonly timeoutMs;
|
|
81
|
+
private readonly maxStdoutBytes;
|
|
82
|
+
private readonly maxStderrBytes;
|
|
83
|
+
private readonly graceMs;
|
|
84
|
+
constructor(ctx: Context, config?: Config);
|
|
85
|
+
private subprocess;
|
|
86
|
+
/**
|
|
87
|
+
* Run one `git` command against `cwd`. A non-zero exit code is returned as
|
|
88
|
+
* data on the run (callers decide whether it is an error); only a launch
|
|
89
|
+
* failure, a signal kill, or a timeout throws {@link GitCommandError}.
|
|
90
|
+
* @param argv - git arguments (never shell-interpreted).
|
|
91
|
+
* @param options - cwd (required), abort signal, stdin text, timeout override.
|
|
92
|
+
* @returns exit code, stdout, stderr; throws {@link GitCommandError} only for launch/timeout/signal failures.
|
|
93
|
+
*/
|
|
94
|
+
run(argv: readonly string[], options: {
|
|
95
|
+
cwd: string;
|
|
96
|
+
signal?: AbortSignal | undefined;
|
|
97
|
+
stdin?: string | undefined;
|
|
98
|
+
timeoutMs?: number;
|
|
99
|
+
}): Promise<CommandRun>;
|
|
100
|
+
/** Run a command and require exit 0, throwing a readable {@link GitCommandError}. */
|
|
101
|
+
private checked;
|
|
102
|
+
/** Run a command requiring exit 0 and return its stdout text. */
|
|
103
|
+
private text;
|
|
104
|
+
/**
|
|
105
|
+
* True when `cwd` is inside a git working tree.
|
|
106
|
+
* @param cwd - working directory to probe.
|
|
107
|
+
* @param signal - optional abort.
|
|
108
|
+
* @returns whether `cwd` is a git working tree (never throws).
|
|
109
|
+
*/
|
|
110
|
+
isRepo(cwd: string, signal?: AbortSignal): Promise<boolean>;
|
|
111
|
+
/**
|
|
112
|
+
* The repository root (`git rev-parse --show-toplevel`).
|
|
113
|
+
* @param cwd - working directory inside the repository.
|
|
114
|
+
* @param signal - optional abort.
|
|
115
|
+
* @returns the absolute repository root.
|
|
116
|
+
*/
|
|
117
|
+
root(cwd: string, signal?: AbortSignal): Promise<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The current branch name, or undefined when detached.
|
|
120
|
+
* @param cwd - working directory inside the repository.
|
|
121
|
+
* @param signal - optional abort.
|
|
122
|
+
* @returns the branch name, or undefined on a detached HEAD.
|
|
123
|
+
*/
|
|
124
|
+
branch(cwd: string, signal?: AbortSignal): Promise<string | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* Plain status summary: staged/unstaged/untracked counts.
|
|
127
|
+
* @param cwd - working directory inside the repository.
|
|
128
|
+
* @param signal - optional abort.
|
|
129
|
+
* @returns counts of staged, unstaged and untracked entries.
|
|
130
|
+
*/
|
|
131
|
+
status(cwd: string, signal?: AbortSignal): Promise<GitStatusSummary>;
|
|
132
|
+
/**
|
|
133
|
+
* True when the index differs from HEAD (something is staged).
|
|
134
|
+
* @param cwd - working directory inside the repository.
|
|
135
|
+
* @param signal - optional abort.
|
|
136
|
+
* @returns whether there is anything staged.
|
|
137
|
+
*/
|
|
138
|
+
hasStaged(cwd: string, signal?: AbortSignal): Promise<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* Whole raw diff text; non-zero exit is an error unless `allowFailure`.
|
|
141
|
+
* @param cwd - working directory inside the repository.
|
|
142
|
+
* @param options - cached vs worktree, pathspec files, binary, name-only, numstat, allowFailure.
|
|
143
|
+
* @param signal - optional abort.
|
|
144
|
+
* @returns the diff text.
|
|
145
|
+
*/
|
|
146
|
+
diffText(cwd: string, options?: DiffOptions & {
|
|
147
|
+
allowFailure?: boolean;
|
|
148
|
+
}, signal?: AbortSignal): Promise<string>;
|
|
149
|
+
/** Diff namespace (mirrors omp's `diff.*`) for the derived read shapes. */
|
|
150
|
+
readonly diff: GitDiffNamespace;
|
|
151
|
+
/**
|
|
152
|
+
* Parsed file diff sections for `pathSpec` (defaults to the whole cached diff).
|
|
153
|
+
* @param cwd - working directory inside the repository.
|
|
154
|
+
* @param options - cached vs worktree and pathspec filter.
|
|
155
|
+
* @returns one parsed section per changed file.
|
|
156
|
+
*/
|
|
157
|
+
fileDiffs(cwd: string, options?: {
|
|
158
|
+
cached?: boolean;
|
|
159
|
+
files?: readonly string[];
|
|
160
|
+
signal?: AbortSignal;
|
|
161
|
+
}): Promise<FileDiff[]>;
|
|
162
|
+
/**
|
|
163
|
+
* Selectively stage whole files or hunks from a diff that is already in the
|
|
164
|
+
* index (the `--cached` view). Direct port of omp `stage.hunks`: rebuilds a
|
|
165
|
+
* patch from the recorded diff and applies it to the index.
|
|
166
|
+
* @param cwd - working directory inside the repository.
|
|
167
|
+
* @param selections - file/hunk selections to stage.
|
|
168
|
+
* @param options - the raw cached diff to slice from (defaults to `git diff --cached`).
|
|
169
|
+
*/
|
|
170
|
+
stageHunks(cwd: string, selections: readonly FileChange[], options?: {
|
|
171
|
+
rawDiff?: string;
|
|
172
|
+
signal?: AbortSignal;
|
|
173
|
+
}): Promise<void>;
|
|
174
|
+
/**
|
|
175
|
+
* Apply a patch string (to the index with `cached: true`, as split staging needs).
|
|
176
|
+
* @param cwd - working directory inside the repository.
|
|
177
|
+
* @param patchText - unified diff text piped to `git apply`.
|
|
178
|
+
* @param options - cached vs worktree, reverse direction, abort signal.
|
|
179
|
+
*/
|
|
180
|
+
applyPatchText(cwd: string, patchText: string, options?: {
|
|
181
|
+
cached?: boolean;
|
|
182
|
+
reverse?: boolean;
|
|
183
|
+
signal?: AbortSignal | undefined;
|
|
184
|
+
}): Promise<void>;
|
|
185
|
+
/**
|
|
186
|
+
* Stage files; empty list stages everything (`git add -A`).
|
|
187
|
+
* @param cwd - working directory inside the repository.
|
|
188
|
+
* @param files - paths to stage; empty stages everything.
|
|
189
|
+
* @param signal - optional abort.
|
|
190
|
+
*/
|
|
191
|
+
addAll(cwd: string, files?: readonly string[], signal?: AbortSignal): Promise<void>;
|
|
192
|
+
/**
|
|
193
|
+
* Unstage files; empty list unstages everything (`git reset`).
|
|
194
|
+
* @param cwd - working directory inside the repository.
|
|
195
|
+
* @param files - paths to unstage; empty unstages everything.
|
|
196
|
+
* @param signal - optional abort.
|
|
197
|
+
*/
|
|
198
|
+
resetIndex(cwd: string, files?: readonly string[], signal?: AbortSignal): Promise<void>;
|
|
199
|
+
/**
|
|
200
|
+
* Create a commit from `message` (passed via stdin).
|
|
201
|
+
* @param cwd - working directory inside the repository.
|
|
202
|
+
* @param message - commit message (subject/body).
|
|
203
|
+
* @param options - allow-empty and abort signal.
|
|
204
|
+
* @returns the underlying command run.
|
|
205
|
+
*/
|
|
206
|
+
commit(cwd: string, message: string, options?: {
|
|
207
|
+
signal?: AbortSignal;
|
|
208
|
+
allowEmpty?: boolean;
|
|
209
|
+
}): Promise<CommandRun>;
|
|
210
|
+
/**
|
|
211
|
+
* Push the current branch. `--no-follow-tags` so only the branch moves.
|
|
212
|
+
* @param cwd - working directory inside the repository.
|
|
213
|
+
* @param options - optional force-with-lease and abort signal.
|
|
214
|
+
*/
|
|
215
|
+
push(cwd: string, options?: {
|
|
216
|
+
signal?: AbortSignal;
|
|
217
|
+
forceWithLease?: boolean;
|
|
218
|
+
}): Promise<void>;
|
|
219
|
+
/**
|
|
220
|
+
* Recent commits (default 20), parseable fields only.
|
|
221
|
+
* @param cwd - working directory inside the repository.
|
|
222
|
+
* @param options - max count, abort signal.
|
|
223
|
+
* @returns newest-first commit entries with hash/author/date/subject.
|
|
224
|
+
*/
|
|
225
|
+
log(cwd: string, options?: {
|
|
226
|
+
max?: number;
|
|
227
|
+
signal?: AbortSignal;
|
|
228
|
+
color?: 'never';
|
|
229
|
+
}): Promise<GitLogEntry[]>;
|
|
230
|
+
private buildDiffArgs;
|
|
231
|
+
}
|
|
232
|
+
export {};
|
|
233
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAc3D,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,gBAAgB,EAChB,YAAY,EACb,MAAM,YAAY,CAAA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