@relayflows/surface 2.0.45 → 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 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 30s, maximum 15m. */
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 **30s by default**, **15m maximum**. Pass `{ timeout: '5m' }`
52
- for longer work, for example `await f.run('git fetch', { timeout: '5m' })`.
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 30s, maximum 15m. */
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relayflows/surface",
3
- "version": "2.0.45",
3
+ "version": "2.0.46",
4
4
  "description": "TypeScript authoring surface for Relayflows.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
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 30s, maximum 15m. */
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