owflow 0.1.8 → 0.1.10
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.
|
@@ -2,7 +2,7 @@ import { expect, test, describe, beforeAll, afterAll } from "bun:test";
|
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
|
-
import { verify_template } from "../tools/verify_template";
|
|
5
|
+
import { verify_template } from "../tools/verify_template.js";
|
|
6
6
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
7
7
|
describe("verify_template tool", () => {
|
|
8
8
|
const templatesDir = path.join(__dirname, "../templates");
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import path from "node:path";
|
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { fileURLToPath } from "url";
|
|
8
8
|
import matter from "gray-matter";
|
|
9
|
-
import { verify_template } from "./tools/verify_template";
|
|
9
|
+
import { verify_template } from "./tools/verify_template.js";
|
|
10
10
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
11
11
|
const PLUGIN_ROOT = __dirname; // Points to dist/ where skills/commands/agents are copied
|
|
12
12
|
/**
|
|
@@ -81,6 +81,7 @@ const OwflowPlugin = async ({ $, directory }) => {
|
|
|
81
81
|
* them without requiring manual config file edits.
|
|
82
82
|
*/
|
|
83
83
|
config: async (config) => {
|
|
84
|
+
console.log("[owflow] Starting plugin installation...");
|
|
84
85
|
let typedConfig = config;
|
|
85
86
|
// Get small_model config for alias resolution
|
|
86
87
|
// Try from config parameter first, fallback to reading opencode.json
|
|
@@ -144,6 +145,7 @@ const OwflowPlugin = async ({ $, directory }) => {
|
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
config = typedConfig;
|
|
148
|
+
console.log("[owflow] Plugin installation completed successfully.");
|
|
147
149
|
},
|
|
148
150
|
/**
|
|
149
151
|
* Post-compaction reminder.
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "owflow",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Spec-driven development AI workflow for OpenCode",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"module": "index.ts",
|
|
7
6
|
"main": "dist/index.js",
|
|
7
|
+
"exports": "./dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "rm -rf dist && tsc && bun run copy-markdowns",
|
|
16
16
|
"copy-markdowns": "node ./scripts/copy-markdowns.js",
|
|
17
|
-
"prepack": "
|
|
17
|
+
"prepack": "bun run build",
|
|
18
18
|
"test": "bun test"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
@@ -30,10 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"
|
|
33
|
+
"@opencode-ai/plugin": "^1.18.4",
|
|
34
|
+
"gray-matter": "^4.0.3",
|
|
35
|
+
"yaml": "^2.4.1"
|
|
34
36
|
},
|
|
35
37
|
"devDependencies": {
|
|
36
|
-
"@opencode-ai/plugin": "^1.18.4",
|
|
37
38
|
"@types/bun": "^1.3.13"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|