(sourcePath, cwd)
| 679 | } |
| 680 | |
| 681 | function externalAgentSessionMigration(sourcePath, cwd) { |
| 682 | return { |
| 683 | migrationItems: [ |
| 684 | { |
| 685 | itemType: "SESSIONS", |
| 686 | description: `Transfer Claude session ${path.basename(sourcePath)}`, |
| 687 | cwd: null, |
| 688 | details: { |
| 689 | plugins: [], |
| 690 | sessions: [{ path: sourcePath, cwd, title: null }], |
| 691 | mcpServers: [], |
| 692 | hooks: [], |
| 693 | subagents: [], |
| 694 | commands: [] |
| 695 | } |
| 696 | } |
| 697 | ] |
| 698 | }; |
| 699 | } |
| 700 | |
| 701 | async function requestExternalAgentSessionImport(client, params) { |
| 702 | const previousHandler = client.notificationHandler; |
no outgoing calls
no test coverage detected