@myspec/mcp-server 0.1.1-next.28 → 0.1.2-next.30

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2717,7 +2717,7 @@ import { mkdtemp, readFile as readFile2, rm } from "fs/promises";
2717
2717
  import { tmpdir } from "os";
2718
2718
  import { join } from "path";
2719
2719
  import { runCli } from "repomix";
2720
- var PAGE_SIZE_LINES = 5e3;
2720
+ var PAGE_SIZE_LINES = 2500;
2721
2721
  var REPOMIX_TIMEOUT_MS = 12e4;
2722
2722
  var CACHE_TTL_MS = 30 * 60 * 1e3;
2723
2723
  var CACHE_MAX_ENTRIES = 5;
@@ -3312,7 +3312,7 @@ function registerLocalFsTools(server, opts) {
3312
3312
  },
3313
3313
  {
3314
3314
  name: "local_pack_codebase",
3315
- description: "Pack the entire local codebase (under the granted --root) into a single plain-text bundle using `npx repomix@latest --style plain --compress`. Prefer this over many `local_fs_read_file` calls when you need broad codebase context. Output is paginated at 5000 lines per page; the response includes `outputId`, `page`, `totalPages`, `totalLines`, `pageLines`, `hasMore`, and a `nextPage` hint. Use `local_pack_codebase_read_page` to fetch subsequent pages by `outputId`. Repeat calls with the same `subpath`/`includePatterns`/`ignorePatterns` return the same `outputId` and are served instantly from the 30-minute cache without re-running repomix.",
3315
+ description: "Pack the entire local codebase (under the granted --root) into a single plain-text bundle using `npx repomix@latest --style plain --compress`. Prefer this over many `local_fs_read_file` calls when you need broad codebase context. Output is paginated at 2500 lines per page; the response includes `outputId`, `page`, `totalPages`, `totalLines`, `pageLines`, `hasMore`, and a `nextPage` hint. Use `local_pack_codebase_read_page` to fetch subsequent pages by `outputId`. Repeat calls with the same `subpath`/`includePatterns`/`ignorePatterns` return the same `outputId` and are served instantly from the 30-minute cache without re-running repomix.",
3316
3316
  inputSchema: jsonSchemaFromZod(packCodebaseInput),
3317
3317
  handler: async (args) => {
3318
3318
  try {
@@ -3325,7 +3325,7 @@ function registerLocalFsTools(server, opts) {
3325
3325
  },
3326
3326
  {
3327
3327
  name: "local_pack_codebase_read_page",
3328
- description: "Read a specific page of a previously packed codebase output. Provide the `outputId` returned by `local_pack_codebase` and the 1-indexed `page` to fetch. Pages are 5000 lines of plain text. Cache entries expire after 30 minutes; on cache miss, re-run `local_pack_codebase` (same args return the same outputId \u2014 re-pack is cheap, served from cache).",
3328
+ description: "Read a specific page of a previously packed codebase output. Provide the `outputId` returned by `local_pack_codebase` and the 1-indexed `page` to fetch. Pages are 2500 lines of plain text. Cache entries expire after 30 minutes; on cache miss, re-run `local_pack_codebase` (same args return the same outputId \u2014 re-pack is cheap, served from cache).",
3329
3329
  inputSchema: jsonSchemaFromZod(packCodebaseReadPageInput),
3330
3330
  handler: (args) => {
3331
3331
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myspec/mcp-server",
3
- "version": "0.1.1-next.28",
3
+ "version": "0.1.2-next.30",
4
4
  "description": "MySpec MCP server — exposes MySpec platform projects, files and attachments to MCP-aware clients via OAuth-authenticated access tokens.",
5
5
  "type": "module",
6
6
  "repository": {