pipebrain-mcp 0.48.0 → 0.48.1

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/main.js +1 -35
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -15930,22 +15930,6 @@ var orgInstructionSchema = external_exports.object({
15930
15930
  body: external_exports.string().min(1),
15931
15931
  createdBy: uuidSchema.nullable(),
15932
15932
  viaTokenId: uuidSchema.nullable(),
15933
- /**
15934
- * sha256 of the shipped default this row was SEEDED from, or null when nothing seeded
15935
- * it — a row written by a person, a row re-created after its scope was cleared, or a row
15936
- * that predates seeding.
15937
- *
15938
- * It is what lets a settings page say the shipped default has MOVED since this
15939
- * organization got it, without the product ever applying that move: comparing this digest
15940
- * against the running release's default for the same scope is the whole signal. It is not
15941
- * updated by an edit, because what it records is what was seeded — which stays true after
15942
- * the organization rewrites the body, and is exactly then that the comparison is worth
15943
- * making.
15944
- *
15945
- * `.default(null)` rather than a bare nullable, for the tolerance this schema keeps
15946
- * throughout: a payload from a server that predates the column still parses.
15947
- */
15948
- seededDefaultSha: external_exports.string().nullable().default(null),
15949
15933
  createdAt: external_exports.iso.datetime({ offset: true }),
15950
15934
  updatedAt: external_exports.iso.datetime({ offset: true }),
15951
15935
  deletedAt: external_exports.iso.datetime({ offset: true }).nullable()
@@ -16614,12 +16598,6 @@ var listEnvelopeSchema = (item) => external_exports.object({ items: external_exp
16614
16598
  var mintedTokenSchema = apiTokenSchema.extend({ token: external_exports.string().min(1) }).loose();
16615
16599
  var tokenListSchema = listEnvelopeSchema(apiTokenSchema);
16616
16600
  var orgInstructionListSchema = listEnvelopeSchema(orgInstructionSchema);
16617
- var instructionDefaultSchema = external_exports.object({
16618
- scope: external_exports.string().min(1),
16619
- body: external_exports.string().min(1),
16620
- sha256: external_exports.string().min(1)
16621
- }).loose();
16622
- var instructionDefaultListSchema = listEnvelopeSchema(instructionDefaultSchema);
16623
16601
  var ApiClient = class _ApiClient {
16624
16602
  baseUrl;
16625
16603
  auth;
@@ -17363,18 +17341,6 @@ var ApiClient = class _ApiClient {
17363
17341
  const body = await this.request("GET", "/api/v1/org-instructions", {}, orgInstructionListSchema);
17364
17342
  return body.items;
17365
17343
  }
17366
- /**
17367
- * The starting text THIS RELEASE ships, per scope, with the digest a seeded row records.
17368
- *
17369
- * Shipped content rather than the org's, so it carries no tenant data and any
17370
- * authenticated caller may read it. Comparing a row's `seededDefaultSha` against the
17371
- * `sha256` here is how a settings page says the shipped default has MOVED since this
17372
- * organization was seeded — a difference the product reports and never applies.
17373
- */
17374
- async listInstructionDefaults() {
17375
- const body = await this.request("GET", "/api/v1/org-instructions/defaults", {}, instructionDefaultListSchema);
17376
- return body.items;
17377
- }
17378
17344
  /** Upserts one scope's instruction text (ADMIN+; body ≤ 4000 chars). */
17379
17345
  setOrgInstruction(scope, body) {
17380
17346
  return this.request("PUT", `/api/v1/org-instructions/${enc(scope)}`, { body: { body } }, orgInstructionSchema);
@@ -18350,7 +18316,7 @@ function loadMcpConfig() {
18350
18316
  }
18351
18317
 
18352
18318
  // src/version.ts
18353
- var VERSION = "0.48.0";
18319
+ var VERSION = "0.48.1";
18354
18320
 
18355
18321
  // src/main.ts
18356
18322
  async function scopedClient(base, org) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipebrain-mcp",
3
- "version": "0.48.0",
3
+ "version": "0.48.1",
4
4
  "description": "Pipebrain MCP server for Claude Code and Claude Desktop — issues, requirements, decision records, conventions, prompts, content, assets, metadata-only secrets, and more of the platform's modules over the Pipebrain API.",
5
5
  "type": "module",
6
6
  "license": "MIT",