Skip to content

Commit 6d60505

Browse files
committed
chore: update package name for npm
1 parent 4f9986f commit 6d60505

29 files changed

Lines changed: 50 additions & 42 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Agent of Parliament
22

33
[![CI](https://github.com/jamesmccomish/mp-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/jamesmccomish/mp-mcp/actions/workflows/ci.yml)
4-
[![npm](https://img.shields.io/npm/v/mp-mcp.svg?label=mp-mcp)](https://www.npmjs.com/package/mp-mcp)
4+
[![npm](https://img.shields.io/npm/v/@jamesmccomish/mp-mcp.svg?label=@jamesmccomish/mp-mcp)](https://www.npmjs.com/package/@jamesmccomish/mp-mcp)
55
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
66
[![data: OPL v3.0](https://img.shields.io/badge/data-OPL%20v3.0-00603c.svg)](https://www.parliament.uk/site-information/copyright-parliament/open-parliament-licence/)
77

apps/agent-of-parliament/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { type ChatTurn, runAgentTurn } from '@/lib/agent/connector';
99
import type { AgentEvent, CardKind } from '@/lib/agent/events';
1010
import { highlightsFromCards } from '@/lib/agent/highlights';
1111
import { clearKey, getKey, setKey } from '@/lib/key/keyVault';
12-
import type { Citation } from 'mp-mcp/types';
12+
import type { Citation } from '@jamesmccomish/mp-mcp/types';
1313
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
1414
import styles from './page.module.css';
1515

apps/agent-of-parliament/components/cards/CardShell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Citation } from 'mp-mcp/types';
1+
import type { Citation } from '@jamesmccomish/mp-mcp/types';
22
import type { ReactNode } from 'react';
33
import styles from './CardShell.module.css';
44

apps/agent-of-parliament/components/cards/CardView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { CardKind } from '@/lib/agent/events';
2-
import type { Citation } from 'mp-mcp/types';
2+
import type { Citation } from '@jamesmccomish/mp-mcp/types';
33
import { CardShell } from './CardShell';
44
import { DebateCard } from './DebateCard';
55
import { MpCard } from './MpCard';

apps/agent-of-parliament/components/cards/DebateCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import type {
88
} from '@/lib/agent/adapters/debate';
99
import { toPlainEnglish } from '@/lib/agent/plainEnglish';
1010
import { getKey } from '@/lib/key/keyVault';
11-
import type { Citation } from 'mp-mcp/types';
11+
import type { Citation } from '@jamesmccomish/mp-mcp/types';
1212
import { useState } from 'react';
1313
import { CardShell } from './CardShell';
1414
import styles from './DebateCard.module.css';

apps/agent-of-parliament/components/cards/MpCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { adaptMp } from '@/lib/agent/adapters/mp';
2-
import type { Citation, Vote } from 'mp-mcp/types';
2+
import type { Citation, Vote } from '@jamesmccomish/mp-mcp/types';
33
import type { ReactNode } from 'react';
44
import { CardShell } from './CardShell';
55
import styles from './MpCard.module.css';

apps/agent-of-parliament/components/cards/TopicCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { adaptTopic } from '@/lib/agent/adapters/topic';
22
import type { TopicViewModel } from '@/lib/agent/adapters/topic';
3-
import type { Citation } from 'mp-mcp/types';
3+
import type { Citation } from '@jamesmccomish/mp-mcp/types';
44
import type { ReactNode } from 'react';
55
import { CardShell } from './CardShell';
66
import { DivisionLobbyBar } from './DivisionLobbyBar';

apps/agent-of-parliament/components/cards/VoteCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { adaptVote } from '@/lib/agent/adapters/vote';
22
import type { VoteViewModel } from '@/lib/agent/adapters/vote';
3-
import type { Citation } from 'mp-mcp/types';
3+
import type { Citation } from '@jamesmccomish/mp-mcp/types';
44
import { CardShell } from './CardShell';
55
import { DivisionLobbyBar } from './DivisionLobbyBar';
66
import styles from './VoteCard.module.css';

apps/agent-of-parliament/lib/agent/adapters/__fixtures__/debate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { GetDebateData, ToolResponse } from 'mp-mcp/types';
1+
import type { GetDebateData, ToolResponse } from '@jamesmccomish/mp-mcp/types';
22

33
// Real capture: parliament_get_debate("42E18377-...", concise) — "NHS Management",
44
// a six-contribution Commons oral-questions exchange. Concise mode projects each

apps/agent-of-parliament/lib/agent/adapters/__fixtures__/division.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { GetDivisionData, ToolResponse } from 'mp-mcp/types';
1+
import type { GetDivisionData, ToolResponse } from '@jamesmccomish/mp-mcp/types';
22

33
// Real capture: parliament_get_division(2347, concise) — "Privilege", a rejected
44
// Commons division (223 ayes / 335 noes) with a cross-party aye lobby against a

0 commit comments

Comments
 (0)