Skip to content

Commit b19ae33

Browse files
build: update context fidelity preview
Track the new path-containment wording in the published packageRoot and configPath tool input descriptions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4cfed39 commit b19ae33

4 files changed

Lines changed: 17 additions & 33 deletions

File tree

‎packages/rstack/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@rsbuild/core": "catalog:",
8282
"@rslib/core": "catalog:",
8383
"@rslint/core": "catalog:",
84-
"@rstackjs/context": "https://pkg.pr.new/rstackjs/context/@rstackjs/context@2f30659",
84+
"@rstackjs/context": "https://pkg.pr.new/rstackjs/context/@rstackjs/context@e921c34",
8585
"@rstest/core": "catalog:",
8686
"prettier": "catalog:",
8787
"tinypool": "catalog:",

‎packages/rstack/tests/context/mcp.test.ts‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,12 @@ test('publishes discoverable descriptions for opaque and conditional tool inputs
322322
description: 'Checkout-relative virtual source path required when mode is text.',
323323
},
324324
packageRoot: {
325-
description: 'Checkout-relative package directory; defaults to the checkout root.',
325+
description:
326+
'Checkout-relative package directory that must stay inside the checkout; defaults to the checkout root.',
326327
},
327328
configPath: {
328329
description:
329-
'Checkout-relative Rstack config path; defaults to ordinary discovery in packageRoot.',
330+
'Checkout-relative Rstack config path that must stay inside the checkout; defaults to ordinary discovery in packageRoot.',
330331
},
331332
});
332333
expect(toolByName.get('test_snapshot')?.inputSchema.properties).toMatchObject({
@@ -337,11 +338,12 @@ test('publishes discoverable descriptions for opaque and conditional tool inputs
337338
maxItems: 200,
338339
},
339340
packageRoot: {
340-
description: 'Checkout-relative package directory; defaults to the checkout root.',
341+
description:
342+
'Checkout-relative package directory that must stay inside the checkout; defaults to the checkout root.',
341343
},
342344
configPath: {
343345
description:
344-
'Checkout-relative Rstack config path; defaults to ordinary discovery in packageRoot.',
346+
'Checkout-relative Rstack config path that must stay inside the checkout; defaults to ordinary discovery in packageRoot.',
345347
},
346348
execution: {
347349
description:

‎pnpm-lock.yaml‎

Lines changed: 9 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ packages:
44
- website
55

66
allowBuilds:
7-
'@rstackjs/context@https://pkg.pr.new/rstackjs/context/@rstackjs/context@2f30659': true
7+
'@rstackjs/context@https://pkg.pr.new/rstackjs/context/@rstackjs/context@e921c34': true
88
core-js: false
99
simple-git-hooks: false
1010

0 commit comments

Comments
 (0)