@relayflows/surface 2.0.44 → 2.0.46
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/AUTHORING.md +1 -1
- package/README.md +3 -2
- package/dist/context.d.ts +1 -1
- package/package.json +1 -1
- package/src/context.ts +1 -1
package/AUTHORING.md
CHANGED
|
@@ -140,7 +140,7 @@ export interface Ctx extends Helpers {
|
|
|
140
140
|
|
|
141
141
|
```ts
|
|
142
142
|
export interface RunOptions {
|
|
143
|
-
/** Command lease: milliseconds or a duration such as "5m"; default
|
|
143
|
+
/** Command lease: milliseconds or a duration such as "5m"; default 10m, maximum 15m. */
|
|
144
144
|
timeout?: string | number;
|
|
145
145
|
/**
|
|
146
146
|
* What a nonzero exit means. `'fail'` (the default) throws, ending the flow
|
package/README.md
CHANGED
|
@@ -48,8 +48,9 @@ export default flow<{ base: string }>("release-note", {}, async (f, input) => {
|
|
|
48
48
|
});
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
Commands lease for **
|
|
52
|
-
|
|
51
|
+
Commands lease for **10m by default**, **15m maximum**. Pass an explicit
|
|
52
|
+
`{ timeout }` when a command needs a tighter or longer bound, for example
|
|
53
|
+
`await f.run('git fetch', { timeout: '15m' })`.
|
|
53
54
|
See the shipped [authoring reference](AUTHORING.md) for this package's
|
|
54
55
|
signatures, option fields, completion reasons, named gates and helper
|
|
55
56
|
namespaces. Dependency types, such as helper clients, are named by import.
|
package/dist/context.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export interface RunResult {
|
|
|
103
103
|
stderr: string;
|
|
104
104
|
}
|
|
105
105
|
export interface RunOptions {
|
|
106
|
-
/** Command lease: milliseconds or a duration such as "5m"; default
|
|
106
|
+
/** Command lease: milliseconds or a duration such as "5m"; default 10m, maximum 15m. */
|
|
107
107
|
timeout?: string | number;
|
|
108
108
|
/**
|
|
109
109
|
* What a nonzero exit means. `'fail'` (the default) throws, ending the flow
|
package/package.json
CHANGED
package/src/context.ts
CHANGED
|
@@ -108,7 +108,7 @@ export interface RunResult {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
export interface RunOptions {
|
|
111
|
-
/** Command lease: milliseconds or a duration such as "5m"; default
|
|
111
|
+
/** Command lease: milliseconds or a duration such as "5m"; default 10m, maximum 15m. */
|
|
112
112
|
timeout?: string | number;
|
|
113
113
|
/**
|
|
114
114
|
* What a nonzero exit means. `'fail'` (the default) throws, ending the flow
|