managed-deepagents 0.5.3-dev.108 → 0.5.3-dev.110
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 +12 -1
- package/package.json +14 -12
- package/types/index.d.ts +6 -0
- package/types/markdown-md.d.ts +14 -0
package/README.md
CHANGED
|
@@ -136,14 +136,25 @@ Create one file per schedule under `schedules/` and export a named `schedule`:
|
|
|
136
136
|
```ts
|
|
137
137
|
// schedules/daily-digest.ts
|
|
138
138
|
import { defineSchedule } from "managed-deepagents";
|
|
139
|
+
import prompt from "./daily-digest.md" with { type: "text" };
|
|
139
140
|
|
|
140
141
|
export const schedule = defineSchedule({
|
|
141
142
|
cron: "0 8 * * 1-5",
|
|
142
143
|
timezone: "America/Los_Angeles",
|
|
143
|
-
prompt
|
|
144
|
+
prompt,
|
|
144
145
|
});
|
|
145
146
|
```
|
|
146
147
|
|
|
148
|
+
```md
|
|
149
|
+
<!-- schedules/daily-digest.md -->
|
|
150
|
+
Write the daily digest.
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
`mda` inlines `import … with { type: "text" }` into a string constant at compile
|
|
154
|
+
time. The package also ships ambient `*.md` typings, so TypeScript accepts the
|
|
155
|
+
import once you depend on `managed-deepagents` — no project-local
|
|
156
|
+
`declare module "*.md"` needed.
|
|
157
|
+
|
|
147
158
|
`mda deploy` reconciles schedules as LangSmith cron jobs after the deployment is
|
|
148
159
|
live. Declarations must be statically serializable literals or top-level
|
|
149
160
|
constants; prompt schedules become user-message input, and stateless runs clean
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "managed-deepagents",
|
|
3
|
-
"version": "0.5.3-dev.
|
|
3
|
+
"version": "0.5.3-dev.110",
|
|
4
4
|
"description": "Managed Deep Agents — the `defineDeepAgent` authoring interface plus the CLI that compiles and deploys a code-first Deep Agent repository to a managed LangGraph runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"langchain",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "./dist/index.js",
|
|
20
|
-
"types": "./
|
|
20
|
+
"types": "./types/index.d.ts",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
-
"types": "./
|
|
23
|
+
"types": "./types/index.d.ts",
|
|
24
24
|
"default": "./dist/index.js"
|
|
25
25
|
},
|
|
26
26
|
"./runtime": {
|
|
@@ -33,10 +33,12 @@
|
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|
|
36
|
+
"types",
|
|
36
37
|
"bin/mda.mjs"
|
|
37
38
|
],
|
|
38
39
|
"scripts": {
|
|
39
|
-
"build": "
|
|
40
|
+
"build": "node scripts/build.mjs",
|
|
41
|
+
"compile": "tsc -p tsconfig.json",
|
|
40
42
|
"clean": "rm -rf dist",
|
|
41
43
|
"format": "oxfmt --config ../../.oxfmtrc.jsonc --write src",
|
|
42
44
|
"format:check": "oxfmt --config ../../.oxfmtrc.jsonc --check src",
|
|
@@ -50,7 +52,7 @@
|
|
|
50
52
|
"node": ">=22"
|
|
51
53
|
},
|
|
52
54
|
"dependencies": {
|
|
53
|
-
"@langchain/core": "^1.2.
|
|
55
|
+
"@langchain/core": "^1.2.4",
|
|
54
56
|
"@langchain/langgraph": "^1.4.9",
|
|
55
57
|
"@langchain/langgraph-sdk": "^1.9.28",
|
|
56
58
|
"@langchain/mcp-adapters": "^1.1.3",
|
|
@@ -58,18 +60,18 @@
|
|
|
58
60
|
"deepagents": "^1.12.1",
|
|
59
61
|
"hono": "^4.12.32",
|
|
60
62
|
"jose": "^6.2.4",
|
|
61
|
-
"langchain": "^1.5.
|
|
63
|
+
"langchain": "^1.5.4",
|
|
62
64
|
"langsmith": "^0.8.9",
|
|
63
65
|
"uuid": "^14.0.1",
|
|
64
66
|
"zod": "^4.4.3"
|
|
65
67
|
},
|
|
66
68
|
"optionalDependencies": {
|
|
67
|
-
"@langchain/managed-deepagents-darwin-arm64": "0.5.3-dev.
|
|
68
|
-
"@langchain/managed-deepagents-darwin-x64": "0.5.3-dev.
|
|
69
|
-
"@langchain/managed-deepagents-linux-arm64": "0.5.3-dev.
|
|
70
|
-
"@langchain/managed-deepagents-linux-x64": "0.5.3-dev.
|
|
71
|
-
"@langchain/managed-deepagents-win32-arm64": "0.5.3-dev.
|
|
72
|
-
"@langchain/managed-deepagents-win32-x64": "0.5.3-dev.
|
|
69
|
+
"@langchain/managed-deepagents-darwin-arm64": "0.5.3-dev.110",
|
|
70
|
+
"@langchain/managed-deepagents-darwin-x64": "0.5.3-dev.110",
|
|
71
|
+
"@langchain/managed-deepagents-linux-arm64": "0.5.3-dev.110",
|
|
72
|
+
"@langchain/managed-deepagents-linux-x64": "0.5.3-dev.110",
|
|
73
|
+
"@langchain/managed-deepagents-win32-arm64": "0.5.3-dev.110",
|
|
74
|
+
"@langchain/managed-deepagents-win32-x64": "0.5.3-dev.110"
|
|
73
75
|
},
|
|
74
76
|
"devDependencies": {
|
|
75
77
|
"@types/node": "^26.1.1",
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference path="./markdown-md.d.ts" />
|
|
2
|
+
|
|
3
|
+
// Re-export the implementation specifier; NodeNext resolves it to the adjacent
|
|
4
|
+
// `.d.ts`. Importing `../dist/index.d.ts` directly is invalid (TS2846) for
|
|
5
|
+
// consumers that do not enable `skipLibCheck`.
|
|
6
|
+
export * from "../dist/index.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ambient typings for MDA text-module imports.
|
|
3
|
+
*
|
|
4
|
+
* The CLI inlines `import … from "./file.md" with { type: "text" }` into a
|
|
5
|
+
* string constant at compile time. This declaration makes the same import
|
|
6
|
+
* type-check in authoring projects without a local `*.md` ambient module.
|
|
7
|
+
*
|
|
8
|
+
* Pulled in via `types/index.d.ts` (the package `"types"` entry) so importing
|
|
9
|
+
* `managed-deepagents` loads it automatically.
|
|
10
|
+
*/
|
|
11
|
+
declare module "*.md" {
|
|
12
|
+
const content: string;
|
|
13
|
+
export default content;
|
|
14
|
+
}
|