@mindstudio-ai/agent 0.1.176 → 0.1.177
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 +7 -0
- package/dist/analytics/index.d.ts +384 -0
- package/dist/auth/index.d.ts +113 -0
- package/dist/browser/index.d.ts +332 -0
- package/dist/cli.js +27 -27
- package/dist/client.d.ts +767 -0
- package/dist/config.d.ts +13 -0
- package/dist/context.d.ts +125 -0
- package/dist/datasources/index.d.ts +52 -0
- package/dist/datasources/source.d.ts +1074 -0
- package/dist/db/aggregate.d.ts +101 -0
- package/dist/db/index.d.ts +280 -0
- package/dist/db/mutation.d.ts +65 -0
- package/dist/db/predicate.d.ts +85 -0
- package/dist/db/query.d.ts +233 -0
- package/dist/db/raw.d.ts +36 -0
- package/dist/db/readBatching.d.ts +36 -0
- package/dist/db/scanHints.d.ts +8 -0
- package/dist/db/sql.d.ts +136 -0
- package/dist/db/table.d.ts +146 -0
- package/dist/db/time.d.ts +17 -0
- package/dist/db/types.d.ts +237 -0
- package/dist/db-ws.d.ts +35 -0
- package/dist/email/index.d.ts +396 -0
- package/dist/errors.d.ts +34 -0
- package/dist/events/index.d.ts +127 -0
- package/dist/files/index.d.ts +62 -0
- package/dist/files/store.d.ts +244 -0
- package/dist/generated/metadata.d.ts +8 -0
- package/dist/generated/snippets.d.ts +8 -0
- package/dist/generated/steps.d.ts +2745 -0
- package/dist/generated/types.d.ts +4234 -0
- package/dist/http.d.ts +22 -0
- package/dist/index.d.ts +59 -13329
- package/dist/index.js +15 -15
- package/dist/index.js.map +7 -1
- package/dist/jewel/index.d.ts +325 -0
- package/dist/mapper/index.d.ts +229 -0
- package/dist/rate-limit.d.ts +25 -0
- package/dist/reader/index.d.ts +170 -0
- package/dist/respond.d.ts +68 -0
- package/dist/task/index.d.ts +18 -0
- package/dist/task/local.d.ts +48 -0
- package/dist/task/schema.d.ts +120 -0
- package/dist/task/types.d.ts +203 -0
- package/dist/types.d.ts +591 -0
- package/dist/voice/index.d.ts +87 -0
- package/package.json +6 -12
- package/dist/postinstall.js +0 -12115
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ var noopAls = {
|
|
|
113
113
|
var als = noopAls;
|
|
114
114
|
try {
|
|
115
115
|
if (typeof process !== "undefined" && process.versions?.node) {
|
|
116
|
-
const mod = await import("async_hooks");
|
|
116
|
+
const mod = await import("node:async_hooks");
|
|
117
117
|
als = new mod.AsyncLocalStorage();
|
|
118
118
|
}
|
|
119
119
|
} catch {
|
|
@@ -476,9 +476,9 @@ var RateLimiter = class {
|
|
|
476
476
|
};
|
|
477
477
|
|
|
478
478
|
// src/config.ts
|
|
479
|
-
import { readFileSync, writeFileSync, mkdirSync } from "fs";
|
|
480
|
-
import { join } from "path";
|
|
481
|
-
import { homedir } from "os";
|
|
479
|
+
import { readFileSync, writeFileSync, mkdirSync } from "node:fs";
|
|
480
|
+
import { join } from "node:path";
|
|
481
|
+
import { homedir } from "node:os";
|
|
482
482
|
function configPaths() {
|
|
483
483
|
const dir = join(homedir(), ".mindstudio");
|
|
484
484
|
return { dir, file: join(dir, "config.json") };
|
|
@@ -3115,12 +3115,12 @@ var DbReadBatching = class {
|
|
|
3115
3115
|
};
|
|
3116
3116
|
|
|
3117
3117
|
// src/files/store.ts
|
|
3118
|
-
import { createHash, randomUUID } from "crypto";
|
|
3119
|
-
import { createReadStream, createWriteStream } from "fs";
|
|
3120
|
-
import { readFile, stat, writeFile } from "fs/promises";
|
|
3121
|
-
import { basename } from "path";
|
|
3122
|
-
import { Readable } from "stream";
|
|
3123
|
-
import { pipeline } from "stream/promises";
|
|
3118
|
+
import { createHash, randomUUID } from "node:crypto";
|
|
3119
|
+
import { createReadStream, createWriteStream } from "node:fs";
|
|
3120
|
+
import { readFile, stat, writeFile } from "node:fs/promises";
|
|
3121
|
+
import { basename } from "node:path";
|
|
3122
|
+
import { Readable } from "node:stream";
|
|
3123
|
+
import { pipeline } from "node:stream/promises";
|
|
3124
3124
|
function fileUrl(access, store, key) {
|
|
3125
3125
|
const path = key.split("/").map(encodeURIComponent).join("/");
|
|
3126
3126
|
return `/_/files/${access}/${store}/${path}`;
|
|
@@ -3668,7 +3668,7 @@ function createFiles(call, runStep) {
|
|
|
3668
3668
|
}
|
|
3669
3669
|
|
|
3670
3670
|
// src/datasources/source.ts
|
|
3671
|
-
import { createHash as createHash2 } from "crypto";
|
|
3671
|
+
import { createHash as createHash2 } from "node:crypto";
|
|
3672
3672
|
var DICTIONARY_PAGE_ENTRIES = 1e4;
|
|
3673
3673
|
var DICTIONARY_PAGE_BYTES = 4e6;
|
|
3674
3674
|
var REMOVE_WHERE_MAX_PAGES = 100;
|
|
@@ -4345,7 +4345,7 @@ function createEvents(call) {
|
|
|
4345
4345
|
}
|
|
4346
4346
|
|
|
4347
4347
|
// src/browser/index.ts
|
|
4348
|
-
import { randomUUID as randomUUID2 } from "crypto";
|
|
4348
|
+
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
4349
4349
|
var RETRYABLE_STATUSES = /* @__PURE__ */ new Set([502, 503, 504]);
|
|
4350
4350
|
var RETRY_BACKOFFS_MS = [1e3, 2e3, 4e3, 8e3, 15e3, 15e3, 15e3];
|
|
4351
4351
|
var MAX_TOOL_STEPS = 20;
|
|
@@ -4857,7 +4857,7 @@ function createBrowser(call, steps) {
|
|
|
4857
4857
|
}
|
|
4858
4858
|
|
|
4859
4859
|
// src/task/local.ts
|
|
4860
|
-
import { randomUUID as randomUUID3 } from "crypto";
|
|
4860
|
+
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
4861
4861
|
|
|
4862
4862
|
// src/generated/metadata.ts
|
|
4863
4863
|
var stepMetadata = {
|
|
@@ -9487,7 +9487,7 @@ function defineJewel(method, config) {
|
|
|
9487
9487
|
}
|
|
9488
9488
|
|
|
9489
9489
|
// src/mapper/index.ts
|
|
9490
|
-
import { gzipSync } from "zlib";
|
|
9490
|
+
import { gzipSync } from "node:zlib";
|
|
9491
9491
|
function documents(list) {
|
|
9492
9492
|
return {
|
|
9493
9493
|
kind: "documents",
|
|
@@ -10209,4 +10209,4 @@ export {
|
|
|
10209
10209
|
voice,
|
|
10210
10210
|
waitUntil
|
|
10211
10211
|
};
|
|
10212
|
-
//# sourceMappingURL=index.js.map
|
|
10212
|
+
//# sourceMappingURL=index.js.map
|