@portalcrew/morty 0.4.419 → 0.4.420

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.
@@ -3,7 +3,7 @@ Each component retains its own license and terms.
3
3
 
4
4
  --------------------------------------------------------------------------------
5
5
 
6
- Component: @agentclientprotocol/sdk@2.4.0
6
+ Component: @agentclientprotocol/sdk@2.6.0
7
7
  Declared license: Apache-2.0
8
8
 
9
9
  --- LICENSE ---
@@ -201,7 +201,7 @@ Declared license: Apache-2.0
201
201
 
202
202
  --------------------------------------------------------------------------------
203
203
 
204
- Component: @anthropic-ai/claude-agent-sdk@0.3.319
204
+ Component: @anthropic-ai/claude-agent-sdk@0.3.323
205
205
  Declared license: SEE LICENSE IN README.md
206
206
 
207
207
  --- LICENSE.md ---
@@ -228,7 +228,7 @@ npm install @anthropic-ai/claude-agent-sdk
228
228
 
229
229
  ## The `/core` entry (for apps that bundle the SDK)
230
230
 
231
- `@anthropic-ai/claude-agent-sdk/core` exports the same `query()`, `startup()`, `prewarm()`, `tool()`, `createSdkMcpServer()`, `renameSession()`/`tagSession()`/`deleteSession()`, `resolveSettings()`/`filterEscalatingDefaultMode()` and runtime constants as the root entry, and nothing else — no session listing/reading/import helpers — so its eagerly loaded code is about a quarter of the root's; the settings resolver behind `resolveSettings()` and the code behind the three session mutations load on first call. Unlike the root entry it does **not** inline the SDK's peer dependencies: `zod` (^4, as declared in this package's `peerDependencies`) and `@modelcontextprotocol/sdk` (^1.29) are imported from your install — specifically the `zod/v4` subpath, plus `zod/v3` when the settings resolver loads — which is what you want when your bundler already carries them. (zod 3.25+, which carries the v4 engine under `zod/v4`, also works in practice, but ^4 is the supported range.) Import from **either** the root **or** `/core` in a given process, not both — they are separate bundles, and mixing them loads two copies of the SDK's classes and state. Its types require TypeScript 5.0+.
231
+ `@anthropic-ai/claude-agent-sdk/core` exports the same `query()`, `startup()`, `prewarm()`, `tool()`, `createSdkMcpServer()`, `renameSession()`/`tagSession()`/`deleteSession()`, `resolveSettings()`/`filterEscalatingDefaultMode()`/`matchDeniedModels()` and runtime constants as the root entry, and nothing else — no session listing/reading/import helpers — so its eagerly loaded code is about a quarter of the root's; the settings resolver behind `resolveSettings()`, the matcher behind `matchDeniedModels()` and the code behind the three session mutations load on first call. Unlike the root entry it does **not** inline the SDK's peer dependencies: `zod` (^4, as declared in this package's `peerDependencies`) and `@modelcontextprotocol/sdk` (^1.29) are imported from your install — specifically the `zod/v4` subpath, plus `zod/v3` when the settings resolver loads — which is what you want when your bundler already carries them. (zod 3.25+, which carries the v4 engine under `zod/v4`, also works in practice, but ^4 is the supported range.) Import from **either** the root **or** `/core` in a given process, not both — they are separate bundles, and mixing them loads two copies of the SDK's classes and state. Its types require TypeScript 5.0+.
232
232
 
233
233
  ## Compiled binaries (`bun build --compile`)
234
234
 
@@ -3,7 +3,7 @@ import { createRequire as mortyCreateRequire } from "node:module"; const require
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@portalcrew/morty",
6
- version: "0.4.419",
6
+ version: "0.4.420",
7
7
  description: "Morty CLI for installing, pairing, and operating the Morty background service.",
8
8
  type: "module",
9
9
  bin: {
@@ -43,8 +43,8 @@ var package_default = {
43
43
  },
44
44
  devDependencies: {
45
45
  "@agentclientprotocol/sdk": "catalog:",
46
- "@anthropic-ai/claude-agent-sdk": "0.3.319",
47
- "@anthropic-ai/sdk": "1.6.0",
46
+ "@anthropic-ai/claude-agent-sdk": "0.3.323",
47
+ "@anthropic-ai/sdk": "1.8.0",
48
48
  "@portalcrew/morty-client": "workspace:*",
49
49
  "@portalcrew/morty-relay-test-support": "workspace:*",
50
50
  "@types/node": "catalog:",
@@ -77,4 +77,4 @@ var package_default = {
77
77
  export {
78
78
  package_default
79
79
  };
80
- //# sourceMappingURL=chunk-DF6F5SEF.js.map
80
+ //# sourceMappingURL=chunk-QVCKIIKA.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../package.json"],
4
- "sourcesContent": ["{\n \"name\": \"@portalcrew/morty\",\n \"version\": \"0.4.419\",\n \"description\": \"Morty CLI for installing, pairing, and operating the Morty background service.\",\n \"type\": \"module\",\n \"bin\": {\n \"morty\": \"dist/cli.js\"\n },\n \"files\": [\n \"dist\",\n \"LICENSE\",\n \"NOTICE\",\n \"THIRD-PARTY-NOTICES.txt\"\n ],\n \"engines\": {\n \"node\": \"^22.19.0 || ^24.20.0\"\n },\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/portalcrew/morty.git\",\n \"directory\": \"packages/cli\"\n },\n \"scripts\": {\n \"prebuild\": \"tsc --project src/engine/acp/harness/claude/upstream/tsconfig.json && tsc --project src/engine/acp/harness/pi/upstream/tsconfig.json\",\n \"build\": \"node scripts/build.ts\",\n \"pretypecheck\": \"tsc --project src/engine/acp/harness/claude/upstream/tsconfig.json && tsc --project src/engine/acp/harness/pi/upstream/tsconfig.json\",\n \"start\": \"node dist/cli.js\",\n \"typecheck\": \"tsc --project tsconfig.json && tsc --project tests/tsconfig.json\",\n \"pretest:controlled\": \"pnpm build && pnpm pack:test\",\n \"test:controlled\": \"vitest run tests/sessions tests/runtime\",\n \"pretest:agents\": \"pnpm build && pnpm pack:test\",\n \"test:agents\": \"vitest run tests/agents --maxWorkers=2\",\n \"pack:test\": \"node scripts/pack-test-release.ts\"\n },\n \"dependencies\": {\n \"undici\": \"8.12.4\"\n },\n \"devDependencies\": {\n \"@agentclientprotocol/sdk\": \"catalog:\",\n \"@anthropic-ai/claude-agent-sdk\": \"0.3.319\",\n \"@anthropic-ai/sdk\": \"1.6.0\",\n \"@portalcrew/morty-client\": \"workspace:*\",\n \"@portalcrew/morty-relay-test-support\": \"workspace:*\",\n \"@types/node\": \"catalog:\",\n \"@types/semver\": \"^7.8.0\",\n \"@types/ws\": \"^8.18.2\",\n \"commander\": \"15.1.0\",\n \"drizzle-kit\": \"1.0.0-rc.4\",\n \"drizzle-orm\": \"1.0.0-rc.4\",\n \"esbuild\": \"catalog:\",\n \"semver\": \"^7.8.6\",\n \"valibot\": \"catalog:\",\n \"ws\": \"^8.23.0\",\n \"zod\": \"^4.6.7\",\n \"jsqr\": \"catalog:\",\n \"pngjs\": \"catalog:\",\n \"qrcode\": \"catalog:\",\n \"@types/pngjs\": \"catalog:\",\n \"@types/qrcode\": \"catalog:\"\n },\n \"keywords\": [],\n \"author\": \"The Morty Authors\",\n \"license\": \"Apache-2.0\",\n \"bugs\": {\n \"url\": \"https://github.com/portalcrew/morty/issues\"\n },\n \"homepage\": \"https://morty.build\",\n \"private\": false\n}\n"],
4
+ "sourcesContent": ["{\n \"name\": \"@portalcrew/morty\",\n \"version\": \"0.4.420\",\n \"description\": \"Morty CLI for installing, pairing, and operating the Morty background service.\",\n \"type\": \"module\",\n \"bin\": {\n \"morty\": \"dist/cli.js\"\n },\n \"files\": [\n \"dist\",\n \"LICENSE\",\n \"NOTICE\",\n \"THIRD-PARTY-NOTICES.txt\"\n ],\n \"engines\": {\n \"node\": \"^22.19.0 || ^24.20.0\"\n },\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/portalcrew/morty.git\",\n \"directory\": \"packages/cli\"\n },\n \"scripts\": {\n \"prebuild\": \"tsc --project src/engine/acp/harness/claude/upstream/tsconfig.json && tsc --project src/engine/acp/harness/pi/upstream/tsconfig.json\",\n \"build\": \"node scripts/build.ts\",\n \"pretypecheck\": \"tsc --project src/engine/acp/harness/claude/upstream/tsconfig.json && tsc --project src/engine/acp/harness/pi/upstream/tsconfig.json\",\n \"start\": \"node dist/cli.js\",\n \"typecheck\": \"tsc --project tsconfig.json && tsc --project tests/tsconfig.json\",\n \"pretest:controlled\": \"pnpm build && pnpm pack:test\",\n \"test:controlled\": \"vitest run tests/sessions tests/runtime\",\n \"pretest:agents\": \"pnpm build && pnpm pack:test\",\n \"test:agents\": \"vitest run tests/agents --maxWorkers=2\",\n \"pack:test\": \"node scripts/pack-test-release.ts\"\n },\n \"dependencies\": {\n \"undici\": \"8.12.4\"\n },\n \"devDependencies\": {\n \"@agentclientprotocol/sdk\": \"catalog:\",\n \"@anthropic-ai/claude-agent-sdk\": \"0.3.323\",\n \"@anthropic-ai/sdk\": \"1.8.0\",\n \"@portalcrew/morty-client\": \"workspace:*\",\n \"@portalcrew/morty-relay-test-support\": \"workspace:*\",\n \"@types/node\": \"catalog:\",\n \"@types/semver\": \"^7.8.0\",\n \"@types/ws\": \"^8.18.2\",\n \"commander\": \"15.1.0\",\n \"drizzle-kit\": \"1.0.0-rc.4\",\n \"drizzle-orm\": \"1.0.0-rc.4\",\n \"esbuild\": \"catalog:\",\n \"semver\": \"^7.8.6\",\n \"valibot\": \"catalog:\",\n \"ws\": \"^8.23.0\",\n \"zod\": \"^4.6.7\",\n \"jsqr\": \"catalog:\",\n \"pngjs\": \"catalog:\",\n \"qrcode\": \"catalog:\",\n \"@types/pngjs\": \"catalog:\",\n \"@types/qrcode\": \"catalog:\"\n },\n \"keywords\": [],\n \"author\": \"The Morty Authors\",\n \"license\": \"Apache-2.0\",\n \"bugs\": {\n \"url\": \"https://github.com/portalcrew/morty/issues\"\n },\n \"homepage\": \"https://morty.build\",\n \"private\": false\n}\n"],
5
5
  "mappings": ";;;AAAA;AAAA,EACI,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,aAAe;AAAA,EACf,MAAQ;AAAA,EACR,KAAO;AAAA,IACH,OAAS;AAAA,EACb;AAAA,EACA,OAAS;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AAAA,EACA,SAAW;AAAA,IACP,MAAQ;AAAA,EACZ;AAAA,EACA,eAAiB;AAAA,IACb,QAAU;AAAA,EACd;AAAA,EACA,YAAc;AAAA,IACV,MAAQ;AAAA,IACR,KAAO;AAAA,IACP,WAAa;AAAA,EACjB;AAAA,EACA,SAAW;AAAA,IACP,UAAY;AAAA,IACZ,OAAS;AAA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