@opentag/runner 0.1.0 → 0.3.0
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 +21 -0
- package/dist/claude-code.d.ts +11 -0
- package/dist/claude-code.d.ts.map +1 -0
- package/dist/codex.d.ts +3 -1
- package/dist/codex.d.ts.map +1 -1
- package/dist/command.d.ts +2 -0
- package/dist/command.d.ts.map +1 -1
- package/dist/echo.d.ts.map +1 -1
- package/dist/executor-report.d.ts +24 -0
- package/dist/executor-report.d.ts.map +1 -0
- package/dist/executor.d.ts +7 -1
- package/dist/executor.d.ts.map +1 -1
- package/dist/git.d.ts +35 -0
- package/dist/git.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +789 -48
- package/dist/index.js.map +1 -1
- package/dist/result.d.ts +11 -0
- package/dist/result.d.ts.map +1 -0
- package/dist/security.d.ts +32 -0
- package/dist/security.d.ts.map +1 -0
- package/package.json +6 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Amplift
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type CommandRunner } from "./command.js";
|
|
2
|
+
import { type ExecutorAdapter } from "./executor.js";
|
|
3
|
+
export type ClaudeCodeExecutorOptions = {
|
|
4
|
+
runner?: CommandRunner;
|
|
5
|
+
claudeCommand?: string;
|
|
6
|
+
model?: string;
|
|
7
|
+
permissionMode?: "acceptEdits" | "auto" | "bypassPermissions" | "default" | "plan";
|
|
8
|
+
dangerouslySkipPermissions?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function createClaudeCodeExecutor(options?: ClaudeCodeExecutorOptions): ExecutorAdapter;
|
|
11
|
+
//# sourceMappingURL=claude-code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claude-code.d.ts","sourceRoot":"","sources":["../src/claude-code.ts"],"names":[],"mappings":"AACA,OAAO,EAA6C,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7F,OAAO,EAAgC,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAInF,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,aAAa,GAAG,MAAM,GAAG,mBAAmB,GAAG,SAAS,GAAG,MAAM,CAAC;IACnF,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AA6BF,wBAAgB,wBAAwB,CAAC,OAAO,GAAE,yBAA8B,GAAG,eAAe,CAiGjG"}
|
package/dist/codex.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type CommandRunner } from "./command.js";
|
|
2
|
-
import type
|
|
2
|
+
import { type ExecutorAdapter } from "./executor.js";
|
|
3
|
+
import { type RunnerSecurityPolicy } from "./security.js";
|
|
3
4
|
export type CodexExecutorOptions = {
|
|
4
5
|
runner?: CommandRunner;
|
|
5
6
|
codexCommand?: string;
|
|
6
7
|
model?: string;
|
|
8
|
+
security?: RunnerSecurityPolicy;
|
|
7
9
|
};
|
|
8
10
|
export declare function createCodexExecutor(options?: CodexExecutorOptions): ExecutorAdapter;
|
|
9
11
|
//# sourceMappingURL=codex.d.ts.map
|
package/dist/codex.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../src/codex.ts"],"names":[],"mappings":"AACA,OAAO,EAA6C,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../src/codex.ts"],"names":[],"mappings":"AACA,OAAO,EAA6C,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7F,OAAO,EAAgC,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAYnF,OAAO,EAAoE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE5H,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CACjC,CAAC;AA6BF,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,oBAAyB,GAAG,eAAe,CAsKvF"}
|
package/dist/command.d.ts
CHANGED
|
@@ -3,10 +3,12 @@ export type CommandResult = {
|
|
|
3
3
|
stdout: string;
|
|
4
4
|
stderr: string;
|
|
5
5
|
};
|
|
6
|
+
export type CommandEnvironment = Record<string, string | undefined>;
|
|
6
7
|
export type CommandRunner = {
|
|
7
8
|
run(command: string, args: string[], options?: {
|
|
8
9
|
cwd?: string;
|
|
9
10
|
input?: string;
|
|
11
|
+
env?: CommandEnvironment;
|
|
10
12
|
}): Promise<CommandResult>;
|
|
11
13
|
};
|
|
12
14
|
export declare const nodeCommandRunner: CommandRunner;
|
package/dist/command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,kBAAkB,CAAA;KAAE,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;CACpI,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,aAoC/B,CAAC;AAEF,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAIhG"}
|
package/dist/echo.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"echo.d.ts","sourceRoot":"","sources":["../src/echo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAMrD,wBAAgB,kBAAkB,IAAI,eAAe,
|
|
1
|
+
{"version":3,"file":"echo.d.ts","sourceRoot":"","sources":["../src/echo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAMrD,wBAAgB,kBAAkB,IAAI,eAAe,CAsCpD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const EXECUTOR_REPORT_START = "OPENTAG_EXECUTOR_REPORT_START";
|
|
2
|
+
export declare const EXECUTOR_REPORT_END = "OPENTAG_EXECUTOR_REPORT_END";
|
|
3
|
+
export type ExecutorReport = {
|
|
4
|
+
changes: Array<{
|
|
5
|
+
file?: string;
|
|
6
|
+
summary: string;
|
|
7
|
+
}>;
|
|
8
|
+
verification?: Array<{
|
|
9
|
+
command?: string;
|
|
10
|
+
outcome: "passed" | "failed" | "not_run";
|
|
11
|
+
summary?: string;
|
|
12
|
+
}>;
|
|
13
|
+
risks?: string[];
|
|
14
|
+
notes?: string[];
|
|
15
|
+
};
|
|
16
|
+
export declare function executorReportPromptLines(): string[];
|
|
17
|
+
export declare function executorPolicyPromptLines(): string[];
|
|
18
|
+
export declare function parseExecutorReport(output: string): ExecutorReport | undefined;
|
|
19
|
+
export declare function renderExecutorReportSummary(input: {
|
|
20
|
+
executorName: string;
|
|
21
|
+
changedFiles: string[];
|
|
22
|
+
report: ExecutorReport;
|
|
23
|
+
}): string;
|
|
24
|
+
//# sourceMappingURL=executor-report.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor-report.d.ts","sourceRoot":"","sources":["../src/executor-report.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,kCAAkC,CAAC;AACrE,eAAO,MAAM,mBAAmB,gCAAgC,CAAC;AAMjE,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,KAAK,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;QACzC,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC,CAAC;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,wBAAgB,yBAAyB,IAAI,MAAM,EAAE,CAiBpD;AAED,wBAAgB,yBAAyB,IAAI,MAAM,EAAE,CASpD;AAqFD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAQ9E;AAUD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE;IACjD,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,MAAM,EAAE,cAAc,CAAC;CACxB,GAAG,MAAM,CA4BT"}
|
package/dist/executor.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ContextPacket, type ContextPointer, type OpenTagCommand, type OpenTagRunResult, type PermissionGrant } from "@opentag/core";
|
|
2
2
|
export type ExecutorEvent = {
|
|
3
3
|
type: "executor.started" | "executor.progress" | "executor.completed" | "executor.failed";
|
|
4
4
|
message: string;
|
|
@@ -12,7 +12,13 @@ export type ExecutorRunInput = {
|
|
|
12
12
|
workspacePath: string;
|
|
13
13
|
command: OpenTagCommand;
|
|
14
14
|
context: ContextPointer[];
|
|
15
|
+
contextPacket?: ContextPacket;
|
|
16
|
+
permissions?: PermissionGrant[];
|
|
17
|
+
baseBranch?: string;
|
|
18
|
+
worktreeRoot?: string;
|
|
19
|
+
keepWorktree?: "always" | "on_failure" | "never";
|
|
15
20
|
};
|
|
21
|
+
export declare function renderContextPacketForPrompt(packet?: ContextPacket): string[];
|
|
16
22
|
export type ExecutorReadiness = {
|
|
17
23
|
ready: boolean;
|
|
18
24
|
reason?: string;
|
package/dist/executor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","sourceRoot":"","sources":["../src/executor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"executor.d.ts","sourceRoot":"","sources":["../src/executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAE/J,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,kBAAkB,GAAG,mBAAmB,GAAG,oBAAoB,GAAG,iBAAiB,CAAC;IAC1F,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,WAAW,CAAC,EAAE,eAAe,EAAE,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,QAAQ,GAAG,YAAY,GAAG,OAAO,CAAC;CAClD,CAAC;AAEF,wBAAgB,4BAA4B,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,MAAM,EAAE,CAiC7E;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC5D,GAAG,CAAC,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACjF,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtC,CAAC"}
|
package/dist/git.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type GitStatusEntry = {
|
|
|
4
4
|
path: string;
|
|
5
5
|
};
|
|
6
6
|
export declare function branchNameForRun(runId: string): string;
|
|
7
|
+
export declare const STATUS_PORCELAIN_Z_ARGS: string[];
|
|
7
8
|
export declare function parseStatusEntries(statusOutput: string): GitStatusEntry[];
|
|
8
9
|
export declare function isInternalArtifactPath(path: string): boolean;
|
|
9
10
|
export declare function parseChangedFiles(statusOutput: string): string[];
|
|
@@ -11,6 +12,29 @@ export declare function createRunBranch(input: {
|
|
|
11
12
|
runner: CommandRunner;
|
|
12
13
|
workspacePath: string;
|
|
13
14
|
branchName: string;
|
|
15
|
+
startPoint?: string;
|
|
16
|
+
}): Promise<void>;
|
|
17
|
+
export declare function worktreePathForRun(input: {
|
|
18
|
+
workspacePath: string;
|
|
19
|
+
runId: string;
|
|
20
|
+
worktreeRoot?: string;
|
|
21
|
+
}): string;
|
|
22
|
+
export declare function createRunWorktree(input: {
|
|
23
|
+
runner: CommandRunner;
|
|
24
|
+
workspacePath: string;
|
|
25
|
+
worktreePath: string;
|
|
26
|
+
branchName: string;
|
|
27
|
+
baseBranch: string;
|
|
28
|
+
}): Promise<void>;
|
|
29
|
+
export declare function removeRunWorktree(input: {
|
|
30
|
+
runner: CommandRunner;
|
|
31
|
+
workspacePath: string;
|
|
32
|
+
worktreePath: string;
|
|
33
|
+
}): Promise<void>;
|
|
34
|
+
export declare function deleteRunBranch(input: {
|
|
35
|
+
runner: CommandRunner;
|
|
36
|
+
workspacePath: string;
|
|
37
|
+
branchName: string;
|
|
14
38
|
}): Promise<void>;
|
|
15
39
|
export declare function changedFiles(input: {
|
|
16
40
|
runner: CommandRunner;
|
|
@@ -20,6 +44,17 @@ export declare function cleanupInternalArtifacts(input: {
|
|
|
20
44
|
runner: CommandRunner;
|
|
21
45
|
workspacePath: string;
|
|
22
46
|
}): Promise<string[]>;
|
|
47
|
+
export declare function commitRunChanges(input: {
|
|
48
|
+
runner: CommandRunner;
|
|
49
|
+
workspacePath: string;
|
|
50
|
+
message: string;
|
|
51
|
+
}): Promise<boolean>;
|
|
52
|
+
export declare function commitChangedFiles(input: {
|
|
53
|
+
runner: CommandRunner;
|
|
54
|
+
workspacePath: string;
|
|
55
|
+
files: string[];
|
|
56
|
+
message: string;
|
|
57
|
+
}): Promise<void>;
|
|
23
58
|
export declare function pushBranch(input: {
|
|
24
59
|
runner: CommandRunner;
|
|
25
60
|
workspacePath: string;
|
package/dist/git.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../src/git.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../src/git.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGtD;AAOD,eAAO,MAAM,uBAAuB,UAAgE,CAAC;AAUrG,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,MAAM,GAAG,cAAc,EAAE,CAwBzE;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CAIhE;AAED,wBAAsB,eAAe,CAAC,KAAK,EAAE;IAC3C,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,OAAO,CAAC,IAAI,CAAC,CAGhB;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE;IACxC,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,MAAM,CAIT;AAED,wBAAsB,iBAAiB,CAAC,KAAK,EAAE;IAC7C,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC,IAAI,CAAC,CAQhB;AAED,wBAAsB,iBAAiB,CAAC,KAAK,EAAE;IAC7C,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,IAAI,CAAC,CAKhB;AAED,wBAAsB,eAAe,CAAC,KAAK,EAAE;IAAE,MAAM,EAAE,aAAa,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAKhI;AAED,wBAAsB,YAAY,CAAC,KAAK,EAAE;IAAE,MAAM,EAAE,aAAa,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAI7G;AAED,wBAAsB,wBAAwB,CAAC,KAAK,EAAE;IAAE,MAAM,EAAE,aAAa,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAiBzH;AAED,wBAAsB,gBAAgB,CAAC,KAAK,EAAE;IAC5C,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,OAAO,CAAC,OAAO,CAAC,CAcnB;AAED,wBAAsB,kBAAkB,CAAC,KAAK,EAAE;IAC9C,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,OAAO,CAAC,IAAI,CAAC,CAMhB;AAED,wBAAsB,UAAU,CAAC,KAAK,EAAE;IACtC,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC,IAAI,CAAC,CAGhB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
export * from "./claude-code.js";
|
|
1
2
|
export * from "./codex.js";
|
|
2
3
|
export * from "./command.js";
|
|
3
4
|
export * from "./echo.js";
|
|
4
5
|
export * from "./executor.js";
|
|
5
6
|
export * from "./git.js";
|
|
7
|
+
export * from "./result.js";
|
|
8
|
+
export * from "./security.js";
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
|