@wrongstack/tools 0.308.0 → 0.308.1
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/dist/bash-kill-guard.d.ts +1 -0
- package/dist/bash.js +15 -1
- package/dist/builtin.js +612 -143
- package/dist/exec.js +34 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +644 -171
- package/dist/pack.js +611 -143
- package/dist/pwsh.d.ts +22 -0
- package/dist/tool-tier.js +612 -143
- package/package.json +5 -4
package/dist/pwsh.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Tool } from '@wrongstack/core/types';
|
|
2
|
+
export interface PwshInput {
|
|
3
|
+
command: string;
|
|
4
|
+
workdir?: string | undefined;
|
|
5
|
+
timeout_ms?: number | undefined;
|
|
6
|
+
run_in_background?: boolean | undefined;
|
|
7
|
+
background?: boolean | undefined;
|
|
8
|
+
sandbox_permissions?: string | undefined;
|
|
9
|
+
justification?: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface PwshOutput {
|
|
12
|
+
output: string;
|
|
13
|
+
exit_code: number | null;
|
|
14
|
+
timed_out: boolean;
|
|
15
|
+
pid?: number | null | undefined;
|
|
16
|
+
job_id?: string | undefined;
|
|
17
|
+
error?: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
export declare const PWSH_TOOL_DESCRIPTION: string;
|
|
20
|
+
export declare const PWSH_TOOL_USAGE_HINT: string;
|
|
21
|
+
export declare const pwshTool: Tool<PwshInput, PwshOutput>;
|
|
22
|
+
//# sourceMappingURL=pwsh.d.ts.map
|