Files
Zecheng Zhang 3bbb791217 chore(agents): upgrade the agent SDKs, and follow deepagents' new grep cap
Every agent SDK was resolving to the floor of its own range, so the adapters
were being tested against builds a month older than the pins implied. Two were
outside their caret entirely (@openai/agents 0.13.5 with 0.16.0 published,
pi-coding-agent 0.80.10 with 0.84.2). The examples workspace carries the same
pin set and was bumped with it.

deepagents 0.7.6 added max_count to BackendProtocol.grep/agrep. mypy caught the
incompatible override; TypeScript accepted the shorter signature structurally
and typechecked clean, so both sides are fixed. max_count is a total cap across
files, which is not what grep -m means, so it is applied to the collected
matches rather than pushed onto the command line, and truncated is only set
when matches were actually dropped.

dsh-shell moves to the 0.1.0 line to match dsh-fs. DeepSeek relicensed between
the two (BSD-3-Clause and restricted, to MIT and public), and the published
types are identical. That family tags its 0.1.0 line as next while latest still
points at 0.0.x, so the siblings are pinned in pnpm.overrides.

Clears a low advisory on @ai-sdk/provider-utils that reached examples through
mastra 1.51's @ai-sdk/ui-utils, which 1.59 drops. Both audits are clean.

Note: @opencode-ai/plugin 1.18.18 pulls ini@7, which needs node >= 24.15.0.
CI already resolves above that floor.
2026-08-15 04:20:57 -07:00

55 lines
1.6 KiB
JSON

{
"name": "@struktoai/mirage-examples",
"private": true,
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@ai-sdk/openai": "^4.0.42",
"@anthropic-ai/claude-agent-sdk": "^0.3.233",
"@deepseek-ai/cordis": "^4.0.1",
"@deepseek-ai/dsh-fs": "0.0.1-rc.1",
"@deepseek-ai/dsh-shell": "0.0.1-rc.5",
"@earendil-works/pi-coding-agent": "^0.84.2",
"@langchain/anthropic": "^1.5.6",
"@langchain/core": "^1.2.8",
"@langchain/langgraph": "^1.4.10",
"@langchain/langgraph-checkpoint": "^1.1.3",
"@langchain/langgraph-sdk": "^1.9.29",
"@mastra/core": "^1.59.0",
"@openai/agents": "^0.16.0",
"@opencode-ai/plugin": "^1.18.18",
"@opencode-ai/sdk": "^1.18.18",
"@struktoai/mirage-agents": "workspace:*",
"@struktoai/mirage-browser": "workspace:*",
"@struktoai/mirage-cli": "workspace:*",
"@struktoai/mirage-core": "workspace:*",
"@struktoai/mirage-dsh": "workspace:*",
"@struktoai/mirage-node": "workspace:*",
"ai": "^7.0.66",
"deepagents": "^1.12.4",
"langchain": "^1.5.9",
"zod": "^4.0.0"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.0.0",
"@aws-sdk/s3-request-presigner": "^3.0.0",
"@daytona/sdk": "^0.175.0",
"@lancedb/lancedb": "^0.30.0",
"apache-arrow": "^21.0.0",
"@types/node": "^22.0.0",
"@zkochan/fuse-native": "^0.1.0",
"dotenv": "^16.0.0",
"imapflow": "^1.3.2",
"mailparser": "^3.9.8",
"mongodb": "^7.2.0",
"mongodb-memory-server": "^11.1.0",
"nodemailer": "^9.0.1",
"pyodide": "^0.29.3",
"redis": "^5.0.0",
"tsx": "^4.20.0",
"typescript": "^6.0.0"
}
}