@fro.bot/systematic 2.7.0 → 2.7.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.
- package/dist/index.js +6 -6
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ var INTERNAL_AGENT_SIGNATURES = [
|
|
|
24
24
|
"You are a helpful AI assistant tasked with summarizing conversations",
|
|
25
25
|
"Summarize what was done in this conversation"
|
|
26
26
|
];
|
|
27
|
-
function getToolMappingTemplate(
|
|
27
|
+
function getToolMappingTemplate() {
|
|
28
28
|
return `**Tool Mapping for OpenCode:**
|
|
29
29
|
When skills reference tools you don't have, substitute OpenCode equivalents:
|
|
30
30
|
- \`TodoWrite\` \u2192 \`todowrite\`
|
|
@@ -42,7 +42,7 @@ When skills reference tools you don't have, substitute OpenCode equivalents:
|
|
|
42
42
|
- Use the native \`skill\` tool for non-Systematic skills
|
|
43
43
|
|
|
44
44
|
**Skills location:**
|
|
45
|
-
Bundled skills are
|
|
45
|
+
Bundled skills ship with the Systematic plugin and are discoverable via \`systematic_skill\`.`;
|
|
46
46
|
}
|
|
47
47
|
function getBootstrapContent(config, deps) {
|
|
48
48
|
const { bundledSkillsDir } = deps;
|
|
@@ -60,7 +60,7 @@ function getBootstrapContent(config, deps) {
|
|
|
60
60
|
const fullContent = fs.readFileSync(usingSystematicPath, "utf8");
|
|
61
61
|
const { body } = parseFrontmatter(fullContent);
|
|
62
62
|
const content = body.trim();
|
|
63
|
-
const toolMapping = getToolMappingTemplate(
|
|
63
|
+
const toolMapping = getToolMappingTemplate();
|
|
64
64
|
return `<SYSTEMATIC_WORKFLOWS>
|
|
65
65
|
You have access to structured engineering workflows via the systematic plugin.
|
|
66
66
|
|
|
@@ -495,6 +495,7 @@ var getPackageVersion = () => {
|
|
|
495
495
|
};
|
|
496
496
|
var SystematicPlugin = async ({ client, directory }) => {
|
|
497
497
|
const config = loadConfig(directory);
|
|
498
|
+
const bootstrapContent = getBootstrapContent(config, { bundledSkillsDir });
|
|
498
499
|
const configHandler = createConfigHandler({
|
|
499
500
|
directory,
|
|
500
501
|
bundledSkillsDir,
|
|
@@ -544,9 +545,8 @@ var SystematicPlugin = async ({ client, directory }) => {
|
|
|
544
545
|
} catch {}
|
|
545
546
|
return;
|
|
546
547
|
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
applyBootstrapContent(output, content);
|
|
548
|
+
if (bootstrapContent) {
|
|
549
|
+
applyBootstrapContent(output, bootstrapContent);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fro.bot/systematic",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "Structured engineering workflows for OpenCode",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://fro.bot/systematic",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"docs:preview": "bun run --cwd docs preview",
|
|
38
38
|
"docs:generate": "bun docs/scripts/transform-content.ts",
|
|
39
39
|
"registry:build": "bun scripts/build-registry.ts",
|
|
40
|
+
"registry:drift": "bun scripts/generate-registry.ts --check",
|
|
40
41
|
"registry:validate": "bun scripts/build-registry.ts --validate-only",
|
|
41
42
|
"prepublishOnly": "bun run build"
|
|
42
43
|
},
|