@mastra/client-js 1.40.0-alpha.2 → 1.40.0-alpha.4
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/CHANGELOG.md +23 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/agent-controller.d.ts +7 -0
- package/dist/resources/agent-controller.d.ts.map +1 -1
- package/dist/route-types.generated.d.ts +31 -0
- package/dist/route-types.generated.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -6153,6 +6153,10 @@ var AgentController = class extends BaseResource {
|
|
|
6153
6153
|
async listModels() {
|
|
6154
6154
|
return (await this.request(`${this.basePath()}/models`)).models;
|
|
6155
6155
|
}
|
|
6156
|
+
/** List the runs in flight on this controller, across all resources. */
|
|
6157
|
+
async listActiveRuns() {
|
|
6158
|
+
return (await this.request(`${this.basePath()}/active-runs`)).runs;
|
|
6159
|
+
}
|
|
6156
6160
|
/** Get workspace status for this agent controller. */
|
|
6157
6161
|
async workspaceStatus() {
|
|
6158
6162
|
return this.request(`${this.basePath()}/workspace`);
|