brownian-code 2026.2.11 → 2026.2.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brownian-code",
3
- "version": "2026.2.11",
3
+ "version": "2026.2.12",
4
4
  "description": "Brownian Code - AI agent for crypto research",
5
5
  "type": "module",
6
6
  "main": "src/index.tsx",
@@ -1,7 +1,7 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Box, Text, useInput } from 'ink';
3
3
  import { colors } from '../theme.js';
4
- import { PROVIDERS as PROVIDER_DEFS } from '@/providers';
4
+ import { PROVIDERS as PROVIDER_DEFS } from '../providers.js';
5
5
 
6
6
  export interface Model {
7
7
  id: string; // API model identifier (e.g., "claude-opus-4-6")
package/src/model/llm.ts CHANGED
@@ -8,10 +8,10 @@ import { BaseChatModel } from '@langchain/core/language_models/chat_models';
8
8
  import { StructuredToolInterface } from '@langchain/core/tools';
9
9
  import { Runnable } from '@langchain/core/runnables';
10
10
  import { z } from 'zod';
11
- import { DEFAULT_SYSTEM_PROMPT } from '@/agent/prompts';
12
- import type { TokenUsage } from '@/agent/types';
13
- import { logger } from '@/utils';
14
- import { resolveProvider, getProviderById } from '@/providers';
11
+ import { DEFAULT_SYSTEM_PROMPT } from '../agent/prompts.js';
12
+ import type { TokenUsage } from '../agent/types.js';
13
+ import { logger } from '../utils/index.js';
14
+ import { resolveProvider, getProviderById } from '../providers.js';
15
15
 
16
16
  export const DEFAULT_PROVIDER = 'anthropic';
17
17
  export const DEFAULT_MODEL = 'claude-sonnet-4-5';
@@ -2,7 +2,7 @@ import { DynamicStructuredTool } from '@langchain/core/tools';
2
2
  import { chromium, Browser, Page } from 'playwright';
3
3
  import { z } from 'zod';
4
4
  import { formatToolResult } from '../types.js';
5
- import { logger } from '@/utils';
5
+ import { logger } from '../../utils/index.js';
6
6
 
7
7
  let browser: Browser | null = null;
8
8
  let page: Page | null = null;
@@ -3,7 +3,7 @@ import { ExaSearchResults } from '@langchain/exa';
3
3
  import Exa from 'exa-js';
4
4
  import { z } from 'zod';
5
5
  import { formatToolResult, parseSearchResults } from '../types.js';
6
- import { logger } from '@/utils';
6
+ import { logger } from '../../utils/index.js';
7
7
 
8
8
  // Lazily initialized to avoid errors when API key is not set
9
9
  let exaTool: ExaSearchResults | null = null;
package/src/utils/env.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { existsSync, readFileSync, writeFileSync } from 'fs';
2
2
  import { config } from 'dotenv';
3
- import { getProviderById } from '@/providers';
3
+ import { getProviderById } from '../providers.js';
4
4
 
5
5
  // Load .env on module import
6
6
  config({ quiet: true });