@fro.bot/systematic 1.2.0 → 1.2.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/cli.js CHANGED
@@ -1,14 +1,15 @@
1
1
  #!/usr/bin/env node
2
+ // @bun
2
3
  import {
3
4
  convertContent,
4
5
  findAgentsInDir,
5
6
  findCommandsInDir,
6
7
  findSkillsInDir
7
- } from "./index-33zyxync.js";
8
+ } from "./index-hkk4125w.js";
8
9
 
9
10
  // src/cli.ts
10
- import fs from "node:fs";
11
- import path from "node:path";
11
+ import fs from "fs";
12
+ import path from "path";
12
13
  var VERSION = "0.1.0";
13
14
  var HELP = `
14
15
  systematic - OpenCode plugin for systematic engineering workflows
@@ -1,5 +1,6 @@
1
+ // @bun
1
2
  // src/lib/converter.ts
2
- import fs from "node:fs";
3
+ import fs from "fs";
3
4
  var cache = new Map;
4
5
  function parseFrontmatter(content) {
5
6
  const lines = content.split(/\r?\n/);
@@ -128,8 +129,8 @@ function convertFileWithCache(filePath, type, options = {}) {
128
129
  }
129
130
 
130
131
  // src/lib/skills-core.ts
131
- import fs2 from "node:fs";
132
- import path from "node:path";
132
+ import fs2 from "fs";
133
+ import path from "path";
133
134
  function extractFrontmatter(filePath) {
134
135
  try {
135
136
  const content = fs2.readFileSync(filePath, "utf8");
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ // @bun
1
2
  import {
2
3
  convertContent,
3
4
  convertFileWithCache,
@@ -7,18 +8,18 @@ import {
7
8
  findCommandsInDir,
8
9
  findSkillsInDir,
9
10
  stripFrontmatter
10
- } from "./index-33zyxync.js";
11
+ } from "./index-hkk4125w.js";
11
12
 
12
13
  // src/index.ts
13
- import fs3 from "node:fs";
14
- import os2 from "node:os";
15
- import path3 from "node:path";
16
- import { fileURLToPath } from "node:url";
14
+ import fs3 from "fs";
15
+ import os2 from "os";
16
+ import path3 from "path";
17
+ import { fileURLToPath } from "url";
17
18
 
18
19
  // src/lib/config.ts
19
- import fs from "node:fs";
20
- import path from "node:path";
21
- import os from "node:os";
20
+ import fs from "fs";
21
+ import path from "path";
22
+ import os from "os";
22
23
  import { parse as parseJsonc } from "jsonc-parser";
23
24
  var DEFAULT_CONFIG = {
24
25
  disabled_skills: [],
@@ -167,8 +168,8 @@ function createConfigHandler(deps) {
167
168
  }
168
169
 
169
170
  // src/lib/skill-tool.ts
170
- import fs2 from "node:fs";
171
- import path2 from "node:path";
171
+ import fs2 from "fs";
172
+ import path2 from "path";
172
173
  import { tool } from "@opencode-ai/plugin/tool";
173
174
  var HOOK_KEY = "systematic_skill_tool_hooked";
174
175
  var SYSTEMATIC_MARKER = "__systematic_skill_tool__";
@@ -334,11 +335,11 @@ var getBootstrapContent = (config) => {
334
335
  const content = stripFrontmatter(fullContent);
335
336
  const toolMapping = `**Tool Mapping for OpenCode:**
336
337
  When skills reference tools you don't have, substitute OpenCode equivalents:
337
- - \`TodoWrite\` \`update_plan\`
338
- - \`Task\` tool with subagents Use OpenCode's subagent system (@mention)
339
- - \`Skill\` tool OpenCode's native \`skill\` tool
340
- - \`SystematicSkill\` tool \`systematic_skill\` (Systematic plugin skills)
341
- - \`Read\`, \`Write\`, \`Edit\`, \`Bash\` Your native tools
338
+ - \`TodoWrite\` \u2192 \`update_plan\`
339
+ - \`Task\` tool with subagents \u2192 Use OpenCode's subagent system (@mention)
340
+ - \`Skill\` tool \u2192 OpenCode's native \`skill\` tool
341
+ - \`SystematicSkill\` tool \u2192 \`systematic_skill\` (Systematic plugin skills)
342
+ - \`Read\`, \`Write\`, \`Edit\`, \`Bash\` \u2192 Your native tools
342
343
 
343
344
  **Skills naming:**
344
345
  - Bundled skills use the \`systematic:\` prefix (e.g., \`systematic:brainstorming\`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fro.bot/systematic",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Structured engineering workflows for OpenCode",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -20,7 +20,8 @@
20
20
  "commands"
21
21
  ],
22
22
  "scripts": {
23
- "build": "bun build src/index.ts src/cli.ts --outdir dist --target node --format esm --splitting --external @opencode-ai/plugin/tool --external jsonc-parser",
23
+ "clean": "rimraf dist",
24
+ "build": "bun run clean && bun build src/index.ts src/cli.ts --outdir dist --target bun --splitting --packages external",
24
25
  "dev": "bun --watch src/index.ts",
25
26
  "test": "bun test tests/unit",
26
27
  "test:integration": "bun test tests/integration",
@@ -56,6 +57,7 @@
56
57
  "@types/node": "^22.0.0",
57
58
  "conventional-changelog-conventionalcommits": "^9.0.0",
58
59
  "markdownlint-cli": "^0.47.0",
60
+ "rimraf": "^6.1.2",
59
61
  "semantic-release": "^25.0.0",
60
62
  "semantic-release-export-data": "^1.2.0",
61
63
  "typescript": "^5.7.0"