@midsummer-ai/sdk 0.1.0-staging.5454 → 0.1.0-staging.5460
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/agents/site.d.mts +1 -1
- package/agents/site.mjs +2 -2
- package/here-BO-wQDjz.mjs +1 -1
- package/package.json +1 -1
package/agents/site.d.mts
CHANGED
|
@@ -46,7 +46,7 @@ interface WatchOptions {
|
|
|
46
46
|
/**
|
|
47
47
|
* Follows a run from a page, by the `watch` address its server was given (or the started run itself): `onChange` gets
|
|
48
48
|
* the run as it is now, and again as each step is kept, until it ends, when following stops by itself. A dropped
|
|
49
|
-
* connection is opened again, reading what came in between, a few times before it gives up and
|
|
49
|
+
* connection is opened again, reading what came in between, a few times before it gives up and explains why in `problem`.
|
|
50
50
|
* Returns a function that stops following.
|
|
51
51
|
*/
|
|
52
52
|
declare function watchRun(watch: string | Pick<StartedRun, "watch">, onChange: (run: WatchedRun) => void, options?: WatchOptions): () => void;
|
package/agents/site.mjs
CHANGED
|
@@ -48,7 +48,7 @@ const PAGES_MOST = 50;
|
|
|
48
48
|
/**
|
|
49
49
|
* Follows a run from a page, by the `watch` address its server was given (or the started run itself): `onChange` gets
|
|
50
50
|
* the run as it is now, and again as each step is kept, until it ends, when following stops by itself. A dropped
|
|
51
|
-
* connection is opened again, reading what came in between, a few times before it gives up and
|
|
51
|
+
* connection is opened again, reading what came in between, a few times before it gives up and explains why in `problem`.
|
|
52
52
|
* Returns a function that stops following.
|
|
53
53
|
*/
|
|
54
54
|
function watchRun(watch, onChange, options = {}) {
|
|
@@ -76,7 +76,7 @@ function watchRun(watch, onChange, options = {}) {
|
|
|
76
76
|
socket?.close();
|
|
77
77
|
} catch {}
|
|
78
78
|
};
|
|
79
|
-
/** Tries again later, waiting longer each time, and
|
|
79
|
+
/** Tries again later, waiting longer each time, and explains why once it gives up. */
|
|
80
80
|
const later = (work) => {
|
|
81
81
|
if (stopped) return;
|
|
82
82
|
if (++tries > RETRIES) {
|
package/here-BO-wQDjz.mjs
CHANGED
|
@@ -21,7 +21,7 @@ function processEnv() {
|
|
|
21
21
|
* This package's version: `0.0.0-dev` here, and in a published package the version it was published at, which the
|
|
22
22
|
* release writes in its place as it stages the package (`stampSdk` in `scripts/release/packages.ts`).
|
|
23
23
|
*/
|
|
24
|
-
const SDK_VERSION = "0.1.0-staging.
|
|
24
|
+
const SDK_VERSION = "0.1.0-staging.5460";
|
|
25
25
|
/**
|
|
26
26
|
* The header that tells Midsummer which client made each of this package's calls: `Midsummer-Client: sdk/<version>
|
|
27
27
|
* <part>`, `part` the product whose client it is (`database`, `storage`, `queues`, ...), so the platform counts which
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midsummer-ai/sdk",
|
|
3
|
-
"version": "0.1.0-staging.
|
|
3
|
+
"version": "0.1.0-staging.5460",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Midsummer's handles for an app's code: its Database, Storage, Queues, Vector DB, AI, Email and Agents, with stand-ins for tests.",
|