mirror of
https://github.com/sveltejs/ai-tools.git
synced 2026-07-06 20:55:44 +08:00
Compare commits
4 Commits
import-ts-
...
@sveltejs/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ded13539a | ||
|
|
96c50acae2 | ||
|
|
4920088e5c | ||
|
|
8557f0af6f |
@@ -1,5 +1,17 @@
|
|||||||
# @sveltejs/opencode
|
# @sveltejs/opencode
|
||||||
|
|
||||||
|
## 0.1.8
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- fix: add `server` export to opencode plugin ([`96c50ac`](https://github.com/sveltejs/ai-tools/commit/96c50acae2b4131a6c72d3579a73c44ab9158b18))
|
||||||
|
|
||||||
|
## 0.1.7
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- fix: import `ts` files directly ([#190](https://github.com/sveltejs/ai-tools/pull/190))
|
||||||
|
|
||||||
## 0.1.6
|
## 0.1.6
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import type { Plugin } from '@opencode-ai/plugin';
|
|||||||
import { readdir } from 'node:fs/promises';
|
import { readdir } from 'node:fs/promises';
|
||||||
import { dirname, join } from 'node:path';
|
import { dirname, join } from 'node:path';
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url';
|
||||||
import { agents } from './agents.js';
|
import { agents } from './agents.ts';
|
||||||
import { get_mcp_config } from './config.js';
|
import { get_mcp_config } from './config.ts';
|
||||||
|
|
||||||
const current_dir = dirname(fileURLToPath(import.meta.url));
|
const current_dir = dirname(fileURLToPath(import.meta.url));
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@sveltejs/opencode",
|
"name": "@sveltejs/opencode",
|
||||||
"version": "0.1.6",
|
"version": "0.1.8",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://github.com/sveltejs/ai-tools#readme",
|
"homepage": "https://github.com/sveltejs/ai-tools#readme",
|
||||||
@@ -18,6 +18,12 @@
|
|||||||
"instructions",
|
"instructions",
|
||||||
"skills"
|
"skills"
|
||||||
],
|
],
|
||||||
|
"exports": {
|
||||||
|
"./server": {
|
||||||
|
"types": "./index.ts",
|
||||||
|
"import": "./index.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/sveltejs/ai-tools.git",
|
"url": "git+https://github.com/sveltejs/ai-tools.git",
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"allowImportingTsExtensions": true,
|
||||||
|
"types": ["@types/node"]
|
||||||
|
},
|
||||||
"include": ["index.ts", "config.ts", "agents.ts", "scripts/*"],
|
"include": ["index.ts", "config.ts", "agents.ts", "scripts/*"],
|
||||||
"exclude": ["node_modules"]
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user