owflow 0.1.2 → 0.1.3

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/index.js +3 -2
  2. package/package.json +44 -44
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import fs from "node:fs";
7
7
  import { fileURLToPath } from "url";
8
8
  import matter from "gray-matter";
9
9
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
10
- const PLUGIN_ROOT = path.resolve(__dirname, "../..");
10
+ const PLUGIN_ROOT = __dirname; // Points to dist/ where skills/commands/agents are copied
11
11
  /**
12
12
  * Resolves model aliases to the configured small_model value.
13
13
  * Maps common small/fast model aliases to OpenCode's small_model config.
@@ -69,7 +69,7 @@ const prepareAgent = ({ data, content }, smallModel) => {
69
69
  ...(data.hidden === "true" && { hidden: true }),
70
70
  };
71
71
  };
72
- export const OwflowPlugin = async ({ $, directory }) => {
72
+ const OwflowPlugin = async ({ $, directory }) => {
73
73
  const agentBySession = new Map();
74
74
  return {
75
75
  /**
@@ -195,3 +195,4 @@ and determine the next phase. Use the question tool at Phase Gates.`);
195
195
  },
196
196
  };
197
197
  };
198
+ export default OwflowPlugin;
package/package.json CHANGED
@@ -1,44 +1,44 @@
1
- {
2
- "name": "owflow",
3
- "version": "0.1.2",
4
- "description": "Spec-driven development AI workflow for OpenCode",
5
- "type": "module",
6
- "module": "index.ts",
7
- "main": "dist/index.js",
8
- "types": "dist/index.d.ts",
9
- "files": [
10
- "dist",
11
- "README.md",
12
- "LICENSE"
13
- ],
14
- "scripts": {
15
- "build": "rm -rf dist && tsc && npm run copy-markdowns",
16
- "copy-markdowns": "node ./scripts/copy-markdowns.js",
17
- "prepack": "npm run build"
18
- },
19
- "keywords": [
20
- "opencode",
21
- "plugin",
22
- "workflow",
23
- "spec-driven",
24
- "development"
25
- ],
26
- "author": {
27
- "name": "Dawid Paluchowski",
28
- "email": "palucdev@gmail.com"
29
- },
30
- "license": "MIT",
31
- "dependencies": {
32
- "gray-matter": "^4.0.3"
33
- },
34
- "devDependencies": {
35
- "@opencode-ai/plugin": "^1.14.44",
36
- "@types/bun": "^1.3.13"
37
- },
38
- "peerDependencies": {
39
- "typescript": "^5"
40
- },
41
- "engines": {
42
- "node": "^25"
43
- }
44
- }
1
+ {
2
+ "name": "owflow",
3
+ "version": "0.1.3",
4
+ "description": "Spec-driven development AI workflow for OpenCode",
5
+ "type": "module",
6
+ "module": "index.ts",
7
+ "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "README.md",
12
+ "LICENSE"
13
+ ],
14
+ "scripts": {
15
+ "build": "rm -rf dist && tsc && npm run copy-markdowns",
16
+ "copy-markdowns": "node ./scripts/copy-markdowns.js",
17
+ "prepack": "npm run build"
18
+ },
19
+ "keywords": [
20
+ "opencode",
21
+ "plugin",
22
+ "workflow",
23
+ "spec-driven",
24
+ "development"
25
+ ],
26
+ "author": {
27
+ "name": "Dawid Paluchowski",
28
+ "email": "palucdev@gmail.com"
29
+ },
30
+ "license": "MIT",
31
+ "dependencies": {
32
+ "gray-matter": "^4.0.3"
33
+ },
34
+ "devDependencies": {
35
+ "@opencode-ai/plugin": "^1.14.44",
36
+ "@types/bun": "^1.3.13"
37
+ },
38
+ "peerDependencies": {
39
+ "typescript": "^5"
40
+ },
41
+ "engines": {
42
+ "node": "^25"
43
+ }
44
+ }