@the-magic-tower/fixhive-opencode-plugin 0.1.19 → 0.1.21
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 +3 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// @bun
|
|
2
1
|
// src/plugin/index.ts
|
|
3
2
|
import { tool as tool2 } from "@opencode-ai/plugin";
|
|
4
|
-
import { existsSync as existsSync2, readFileSync } from "fs";
|
|
5
|
-
import { join } from "path";
|
|
3
|
+
import { existsSync as existsSync2, readFileSync } from "node:fs";
|
|
4
|
+
import { join } from "node:path";
|
|
6
5
|
|
|
7
6
|
// src/core/privacy-filter.ts
|
|
8
7
|
var DEFAULT_FILTER_RULES = [
|
|
@@ -848,7 +847,7 @@ var LocalStore = {
|
|
|
848
847
|
import { createClient } from "@supabase/supabase-js";
|
|
849
848
|
|
|
850
849
|
// src/cloud/embedding.ts
|
|
851
|
-
import OpenAI from "openai";
|
|
850
|
+
import { OpenAI } from "openai";
|
|
852
851
|
var DEFAULT_MODEL = "text-embedding-3-small";
|
|
853
852
|
var DEFAULT_DIMENSIONS = 1536;
|
|
854
853
|
var MAX_INPUT_LENGTH = 30000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@the-magic-tower/fixhive-opencode-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Community-based error knowledge sharing for OpenCode",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "bun run build:bun && bun run build:types",
|
|
19
|
-
"build:bun": "bun build src/index.ts --outdir dist --format esm --target
|
|
19
|
+
"build:bun": "bun build src/index.ts --outdir dist --format esm --target node --external @supabase/supabase-js --external better-sqlite3 --external openai --external uuid --external @opencode-ai/plugin --external zod",
|
|
20
20
|
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
21
21
|
"build:tsup": "tsup src/index.ts --format esm --dts --clean --target esnext --external @supabase/supabase-js --external better-sqlite3 --external openai --external uuid --external @opencode-ai/plugin --external zod",
|
|
22
22
|
"dev": "bun build src/index.ts --outdir dist --format esm --target bun --watch --external @supabase/supabase-js --external better-sqlite3 --external openai --external uuid --external @opencode-ai/plugin --external zod",
|