@midsummer-ai/sdk 0.1.0-staging.5360 → 0.1.0-staging.5363

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.
@@ -61,6 +61,12 @@ interface Loop {
61
61
  readonly maxSteps?: number;
62
62
  /** The most credits it may spend; the run's own ceiling still holds. */
63
63
  readonly budget?: number;
64
+ /**
65
+ * The Actions it may call, by name, such as `["web.read", "agent.memory.*"]` (`.*` is every Action under a prefix):
66
+ * any other is refused, wherever the loop works. Its version's Actions when left out; when the version names some, a
67
+ * loop names no more than they do.
68
+ */
69
+ readonly tools?: ReadonlyArray<string>;
64
70
  }
65
71
  /** One message of a conversation `ask` is given. A tool's result is for the call named by `toolCallId`. */
66
72
  type Message = {
package/here-C2jhTheQ.mjs CHANGED
@@ -12,7 +12,7 @@ function processEnv() {
12
12
  * This package's version: `0.0.0-dev` here, and in a published package the version it was published at, which the
13
13
  * release writes in its place as it stages the package (`stampSdk` in `scripts/release/packages.ts`).
14
14
  */
15
- const SDK_VERSION = "0.1.0-staging.5360";
15
+ const SDK_VERSION = "0.1.0-staging.5363";
16
16
  /**
17
17
  * The header that tells Midsummer which client made each of this package's calls: `Midsummer-Client: sdk/<version>
18
18
  * <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.5360",
3
+ "version": "0.1.0-staging.5363",
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.",