@todoist/mcp 18.1.0 → 19.0.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEhB,MAAM,kBAAkB,CAAA;AAMzB,eAAO,MAAM,YAAY,gkIA6CxB,CAAA;AAwBD;;;;;;GAMG;AAEH,iBAAS,YAAY,CAAC,EAClB,KAAK,EACL,OAAO,EACP,QAAa,GAChB,EAAE,gBAAgB,GAAG;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,aA+CA;AAED,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEhB,MAAM,kBAAkB,CAAA;AAOzB,eAAO,MAAM,YAAY,gkIA6CxB,CAAA;AAUD;;;;;;GAMG;AAEH,iBAAS,YAAY,CAAC,EAClB,KAAK,EACL,OAAO,EACP,QAAa,GAChB,EAAE,gBAAgB,GAAG;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,aAsDA;AAED,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,YAAY,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { validateBearerToken as A, getValidationRateLimit as v, createTokenVerdictCache as k, buildBearerChallenge as f } from "@todoist/mcp-core/host";
2
- import { a5 as p, a6 as g } from "./mcp-server-DcLeQ1Dj.js";
2
+ import { a5 as p, a6 as g } from "./mcp-server-usDjy4Fc.js";
3
3
  const m = "https://api.todoist.com", E = (e, t) => A({
4
4
  // Resolved the way the SDK resolves its own requests against a custom base URL. An empty
5
5
  // base (`TODOIST_BASE_URL=`) means the default, as it does for the SDK client.
@@ -0,0 +1,3 @@
1
+ import { TodoistSkill } from './todoist-skill.js';
2
+ export declare const filterQueries: TodoistSkill;
3
+ //# sourceMappingURL=filter-queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-queries.d.ts","sourceRoot":"","sources":["../../src/skills/filter-queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,eAAO,MAAM,aAAa,EAAE,YA4F3B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { TodoistSkill } from './todoist-skill.js';
2
+ export declare const planMyDay: TodoistSkill;
3
+ //# sourceMappingURL=plan-my-day.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plan-my-day.d.ts","sourceRoot":"","sources":["../../src/skills/plan-my-day.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,eAAO,MAAM,SAAS,EAAE,YAuCvB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { TodoistSkill } from './todoist-skill.js';
2
+ export declare const productivityReview: TodoistSkill;
3
+ //# sourceMappingURL=productivity-review.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productivity-review.d.ts","sourceRoot":"","sources":["../../src/skills/productivity-review.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,eAAO,MAAM,kBAAkB,EAAE,YAyChC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { McpServer } from '@modelcontextprotocol/server';
2
+ import { TodoistSkill } from './todoist-skill.js';
3
+ /** Every skill the server serves. */
4
+ declare const registeredSkills: readonly TodoistSkill[];
5
+ /**
6
+ * Serve the skills on `server`: the `skills/list` and `skills/get` methods, a `skill://` resource
7
+ * template for the files, and the extension in the server's capabilities. Clients that do not
8
+ * declare the extension never ask for them. Must run before the server connects.
9
+ */
10
+ declare function registerSkills(server: McpServer): void;
11
+ export { registerSkills, registeredSkills };
12
+ //# sourceMappingURL=skills.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../src/skills/skills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAY7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,qCAAqC;AACrC,QAAA,MAAM,gBAAgB,EAAE,SAAS,YAAY,EAK5C,CAAA;AAqDD;;;;GAIG;AACH,iBAAS,cAAc,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAE/C;AAED,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { TodoistSkill } from './todoist-skill.js';
2
+ export declare const templates: TodoistSkill;
3
+ //# sourceMappingURL=templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/skills/templates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,eAAO,MAAM,SAAS,EAAE,YAsDvB,CAAA"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * A skill served over MCP (the `io.modelcontextprotocol/skills` extension): instructions a client
3
+ * loads into the model's context only when a task calls for them, so a workflow can be spelled out
4
+ * in full without adding to every request.
5
+ */
6
+ type TodoistSkill = {
7
+ /** The skill's folder name. Must equal the `name` in its `SKILL.md` frontmatter. */
8
+ name: string;
9
+ /**
10
+ * The skill's files, keyed by their path inside the skill's folder. `SKILL.md` starts with
11
+ * YAML frontmatter carrying `name` and `description`: the description is all a model sees
12
+ * until it loads the skill, so it says what the skill does and when to reach for it.
13
+ */
14
+ files: {
15
+ 'SKILL.md': string;
16
+ } & Record<string, string>;
17
+ };
18
+ export type { TodoistSkill };
19
+ //# sourceMappingURL=todoist-skill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"todoist-skill.d.ts","sourceRoot":"","sources":["../../src/skills/todoist-skill.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,KAAK,YAAY,GAAG;IAChB,oFAAoF;IACpF,IAAI,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzD,CAAA;AAED,YAAY,EAAE,YAAY,EAAE,CAAA"}
@@ -8,6 +8,22 @@
8
8
  export declare const ONE_HOUR_MS: number;
9
9
  /** One year (365 days) in milliseconds. */
10
10
  export declare const ONE_YEAR_MS: number;
11
+ /**
12
+ * Freshness hint stamped on the catalogue results (`tools/list`, `prompts/list`,
13
+ * the resource lists, `server/discover` and the skills) for clients on protocol
14
+ * revision 2026-07-28 or later.
15
+ *
16
+ * The catalogue only changes when a new version of this server is deployed, so
17
+ * a client can hold it for an hour without re-fetching; `listChanged`
18
+ * notifications still cover the rare mid-session change. The scope is private
19
+ * because the endpoint is authenticated and the tool set can differ per
20
+ * deployment (`features`), so a shared cache must not serve one client's
21
+ * catalogue to another.
22
+ */
23
+ export declare const CATALOGUE_CACHE_HINT: {
24
+ readonly ttlMs: number;
25
+ readonly cacheScope: "private";
26
+ };
11
27
  export declare const ApiLimits: {
12
28
  /** Default limit for task listings */
13
29
  readonly TASKS_DEFAULT: 10;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,gCAAgC;AAChC,eAAO,MAAM,WAAW,QAAiB,CAAA;AACzC,2CAA2C;AAC3C,eAAO,MAAM,WAAW,QAAyB,CAAA;AAGjD,eAAO,MAAM,SAAS;IAClB,sCAAsC;;IAEtC,wDAAwD;;IAExD,uFAAuF;;IAEvF,wCAAwC;;IAExC,wCAAwC;;IAExC,yCAAyC;;IAEzC,yCAAyC;;IAEzC,0CAA0C;;IAE1C,0CAA0C;;IAE1C,yCAAyC;;IAEzC,kDAAkD;;IAElD,qDAAqD;;IAErD,iGAAiG;;IAEjG,yCAAyC;;IAEzC,2DAA2D;;IAE3D,0DAA0D;;IAE1D,8CAA8C;;IAE9C,gEAAgE;;IAEhE,uCAAuC;;IAEvC,uCAAuC;;IAEvC,0CAA0C;;IAE1C,mDAAmD;;IAEnD,wFAAwF;;CAElF,CAAA;AAGV,eAAO,MAAM,aAAa;IACtB,oEAAoE;;IAEpE,gDAAgD;;CAE1C,CAAA;AAGV,eAAO,MAAM,SAAS;IAClB,2DAA2D;;CAErD,CAAA;AAGV,eAAO,MAAM,WAAW;IACpB,0DAA0D;;IAE1D;;;OAGG;;IAEH,6FAA6F;;IAE7F;;;;;;OAMG;;IAEH,iDAAiD;;CAE3C,CAAA;AAGV,eAAO,MAAM,qBAAqB;IAC9B,gEAAgE;;IAEhE,0DAA0D;;IAE1D;;;;OAIG;;CAEG,CAAA;AAYV,eAAO,MAAM,iBAAiB;IAC1B;;;;;;;;;OASG;;IAEH,kEAAkE;;IAElE;;;;;;;OAOG;;CAEG,CAAA;AAGV,eAAO,MAAM,cAAc;IACvB,oDAAoD;;IAEpD,mCAAmC;;CAE7B,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sour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3
+ "version": "19.0.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -78,7 +78,7 @@
78
78
  },
79
79
  "peerDependencies": {
80
80
  "@modelcontextprotocol/node": "^2.1.0",
81
- "@modelcontextprotocol/server": "^2.2.0"
81
+ "@modelcontextprotocol/server": "^2.4.0"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@anthropic-ai/sdk": "0.137.0",