mirror of
https://github.com/sveltejs/ai-tools.git
synced 2026-07-07 05:31:03 +08:00
Compare commits
2 Commits
import-ts-
...
@sveltejs/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4920088e5c | ||
|
|
8557f0af6f |
@@ -1,5 +1,11 @@
|
|||||||
# @sveltejs/opencode
|
# @sveltejs/opencode
|
||||||
|
|
||||||
|
## 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.7",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://github.com/sveltejs/ai-tools#readme",
|
"homepage": "https://github.com/sveltejs/ai-tools#readme",
|
||||||
|
|||||||
@@ -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