@subseam/mcp 0.4.12 → 0.4.13
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.
- package/dist/main.js +3 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -31997,7 +31997,7 @@ var input10 = external_exports.object({
|
|
|
31997
31997
|
});
|
|
31998
31998
|
var captureTool = {
|
|
31999
31999
|
name: "capture",
|
|
32000
|
-
description:
|
|
32000
|
+
description: 'Write a note down for subseam. Use it whenever the user asks to write down, note, remember or record a rule or fact "for subseam" (for example "write that down for subseam" or "remember this rule"), instead of editing a file. Provide `note` (required, one line, in the user\'s words), optional `channel` tag, and `context` { repo, path, line, key }. When the note names a package, directory or file, pass the repository as `context.repo` (owner/name) and that path as `context.path`: the note then attaches to the concept there (a package attaches to the package, and survives renames). Without them it is stored unanchored, never refused. `context.key` is an opaque caller string, stored verbatim and filterable in capture_list. No title, priority, or type, by design.',
|
|
32001
32001
|
capability: "capture",
|
|
32002
32002
|
inputSchema: input10.shape,
|
|
32003
32003
|
async handler(raw, ctx) {
|
|
@@ -32008,7 +32008,7 @@ var captureTool = {
|
|
|
32008
32008
|
};
|
|
32009
32009
|
function renderCapture(n) {
|
|
32010
32010
|
const onPackage = n.anchorKind === "concept" && n.conceptId?.startsWith("package:") === true;
|
|
32011
|
-
const anchor = onPackage ? `attached to the package holding ${n.path}` : n.anchorKind === "concept" ? `concept ${n.conceptId}` : n.anchorKind === "path" ? `path ${n.path}` : n.anchorKind === "repo" ? `repo ${n.repoId}` : "unanchored";
|
|
32011
|
+
const anchor = onPackage ? `attached to the package holding ${n.path}` : n.anchorKind === "concept" ? `concept ${n.conceptId}` : n.anchorKind === "path" ? `path ${n.path}` : n.anchorKind === "repo" ? `repo ${n.repoId}` : "unanchored: no context.repo or context.path was given, so it is attached to nothing. If the note is about a package or path, capture it again with context { repo, path }";
|
|
32012
32012
|
const chan = n.channel !== null ? ` [${n.channel}]` : "";
|
|
32013
32013
|
return `capture: note ${n.id} stored (${anchor})${chan}.
|
|
32014
32014
|
To draft it as a definition, call \`define\` with this repo as \`repo\`, \`basis: "capture-note:${n.id}"\`, and either \`nlIntent\` (the note in your words) or an SDL \`source\`.`;
|
|
@@ -48336,7 +48336,7 @@ var workReadTools = createWorkReadToolProviders({ capability: "work" });
|
|
|
48336
48336
|
var bundledProviders = [src_default2, src_default, tension_default, ...defineTools, ...decisionTools, ...captureTools, ...buildTools, secureTool, ...workTools, ...workReadTools];
|
|
48337
48337
|
|
|
48338
48338
|
// package.json
|
|
48339
|
-
var version2 = "0.4.
|
|
48339
|
+
var version2 = "0.4.13";
|
|
48340
48340
|
|
|
48341
48341
|
// src/server.ts
|
|
48342
48342
|
var SERVER_VERSION = version2;
|