@deepagents/experimental 7.1.0 → 7.1.2
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/README.md +0 -1
- package/dist/index.js +186 -232
- package/dist/index.js.map +4 -4
- package/dist/providers/account-tokens.d.ts +0 -2
- package/dist/providers/account-tokens.d.ts.map +1 -1
- package/dist/providers/claude/index.js +67 -78
- package/dist/providers/claude/index.js.map +3 -3
- package/dist/providers/claude/local-credentials.d.ts +1 -1
- package/dist/providers/claude/local-credentials.d.ts.map +1 -1
- package/dist/providers/codex/index.js +65 -76
- package/dist/providers/codex/index.js.map +3 -3
- package/dist/providers/codex/local-credentials.d.ts +1 -1
- package/dist/providers/codex/local-credentials.d.ts.map +1 -1
- package/dist/zukhruf/index.d.ts +0 -1
- package/dist/zukhruf/index.d.ts.map +1 -1
- package/dist/zukhruf/index.js +186 -232
- package/dist/zukhruf/index.js.map +4 -4
- package/dist/zukhruf/mailbox/coordinator.d.ts.map +1 -1
- package/dist/zukhruf/mailbox/sqlite.store.d.ts.map +1 -1
- package/dist/zukhruf/plugins/conversation-scheduling/index.js +13 -0
- package/dist/zukhruf/plugins/conversation-scheduling/index.js.map +3 -3
- package/dist/zukhruf/plugins/http/index.d.ts.map +1 -1
- package/dist/zukhruf/plugins/http/index.js +20 -164
- package/dist/zukhruf/plugins/http/index.js.map +4 -4
- package/dist/zukhruf/plugins/schedules/http.d.ts.map +1 -1
- package/dist/zukhruf/plugins/schedules/http.js +37 -180
- package/dist/zukhruf/plugins/schedules/http.js.map +4 -4
- package/dist/zukhruf/plugins/schedules/index.js +13 -0
- package/dist/zukhruf/plugins/schedules/index.js.map +3 -3
- package/dist/zukhruf/plugins/uploads/http.d.ts.map +1 -1
- package/dist/zukhruf/plugins/uploads/http.js +30 -173
- package/dist/zukhruf/plugins/uploads/http.js.map +4 -4
- package/dist/zukhruf/queue/pg-boss.turn-queue.d.ts +6 -2
- package/dist/zukhruf/queue/pg-boss.turn-queue.d.ts.map +1 -1
- package/dist/zukhruf/runtime/conversation-status/projector.d.ts.map +1 -1
- package/package.json +23 -9
- package/dist/zukhruf/plugins/http/parse.d.ts +0 -3
- package/dist/zukhruf/plugins/http/parse.d.ts.map +0 -1
- package/dist/zukhruf/plugins/http/validator.d.ts +0 -34
- package/dist/zukhruf/plugins/http/validator.d.ts.map +0 -1
- package/dist/zukhruf/render-turn.d.ts +0 -9
- package/dist/zukhruf/render-turn.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepagents/experimental",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,61 +21,73 @@
|
|
|
21
21
|
"exports": {
|
|
22
22
|
"./package.json": "./package.json",
|
|
23
23
|
".": {
|
|
24
|
+
"@deepagents/source": "./src/index.ts",
|
|
24
25
|
"types": "./dist/index.d.ts",
|
|
25
26
|
"import": "./dist/index.js",
|
|
26
27
|
"default": "./dist/index.js"
|
|
27
28
|
},
|
|
28
29
|
"./coding-agent-reminders": {
|
|
30
|
+
"@deepagents/source": "./src/coding-agent-reminders/index.ts",
|
|
29
31
|
"types": "./dist/coding-agent-reminders/index.d.ts",
|
|
30
32
|
"import": "./dist/coding-agent-reminders/index.js",
|
|
31
33
|
"default": "./dist/coding-agent-reminders/index.js"
|
|
32
34
|
},
|
|
33
35
|
"./providers/codex": {
|
|
36
|
+
"@deepagents/source": "./src/providers/codex/index.ts",
|
|
34
37
|
"types": "./dist/providers/codex/index.d.ts",
|
|
35
38
|
"import": "./dist/providers/codex/index.js",
|
|
36
39
|
"default": "./dist/providers/codex/index.js"
|
|
37
40
|
},
|
|
38
41
|
"./providers/claude": {
|
|
42
|
+
"@deepagents/source": "./src/providers/claude/index.ts",
|
|
39
43
|
"types": "./dist/providers/claude/index.d.ts",
|
|
40
44
|
"import": "./dist/providers/claude/index.js",
|
|
41
45
|
"default": "./dist/providers/claude/index.js"
|
|
42
46
|
},
|
|
43
47
|
"./zukhruf": {
|
|
48
|
+
"@deepagents/source": "./src/zukhruf/index.ts",
|
|
44
49
|
"types": "./dist/zukhruf/index.d.ts",
|
|
45
50
|
"import": "./dist/zukhruf/index.js",
|
|
46
51
|
"default": "./dist/zukhruf/index.js"
|
|
47
52
|
},
|
|
48
53
|
"./zukhruf/mcp": {
|
|
54
|
+
"@deepagents/source": "./src/zukhruf/plugins/mcp/index.ts",
|
|
49
55
|
"types": "./dist/zukhruf/plugins/mcp/index.d.ts",
|
|
50
56
|
"import": "./dist/zukhruf/plugins/mcp/index.js",
|
|
51
57
|
"default": "./dist/zukhruf/plugins/mcp/index.js"
|
|
52
58
|
},
|
|
53
59
|
"./zukhruf/http": {
|
|
60
|
+
"@deepagents/source": "./src/zukhruf/plugins/http/index.ts",
|
|
54
61
|
"types": "./dist/zukhruf/plugins/http/index.d.ts",
|
|
55
62
|
"import": "./dist/zukhruf/plugins/http/index.js",
|
|
56
63
|
"default": "./dist/zukhruf/plugins/http/index.js"
|
|
57
64
|
},
|
|
58
65
|
"./zukhruf/conversation-scheduling": {
|
|
66
|
+
"@deepagents/source": "./src/zukhruf/plugins/conversation-scheduling/index.ts",
|
|
59
67
|
"types": "./dist/zukhruf/plugins/conversation-scheduling/index.d.ts",
|
|
60
68
|
"import": "./dist/zukhruf/plugins/conversation-scheduling/index.js",
|
|
61
69
|
"default": "./dist/zukhruf/plugins/conversation-scheduling/index.js"
|
|
62
70
|
},
|
|
63
71
|
"./zukhruf/schedules": {
|
|
72
|
+
"@deepagents/source": "./src/zukhruf/plugins/schedules/index.ts",
|
|
64
73
|
"types": "./dist/zukhruf/plugins/schedules/index.d.ts",
|
|
65
74
|
"import": "./dist/zukhruf/plugins/schedules/index.js",
|
|
66
75
|
"default": "./dist/zukhruf/plugins/schedules/index.js"
|
|
67
76
|
},
|
|
68
77
|
"./zukhruf/schedules/http": {
|
|
78
|
+
"@deepagents/source": "./src/zukhruf/plugins/schedules/http.ts",
|
|
69
79
|
"types": "./dist/zukhruf/plugins/schedules/http.d.ts",
|
|
70
80
|
"import": "./dist/zukhruf/plugins/schedules/http.js",
|
|
71
81
|
"default": "./dist/zukhruf/plugins/schedules/http.js"
|
|
72
82
|
},
|
|
73
83
|
"./zukhruf/uploads": {
|
|
84
|
+
"@deepagents/source": "./src/zukhruf/plugins/uploads/index.ts",
|
|
74
85
|
"types": "./dist/zukhruf/plugins/uploads/index.d.ts",
|
|
75
86
|
"import": "./dist/zukhruf/plugins/uploads/index.js",
|
|
76
87
|
"default": "./dist/zukhruf/plugins/uploads/index.js"
|
|
77
88
|
},
|
|
78
89
|
"./zukhruf/uploads/http": {
|
|
90
|
+
"@deepagents/source": "./src/zukhruf/plugins/uploads/http.ts",
|
|
79
91
|
"types": "./dist/zukhruf/plugins/uploads/http.d.ts",
|
|
80
92
|
"import": "./dist/zukhruf/plugins/uploads/http.js",
|
|
81
93
|
"default": "./dist/zukhruf/plugins/uploads/http.js"
|
|
@@ -95,12 +107,17 @@
|
|
|
95
107
|
"@ai-sdk/code-mode": "^1.0.84",
|
|
96
108
|
"@ai-sdk/mcp": "^2.0.66",
|
|
97
109
|
"@ai-sdk/openai": "^4.0.83",
|
|
98
|
-
"@
|
|
99
|
-
"@
|
|
100
|
-
"@deepagents/
|
|
110
|
+
"@ai-sdk/provider": "^4.0.21",
|
|
111
|
+
"@ai-sdk/provider-utils": "^5.0.53",
|
|
112
|
+
"@deepagents/compaction": "7.1.2",
|
|
113
|
+
"@deepagents/context": "7.1.2",
|
|
114
|
+
"@deepagents/elements": "7.1.2",
|
|
101
115
|
"@iarna/toml": "^2.2.5",
|
|
102
116
|
"@napi-rs/keyring": "^2.1.0",
|
|
103
117
|
"@opencoredev/loginwithchatgpt-core": "^0.2.0",
|
|
118
|
+
"@sdk-it/hono": "^0.46.7",
|
|
119
|
+
"@zukhruf/async": "^0.3.15",
|
|
120
|
+
"@zukhruf/mutex": "^0.3.14",
|
|
104
121
|
"ai": "^7.0.127",
|
|
105
122
|
"atomically": "^2.1.1",
|
|
106
123
|
"cron-parser": "5.6.2",
|
|
@@ -108,20 +125,17 @@
|
|
|
108
125
|
"fast-content-type-parse": "^3.0.0",
|
|
109
126
|
"hono": "^4.12.33",
|
|
110
127
|
"just-bash": "^3.2.0",
|
|
128
|
+
"p-memoize": "^8.0.0",
|
|
111
129
|
"pg-boss": "^12.29.0",
|
|
112
|
-
"proper-lockfile": "^4.1.2",
|
|
113
130
|
"rrule": "^2.8.1",
|
|
114
131
|
"tiny-tfidf": "^1.0.0",
|
|
115
132
|
"uuid": "^14.0.1",
|
|
116
133
|
"yaml": "^2.9.0",
|
|
117
|
-
"zod": "^4.4.3"
|
|
118
|
-
"@ai-sdk/provider-utils": "^5.0.53",
|
|
119
|
-
"@ai-sdk/provider": "^4.0.21"
|
|
134
|
+
"zod": "^4.4.3"
|
|
120
135
|
},
|
|
121
136
|
"devDependencies": {
|
|
122
137
|
"@ai-sdk/provider": "^4.0.21",
|
|
123
138
|
"@electric-sql/pglite": "^0.5.4",
|
|
124
|
-
"@types/proper-lockfile": "^4.1.4",
|
|
125
139
|
"just-bash": "^3.2.0",
|
|
126
140
|
"msw": "^3.0.2"
|
|
127
141
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../../src/zukhruf/plugins/http/parse.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAQpB,wBAAsB,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EACjD,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EACtB,KAAK,EAAE,OAAO,6CAuBf"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { MiddlewareHandler } from 'hono';
|
|
2
|
-
import z from 'zod';
|
|
3
|
-
type ContentType = 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain';
|
|
4
|
-
type ValidatorConfig = Record<string, {
|
|
5
|
-
select: unknown;
|
|
6
|
-
against: z.ZodTypeAny;
|
|
7
|
-
}>;
|
|
8
|
-
/** Each selected input's schema, under the input's name. */
|
|
9
|
-
type InputShape<T extends ValidatorConfig> = {
|
|
10
|
-
[K in keyof T]: T[K]['against'];
|
|
11
|
-
};
|
|
12
|
-
type ExtractInput<T extends ValidatorConfig> = z.output<ReturnType<typeof inputSchema<T>>>;
|
|
13
|
-
/** The parsed request parts a selector picks its inputs from. */
|
|
14
|
-
interface RequestPayload {
|
|
15
|
-
body: unknown;
|
|
16
|
-
query: Record<string, string | null | undefined>;
|
|
17
|
-
queries: Record<string, (string | null)[]>;
|
|
18
|
-
params: Record<string, string>;
|
|
19
|
-
headers: Record<string, string | undefined>;
|
|
20
|
-
}
|
|
21
|
-
type SelectorFn<T> = (payload: RequestPayload) => T;
|
|
22
|
-
type ValidateMiddleware<T extends ValidatorConfig> = MiddlewareHandler<{
|
|
23
|
-
Variables: {
|
|
24
|
-
input: ExtractInput<T>;
|
|
25
|
-
};
|
|
26
|
-
}>;
|
|
27
|
-
declare function inputSchema<T extends ValidatorConfig>(config: T): z.ZodObject<{ -readonly [P in keyof InputShape<T>]: InputShape<T>[P]; }, z.core.$strip>;
|
|
28
|
-
export declare function validate<T extends ValidatorConfig>(selector: SelectorFn<T>): ValidateMiddleware<T>;
|
|
29
|
-
export declare function validate<T extends ValidatorConfig>(expectedContentTypeOrSelector: ContentType, selector: SelectorFn<T>): ValidateMiddleware<T>;
|
|
30
|
-
export declare const openapi: typeof validate;
|
|
31
|
-
export declare const consume: (contentType: ContentType) => MiddlewareHandler<any, string, {}, Response>;
|
|
32
|
-
export declare function verifyContentType(actual: string | undefined, expected: ContentType): asserts actual is ContentType;
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=validator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version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,YAAY,CAAC,CAAC,CAAC,CAAC;KACxB,CAAC;CACH,CAAC,CAAC;AAEH,iBAAS,WAAW,CAAC,CAAC,SAAS,eAAe,EAAE,MAAM,EAAE,CAAC,2FAMxD;AAeD,wBAAgB,QAAQ,CAAC,CAAC,SAAS,eAAe,EAChD,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,GACtB,kBAAkB,CAAC,CAAC,CAAC,CAAC;AACzB,wBAAgB,QAAQ,CAAC,CAAC,SAAS,eAAe,EAChD,6BAA6B,EAAE,WAAW,EAC1C,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,GACtB,kBAAkB,CAAC,CAAC,CAAC,CAAC;AAiEzB,eAAO,MAAM,OAAO,iBAAW,CAAC;AAEhC,eAAO,MAAM,OAAO,GAAI,aAAa,WAAW,iDAK/C,CAAC;AAEF,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,QAAQ,EAAE,WAAW,GACpB,OAAO,CAAC,MAAM,IAAI,WAAW,CAoB/B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { UIMessageChunk } from 'ai';
|
|
2
|
-
/**
|
|
3
|
-
* Render one turn stream as a conversation: assistant text streams raw, each
|
|
4
|
-
* tool call becomes a single dim line, and failures become a single red line.
|
|
5
|
-
* Reasoning shows up only as one dim ellipsis so silence never looks like a
|
|
6
|
-
* hang. Everything else in the chunk vocabulary is deliberately dropped.
|
|
7
|
-
*/
|
|
8
|
-
export declare function renderTurn(stream: ReadableStream<UIMessageChunk>): Promise<void>;
|
|
9
|
-
//# sourceMappingURL=render-turn.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-turn.d.ts","sourceRoot":"","sources":["../../src/zukhruf/render-turn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AA+BzC;;;;;GAKG;AACH,wBAAsB,UAAU,CAC9B,MAAM,EAAE,cAAc,CAAC,cAAc,CAAC,GACrC,OAAO,CAAC,IAAI,CAAC,CAgDf"}
|