fix: use relative imports within the same package (#93)

This commit is contained in:
Brandon Keiji
2025-04-21 14:09:14 -07:00
committed by GitHub
parent 09973956ae
commit dec9726083
4 changed files with 8 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@gemini-code/cli",
"version": "1.0.0",
"version": "0.1.0",
"description": "Gemini Code CLI",
"type": "module",
"main": "dist/index.js",
@@ -18,7 +18,7 @@
"dist"
],
"dependencies": {
"@gemini-code/server": "1.0.0",
"@gemini-code/server": "*",
"@google/genai": "^0.8.0",
"diff": "^7.0.0",
"dotenv": "^16.4.7",

View File

@@ -1,6 +1,6 @@
{
"name": "@gemini-code/server",
"version": "1.0.0",
"version": "0.1.0",
"description": "Gemini Code Server",
"type": "module",
"main": "dist/index.js",

View File

@@ -13,11 +13,8 @@ import path from 'path';
import os from 'os';
import crypto from 'crypto';
import { promises as fs } from 'fs';
import {
SchemaValidator,
getErrorMessage,
isNodeError,
} from '@gemini-code/server';
import { SchemaValidator } from '../utils/schemaValidator.js';
import { getErrorMessage, isNodeError } from '../utils/errors.js';
import { Config } from '../config/config.js';
import {
BaseTool,