@mastra/dynamodb 0.0.0-studio-deploy-20260404182525 → 0.0.0-studio-cli-20260504022012
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 +53 -3
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/entities/background-task.d.ts +156 -0
- package/dist/entities/background-task.d.ts.map +1 -0
- package/dist/entities/index.d.ts +154 -0
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/index.cjs +422 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +423 -33
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/background-tasks/index.d.ts +17 -0
- package/dist/storage/domains/background-tasks/index.d.ts.map +1 -0
- package/dist/storage/domains/utils.d.ts.map +1 -1
- package/dist/storage/index.d.ts +2 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,61 @@
|
|
|
1
1
|
# @mastra/dynamodb
|
|
2
2
|
|
|
3
|
-
## 0.0.0-studio-
|
|
3
|
+
## 0.0.0-studio-cli-20260504022012
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- Updated dependencies [[`
|
|
8
|
-
- @mastra/core@0.0.0-studio-
|
|
7
|
+
- Updated dependencies [[`6dcd65f`](https://github.com/mastra-ai/mastra/commit/6dcd65f2a34069e6dc43ba35f1d11119b9b40bef), [`c05c9a1`](https://github.com/mastra-ai/mastra/commit/c05c9a13230988cef6d438a62f37760f31927bc7), [`e24aacb`](https://github.com/mastra-ai/mastra/commit/e24aacba07bd66f5d95b636dc24016fca26b52cf), [`1c2dda8`](https://github.com/mastra-ai/mastra/commit/1c2dda805fbfccc0abf55d4cb20cc34402dc3f0c), [`c721164`](https://github.com/mastra-ai/mastra/commit/c7211643f7ac861f83b19a3757cc921487fc9d75), [`1b55954`](https://github.com/mastra-ai/mastra/commit/1b559541c1e08a10e49d01ffc51a634dfc37a286), [`5adc55e`](https://github.com/mastra-ai/mastra/commit/5adc55e63407be8ee977914957d68bcc2a075ceb), [`70017d7`](https://github.com/mastra-ai/mastra/commit/70017d72ab741b5d7040e2a15c251a317782e39e), [`e4942bc`](https://github.com/mastra-ai/mastra/commit/e4942bc7fdc903572f7d84f26d5e15f9d39c763d)]:
|
|
8
|
+
- @mastra/core@0.0.0-studio-cli-20260504022012
|
|
9
|
+
|
|
10
|
+
## 1.0.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Fixed an issue where automatic thread title generation was skipped when using the DynamoDB storage adapter. The adapter was overwriting empty thread titles with a `Thread <id>` placeholder on save, which prevented the title-generation step (gated on an empty title) from running. Empty titles now round-trip correctly so generated titles work the same as with other storage adapters. Resolves #15998. ([#16003](https://github.com/mastra-ai/mastra/pull/16003))
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`1723e09`](https://github.com/mastra-ai/mastra/commit/1723e099829892419ddbfe49287acfeac2522724), [`629f9e9`](https://github.com/mastra-ai/mastra/commit/629f9e9a7e56aa8f129515a3923c5813298790c7), [`25168fb`](https://github.com/mastra-ai/mastra/commit/25168fb9c1de9db7f8171df4f58ceb842c53aa29), [`ab34b5a`](https://github.com/mastra-ai/mastra/commit/ab34b5a2191b8e4353df1dbf7b9155e7d6628d79), [`5fb6c2a`](https://github.com/mastra-ai/mastra/commit/5fb6c2a95c1843cc231704b91354311fc1f34a71), [`2b0f355`](https://github.com/mastra-ai/mastra/commit/2b0f3553be3e9e5524da539a66e5cf82668440a4), [`394f0cf`](https://github.com/mastra-ai/mastra/commit/394f0cfc31e6b4d801219fdef2e9cc69e5bc8682), [`b2deb29`](https://github.com/mastra-ai/mastra/commit/b2deb29412b300c868655b5840463614fbb7962d), [`66644be`](https://github.com/mastra-ai/mastra/commit/66644beac1aa560f0e417956ff007c89341dc382), [`e109607`](https://github.com/mastra-ai/mastra/commit/e10960749251e34d46b480a20648c490fd30381b), [`310b953`](https://github.com/mastra-ai/mastra/commit/310b95345f302dcd5ba3ed862bdc96f059d44122), [`3d7f709`](https://github.com/mastra-ai/mastra/commit/3d7f709b615e588050bb6283c4ee5cfe2978cbde), [`48a42f1`](https://github.com/mastra-ai/mastra/commit/48a42f114a4006a95e0b7a1b5ad1a24815a175c2), [`8091c7c`](https://github.com/mastra-ai/mastra/commit/8091c7c944d15e13fef6d61b6cfd903f158d4006), [`2c83efc`](https://github.com/mastra-ai/mastra/commit/2c83efc4482b3efe50830e3b8b4ba9a8d219edff), [`43f0e1d`](https://github.com/mastra-ai/mastra/commit/43f0e1d5d5a74ba6fc746f2ad89ebe0c64777a7d), [`da0b9e2`](https://github.com/mastra-ai/mastra/commit/da0b9e2ba7ecc560213b426d6c097fe63946086e), [`282a10c`](https://github.com/mastra-ai/mastra/commit/282a10c9446e9922afe80e10e3770481c8ac8a28), [`04151c7`](https://github.com/mastra-ai/mastra/commit/04151c7dcea934b4fe9076708a23fac161195414), [`8091c7c`](https://github.com/mastra-ai/mastra/commit/8091c7c944d15e13fef6d61b6cfd903f158d4006)]:
|
|
17
|
+
- @mastra/core@1.31.0
|
|
18
|
+
|
|
19
|
+
## 1.0.5-alpha.0
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Fixed an issue where automatic thread title generation was skipped when using the DynamoDB storage adapter. The adapter was overwriting empty thread titles with a `Thread <id>` placeholder on save, which prevented the title-generation step (gated on an empty title) from running. Empty titles now round-trip correctly so generated titles work the same as with other storage adapters. Resolves #15998. ([#16003](https://github.com/mastra-ai/mastra/pull/16003))
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`1723e09`](https://github.com/mastra-ai/mastra/commit/1723e099829892419ddbfe49287acfeac2522724), [`629f9e9`](https://github.com/mastra-ai/mastra/commit/629f9e9a7e56aa8f129515a3923c5813298790c7), [`25168fb`](https://github.com/mastra-ai/mastra/commit/25168fb9c1de9db7f8171df4f58ceb842c53aa29), [`ab34b5a`](https://github.com/mastra-ai/mastra/commit/ab34b5a2191b8e4353df1dbf7b9155e7d6628d79), [`5fb6c2a`](https://github.com/mastra-ai/mastra/commit/5fb6c2a95c1843cc231704b91354311fc1f34a71), [`394f0cf`](https://github.com/mastra-ai/mastra/commit/394f0cfc31e6b4d801219fdef2e9cc69e5bc8682), [`3d7f709`](https://github.com/mastra-ai/mastra/commit/3d7f709b615e588050bb6283c4ee5cfe2978cbde), [`48a42f1`](https://github.com/mastra-ai/mastra/commit/48a42f114a4006a95e0b7a1b5ad1a24815a175c2), [`2c83efc`](https://github.com/mastra-ai/mastra/commit/2c83efc4482b3efe50830e3b8b4ba9a8d219edff), [`282a10c`](https://github.com/mastra-ai/mastra/commit/282a10c9446e9922afe80e10e3770481c8ac8a28)]:
|
|
26
|
+
- @mastra/core@1.31.0-alpha.0
|
|
27
|
+
|
|
28
|
+
## 1.0.4
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- dependencies updates: ([#15529](https://github.com/mastra-ai/mastra/pull/15529))
|
|
33
|
+
- Updated dependency [`@aws-sdk/client-dynamodb@^3.1032.0` ↗︎](https://www.npmjs.com/package/@aws-sdk/client-dynamodb/v/3.1032.0) (from `^3.1009.0`, in `dependencies`)
|
|
34
|
+
- Updated dependency [`@aws-sdk/lib-dynamodb@^3.1032.0` ↗︎](https://www.npmjs.com/package/@aws-sdk/lib-dynamodb/v/3.1032.0) (from `^3.1009.0`, in `dependencies`)
|
|
35
|
+
|
|
36
|
+
- Add `BackgroundTasksStorage` domain implementation so `@mastra/core` background task execution works with any storage adapter. ([#15307](https://github.com/mastra-ai/mastra/pull/15307))
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [[`20f59b8`](https://github.com/mastra-ai/mastra/commit/20f59b876cf91199efbc49a0e36b391240708f08), [`aba393e`](https://github.com/mastra-ai/mastra/commit/aba393e2da7390c69b80e516a4f153cda6f09376), [`3d83d06`](https://github.com/mastra-ai/mastra/commit/3d83d06f776f00fb5f4163dddd32a030c5c20844), [`e2687a7`](https://github.com/mastra-ai/mastra/commit/e2687a7408790c384563816a9a28ed06735684c9), [`fdd54cf`](https://github.com/mastra-ai/mastra/commit/fdd54cf612a9af876e9fdd85e534454f6e7dd518), [`6315317`](https://github.com/mastra-ai/mastra/commit/63153175fe9a7b224e5be7c209bbebc01dd9b0d5), [`a371ac5`](https://github.com/mastra-ai/mastra/commit/a371ac534aa1bb368a1acf9d8b313378dfdc787e), [`0474c2b`](https://github.com/mastra-ai/mastra/commit/0474c2b2e7c7e1ad8691dca031284841391ff1ef), [`0a5fa1d`](https://github.com/mastra-ai/mastra/commit/0a5fa1d3cb0583889d06687155f26fd7d2edc76c), [`7e0e63e`](https://github.com/mastra-ai/mastra/commit/7e0e63e2e485e84442351f4c7a79a424c83539dc), [`ea43e64`](https://github.com/mastra-ai/mastra/commit/ea43e646dd95d507694b6112b0bf1df22ad552b2), [`f607106`](https://github.com/mastra-ai/mastra/commit/f607106854c6416c4a07d4082604b9f66d047221), [`30456b6`](https://github.com/mastra-ai/mastra/commit/30456b6b08c8fd17e109dd093b73d93b65e83bc5), [`9d11a8c`](https://github.com/mastra-ai/mastra/commit/9d11a8c1c8924eb975a245a5884d40ca1b7e0491), [`9d3b24b`](https://github.com/mastra-ai/mastra/commit/9d3b24b19407ae9c09586cf7766d38dc4dff4a69), [`00d1b16`](https://github.com/mastra-ai/mastra/commit/00d1b16b401199cb294fa23f43336547db4dca9b), [`47cee3e`](https://github.com/mastra-ai/mastra/commit/47cee3e137fe39109cf7fffd2a8cf47b76dc702e), [`62919a6`](https://github.com/mastra-ai/mastra/commit/62919a6ee0fbf3779ad21a97b1ec6696515d5104), [`d246696`](https://github.com/mastra-ai/mastra/commit/d246696139a3144a5b21b042d41c532688e957e1), [`354f9ce`](https://github.com/mastra-ai/mastra/commit/354f9ce1ca6af2074b6a196a23f8ec30012dccca), [`16e34ca`](https://github.com/mastra-ai/mastra/commit/16e34caa98b9a114b17a6125e4e3fd87f169d0d0), [`7020c06`](https://github.com/mastra-ai/mastra/commit/7020c0690b199d9da337f0e805f16948e557922e), [`8786a61`](https://github.com/mastra-ai/mastra/commit/8786a61fa54ba265f85eeff9985ca39863d18bb6), [`9467ea8`](https://github.com/mastra-ai/mastra/commit/9467ea87695749a53dfc041576410ebf9ee7bb67), [`7338d94`](https://github.com/mastra-ai/mastra/commit/7338d949380cf68b095342e8e42610dc51d557c1), [`c80dc16`](https://github.com/mastra-ai/mastra/commit/c80dc16e113e6cc159f510ffde501ad4711b2189), [`af8a57e`](https://github.com/mastra-ai/mastra/commit/af8a57ed9ba9685ad8601d5b71ae3706da6222f9), [`d63ffdb`](https://github.com/mastra-ai/mastra/commit/d63ffdbb2c11e76fe5ea45faab44bc15460f010c), [`47cee3e`](https://github.com/mastra-ai/mastra/commit/47cee3e137fe39109cf7fffd2a8cf47b76dc702e), [`1bd5104`](https://github.com/mastra-ai/mastra/commit/1bd51048b6da93507276d6623e3fd96a9e1a8944), [`e9837b5`](https://github.com/mastra-ai/mastra/commit/e9837b53699e18711b09e0ca010a4106376f2653), [`8f1b280`](https://github.com/mastra-ai/mastra/commit/8f1b280b7fe6999ec654f160cb69c1a8719e7a57), [`92dcf02`](https://github.com/mastra-ai/mastra/commit/92dcf029294210ac91b090900c1a0555a425c57a), [`0fd90a2`](https://github.com/mastra-ai/mastra/commit/0fd90a215caf5fca8099c15a67ca03e4427747a3), [`8fb2405`](https://github.com/mastra-ai/mastra/commit/8fb2405138f2d208b7962ad03f121ca25bcc28c5), [`12df98c`](https://github.com/mastra-ai/mastra/commit/12df98c4904643d9481f5c78f3bed443725b4c96)]:
|
|
39
|
+
- @mastra/core@1.26.0
|
|
40
|
+
|
|
41
|
+
## 1.0.4-alpha.1
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- dependencies updates: ([#15529](https://github.com/mastra-ai/mastra/pull/15529))
|
|
46
|
+
- Updated dependency [`@aws-sdk/client-dynamodb@^3.1032.0` ↗︎](https://www.npmjs.com/package/@aws-sdk/client-dynamodb/v/3.1032.0) (from `^3.1009.0`, in `dependencies`)
|
|
47
|
+
- Updated dependency [`@aws-sdk/lib-dynamodb@^3.1032.0` ↗︎](https://www.npmjs.com/package/@aws-sdk/lib-dynamodb/v/3.1032.0) (from `^3.1009.0`, in `dependencies`)
|
|
48
|
+
- Updated dependencies [[`20f59b8`](https://github.com/mastra-ai/mastra/commit/20f59b876cf91199efbc49a0e36b391240708f08), [`e2687a7`](https://github.com/mastra-ai/mastra/commit/e2687a7408790c384563816a9a28ed06735684c9), [`8f1b280`](https://github.com/mastra-ai/mastra/commit/8f1b280b7fe6999ec654f160cb69c1a8719e7a57), [`12df98c`](https://github.com/mastra-ai/mastra/commit/12df98c4904643d9481f5c78f3bed443725b4c96)]:
|
|
49
|
+
- @mastra/core@1.26.0-alpha.11
|
|
50
|
+
|
|
51
|
+
## 1.0.4-alpha.0
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- Add `BackgroundTasksStorage` domain implementation so `@mastra/core` background task execution works with any storage adapter. ([#15307](https://github.com/mastra-ai/mastra/pull/15307))
|
|
56
|
+
|
|
57
|
+
- Updated dependencies [[`d63ffdb`](https://github.com/mastra-ai/mastra/commit/d63ffdbb2c11e76fe5ea45faab44bc15460f010c)]:
|
|
58
|
+
- @mastra/core@1.25.1-alpha.0
|
|
9
59
|
|
|
10
60
|
## 1.0.3
|
|
11
61
|
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-dynamodb
|
|
|
3
3
|
description: Documentation for @mastra/dynamodb. Use when working with @mastra/dynamodb APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/dynamodb"
|
|
6
|
-
version: "0.0.0-studio-
|
|
6
|
+
version: "0.0.0-studio-cli-20260504022012"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { Entity } from 'electrodb';
|
|
2
|
+
export declare const backgroundTaskEntity: Entity<string, string, string, {
|
|
3
|
+
model: {
|
|
4
|
+
entity: string;
|
|
5
|
+
version: string;
|
|
6
|
+
service: string;
|
|
7
|
+
};
|
|
8
|
+
attributes: {
|
|
9
|
+
id: {
|
|
10
|
+
type: "string";
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
status: {
|
|
14
|
+
type: "string";
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
toolName: {
|
|
18
|
+
type: "string";
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
toolCallId: {
|
|
22
|
+
type: "string";
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
agentId: {
|
|
26
|
+
type: "string";
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
runId: {
|
|
30
|
+
type: "string";
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
threadId: {
|
|
34
|
+
type: "string";
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
resourceId: {
|
|
38
|
+
type: "string";
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
args: {
|
|
42
|
+
set: (value?: unknown) => string | undefined;
|
|
43
|
+
get: (value?: string) => any;
|
|
44
|
+
type: "string";
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
result: {
|
|
48
|
+
set: (value?: unknown) => string | undefined;
|
|
49
|
+
get: (value?: string) => any;
|
|
50
|
+
type: "string";
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
error: {
|
|
54
|
+
set: (value?: unknown) => string | undefined;
|
|
55
|
+
get: (value?: string) => any;
|
|
56
|
+
type: "string";
|
|
57
|
+
required: false;
|
|
58
|
+
};
|
|
59
|
+
retryCount: {
|
|
60
|
+
type: "number";
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
maxRetries: {
|
|
64
|
+
type: "number";
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
timeoutMs: {
|
|
68
|
+
type: "number";
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
startedAtIso: {
|
|
72
|
+
type: "string";
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
completedAtIso: {
|
|
76
|
+
type: "string";
|
|
77
|
+
required: false;
|
|
78
|
+
};
|
|
79
|
+
createdAt: {
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
readonly required: true;
|
|
82
|
+
readonly readOnly: true;
|
|
83
|
+
readonly set: (value?: Date | string) => string;
|
|
84
|
+
readonly default: () => string;
|
|
85
|
+
};
|
|
86
|
+
updatedAt: {
|
|
87
|
+
readonly type: "string";
|
|
88
|
+
readonly required: true;
|
|
89
|
+
readonly set: (value?: Date | string) => string;
|
|
90
|
+
readonly default: () => string;
|
|
91
|
+
};
|
|
92
|
+
metadata: {
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
readonly set: (value?: Record<string, unknown> | string) => string | undefined;
|
|
95
|
+
readonly get: (value?: string) => any;
|
|
96
|
+
};
|
|
97
|
+
ttl: {
|
|
98
|
+
readonly type: "number";
|
|
99
|
+
readonly required: false;
|
|
100
|
+
};
|
|
101
|
+
expiresAt: {
|
|
102
|
+
readonly type: "number";
|
|
103
|
+
readonly required: false;
|
|
104
|
+
};
|
|
105
|
+
entity: {
|
|
106
|
+
type: "string";
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
indexes: {
|
|
111
|
+
primary: {
|
|
112
|
+
pk: {
|
|
113
|
+
field: string;
|
|
114
|
+
composite: ("entity" | "id")[];
|
|
115
|
+
};
|
|
116
|
+
sk: {
|
|
117
|
+
field: string;
|
|
118
|
+
composite: "entity"[];
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
byAgent: {
|
|
122
|
+
index: string;
|
|
123
|
+
pk: {
|
|
124
|
+
field: string;
|
|
125
|
+
composite: ("entity" | "agentId")[];
|
|
126
|
+
};
|
|
127
|
+
sk: {
|
|
128
|
+
field: string;
|
|
129
|
+
composite: "createdAt"[];
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
byRun: {
|
|
133
|
+
index: string;
|
|
134
|
+
pk: {
|
|
135
|
+
field: string;
|
|
136
|
+
composite: ("entity" | "runId")[];
|
|
137
|
+
};
|
|
138
|
+
sk: {
|
|
139
|
+
field: string;
|
|
140
|
+
composite: "createdAt"[];
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
byStatus: {
|
|
144
|
+
index: string;
|
|
145
|
+
pk: {
|
|
146
|
+
field: string;
|
|
147
|
+
composite: ("entity" | "status")[];
|
|
148
|
+
};
|
|
149
|
+
sk: {
|
|
150
|
+
field: string;
|
|
151
|
+
composite: "createdAt"[];
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
}, string>;
|
|
156
|
+
//# sourceMappingURL=background-task.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-task.d.ts","sourceRoot":"","sources":["../../src/entities/background-task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AA2BnC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAnBjB,OAAO;0BAKP,MAAM;;;;;0BALN,OAAO;0BAKP,MAAM;;;;;0BALN,OAAO;0BAKP,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAoHpB,CAAC"}
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -818,5 +818,159 @@ export declare function getElectroDbService(client: DynamoDBDocumentClient, tabl
|
|
|
818
818
|
};
|
|
819
819
|
};
|
|
820
820
|
}, string>;
|
|
821
|
+
background_task: import("electrodb").Entity<string, string, string, {
|
|
822
|
+
model: {
|
|
823
|
+
entity: string;
|
|
824
|
+
version: string;
|
|
825
|
+
service: string;
|
|
826
|
+
};
|
|
827
|
+
attributes: {
|
|
828
|
+
id: {
|
|
829
|
+
type: "string";
|
|
830
|
+
required: true;
|
|
831
|
+
};
|
|
832
|
+
status: {
|
|
833
|
+
type: "string";
|
|
834
|
+
required: true;
|
|
835
|
+
};
|
|
836
|
+
toolName: {
|
|
837
|
+
type: "string";
|
|
838
|
+
required: true;
|
|
839
|
+
};
|
|
840
|
+
toolCallId: {
|
|
841
|
+
type: "string";
|
|
842
|
+
required: true;
|
|
843
|
+
};
|
|
844
|
+
agentId: {
|
|
845
|
+
type: "string";
|
|
846
|
+
required: true;
|
|
847
|
+
};
|
|
848
|
+
runId: {
|
|
849
|
+
type: "string";
|
|
850
|
+
required: true;
|
|
851
|
+
};
|
|
852
|
+
threadId: {
|
|
853
|
+
type: "string";
|
|
854
|
+
required: false;
|
|
855
|
+
};
|
|
856
|
+
resourceId: {
|
|
857
|
+
type: "string";
|
|
858
|
+
required: false;
|
|
859
|
+
};
|
|
860
|
+
args: {
|
|
861
|
+
set: (value?: unknown) => string | undefined;
|
|
862
|
+
get: (value?: string) => any;
|
|
863
|
+
type: "string";
|
|
864
|
+
required: true;
|
|
865
|
+
};
|
|
866
|
+
result: {
|
|
867
|
+
set: (value?: unknown) => string | undefined;
|
|
868
|
+
get: (value?: string) => any;
|
|
869
|
+
type: "string";
|
|
870
|
+
required: false;
|
|
871
|
+
};
|
|
872
|
+
error: {
|
|
873
|
+
set: (value?: unknown) => string | undefined;
|
|
874
|
+
get: (value?: string) => any;
|
|
875
|
+
type: "string";
|
|
876
|
+
required: false;
|
|
877
|
+
};
|
|
878
|
+
retryCount: {
|
|
879
|
+
type: "number";
|
|
880
|
+
required: true;
|
|
881
|
+
};
|
|
882
|
+
maxRetries: {
|
|
883
|
+
type: "number";
|
|
884
|
+
required: true;
|
|
885
|
+
};
|
|
886
|
+
timeoutMs: {
|
|
887
|
+
type: "number";
|
|
888
|
+
required: true;
|
|
889
|
+
};
|
|
890
|
+
startedAtIso: {
|
|
891
|
+
type: "string";
|
|
892
|
+
required: false;
|
|
893
|
+
};
|
|
894
|
+
completedAtIso: {
|
|
895
|
+
type: "string";
|
|
896
|
+
required: false;
|
|
897
|
+
};
|
|
898
|
+
createdAt: {
|
|
899
|
+
readonly type: "string";
|
|
900
|
+
readonly required: true;
|
|
901
|
+
readonly readOnly: true;
|
|
902
|
+
readonly set: (value?: Date | string) => string;
|
|
903
|
+
readonly default: () => string;
|
|
904
|
+
};
|
|
905
|
+
updatedAt: {
|
|
906
|
+
readonly type: "string";
|
|
907
|
+
readonly required: true;
|
|
908
|
+
readonly set: (value?: Date | string) => string;
|
|
909
|
+
readonly default: () => string;
|
|
910
|
+
};
|
|
911
|
+
metadata: {
|
|
912
|
+
readonly type: "string";
|
|
913
|
+
readonly set: (value?: Record<string, unknown> | string) => string | undefined;
|
|
914
|
+
readonly get: (value?: string) => any;
|
|
915
|
+
};
|
|
916
|
+
ttl: {
|
|
917
|
+
readonly type: "number";
|
|
918
|
+
readonly required: false;
|
|
919
|
+
};
|
|
920
|
+
expiresAt: {
|
|
921
|
+
readonly type: "number";
|
|
922
|
+
readonly required: false;
|
|
923
|
+
};
|
|
924
|
+
entity: {
|
|
925
|
+
type: "string";
|
|
926
|
+
required: true;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
indexes: {
|
|
930
|
+
primary: {
|
|
931
|
+
pk: {
|
|
932
|
+
field: string;
|
|
933
|
+
composite: ("entity" | "id")[];
|
|
934
|
+
};
|
|
935
|
+
sk: {
|
|
936
|
+
field: string;
|
|
937
|
+
composite: "entity"[];
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
byAgent: {
|
|
941
|
+
index: string;
|
|
942
|
+
pk: {
|
|
943
|
+
field: string;
|
|
944
|
+
composite: ("entity" | "agentId")[];
|
|
945
|
+
};
|
|
946
|
+
sk: {
|
|
947
|
+
field: string;
|
|
948
|
+
composite: "createdAt"[];
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
byRun: {
|
|
952
|
+
index: string;
|
|
953
|
+
pk: {
|
|
954
|
+
field: string;
|
|
955
|
+
composite: ("entity" | "runId")[];
|
|
956
|
+
};
|
|
957
|
+
sk: {
|
|
958
|
+
field: string;
|
|
959
|
+
composite: "createdAt"[];
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
byStatus: {
|
|
963
|
+
index: string;
|
|
964
|
+
pk: {
|
|
965
|
+
field: string;
|
|
966
|
+
composite: ("entity" | "status")[];
|
|
967
|
+
};
|
|
968
|
+
sk: {
|
|
969
|
+
field: string;
|
|
970
|
+
composite: "createdAt"[];
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
}, string>;
|
|
821
975
|
}>;
|
|
822
976
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAUpC,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiBpF"}
|