JSPM

technocode

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 11
    • Score
      100M100P100Q31309F
    • License MIT

    TechnocodeX - AI coding assistant CLI

    Package Exports

    • technocode/account/account.sql
    • technocode/account/index
    • technocode/account/repo
    • technocode/account/schema
    • technocode/account/service
    • technocode/acp/agent
    • technocode/acp/session
    • technocode/acp/types
    • technocode/agent/agent
    • technocode/auth/index
    • technocode/auth/service
    • technocode/bun/index
    • technocode/bun/registry
    • technocode/bus/bus-event
    • technocode/bus/global
    • technocode/bus/index
    • technocode/cli/bootstrap
    • technocode/cli/cmd/account
    • technocode/cli/cmd/acp
    • technocode/cli/cmd/agent
    • technocode/cli/cmd/cmd
    • technocode/cli/cmd/db
    • technocode/cli/cmd/debug/agent
    • technocode/cli/cmd/debug/config
    • technocode/cli/cmd/debug/file
    • technocode/cli/cmd/debug/index
    • technocode/cli/cmd/debug/lsp
    • technocode/cli/cmd/debug/ripgrep
    • technocode/cli/cmd/debug/scrap
    • technocode/cli/cmd/debug/skill
    • technocode/cli/cmd/debug/snapshot
    • technocode/cli/cmd/export
    • technocode/cli/cmd/generate
    • technocode/cli/cmd/github
    • technocode/cli/cmd/import
    • technocode/cli/cmd/mcp
    • technocode/cli/cmd/models
    • technocode/cli/cmd/pr
    • technocode/cli/cmd/pr-create
    • technocode/cli/cmd/providers
    • technocode/cli/cmd/run
    • technocode/cli/cmd/serve
    • technocode/cli/cmd/session
    • technocode/cli/cmd/stats
    • technocode/cli/cmd/tui/attach
    • technocode/cli/cmd/tui/component/textarea-keybindings
    • technocode/cli/cmd/tui/context/directory
    • technocode/cli/cmd/tui/event
    • technocode/cli/cmd/tui/provider-display
    • technocode/cli/cmd/tui/thread
    • technocode/cli/cmd/tui/ui/spinner
    • technocode/cli/cmd/tui/util/clipboard
    • technocode/cli/cmd/tui/util/editor
    • technocode/cli/cmd/tui/util/selection
    • technocode/cli/cmd/tui/util/signal
    • technocode/cli/cmd/tui/util/terminal
    • technocode/cli/cmd/tui/util/transcript
    • technocode/cli/cmd/tui/win32
    • technocode/cli/cmd/tui/worker
    • technocode/cli/cmd/uninstall
    • technocode/cli/cmd/upgrade
    • technocode/cli/cmd/web
    • technocode/cli/cmd/workspace-serve
    • technocode/cli/effect/prompt
    • technocode/cli/error
    • technocode/cli/logo
    • technocode/cli/network
    • technocode/cli/ui
    • technocode/cli/upgrade
    • technocode/command/index
    • technocode/config/config
    • technocode/config/markdown
    • technocode/config/migrate-tui-config
    • technocode/config/paths
    • technocode/config/tui
    • technocode/config/tui-schema
    • technocode/control-plane/adaptors/index
    • technocode/control-plane/adaptors/worktree
    • technocode/control-plane/schema
    • technocode/control-plane/sse
    • technocode/control-plane/types
    • technocode/control-plane/workspace
    • technocode/control-plane/workspace-context
    • technocode/control-plane/workspace-router-middleware
    • technocode/control-plane/workspace-server/routes
    • technocode/control-plane/workspace-server/server
    • technocode/control-plane/workspace.sql
    • technocode/effect/instance-context
    • technocode/effect/instance-registry
    • technocode/effect/instances
    • technocode/effect/runtime
    • technocode/env/index
    • technocode/file/ignore
    • technocode/file/index
    • technocode/file/protected
    • technocode/file/ripgrep
    • technocode/file/time
    • technocode/file/watcher
    • technocode/flag/flag
    • technocode/format/formatter
    • technocode/format/index
    • technocode/global/index
    • technocode/id/id
    • technocode/ide/index
    • technocode/index
    • technocode/installation/index
    • technocode/lsp/client
    • technocode/lsp/index
    • technocode/lsp/language
    • technocode/lsp/server
    • technocode/mcp/auth
    • technocode/mcp/index
    • technocode/mcp/oauth-callback
    • technocode/mcp/oauth-provider
    • technocode/patch/index
    • technocode/permission/arity
    • technocode/permission/next
    • technocode/permission/schema
    • technocode/permission/service
    • technocode/plugin/codex
    • technocode/plugin/copilot
    • technocode/plugin/index
    • technocode/project/bootstrap
    • technocode/project/instance
    • technocode/project/project
    • technocode/project/project.sql
    • technocode/project/schema
    • technocode/project/state
    • technocode/project/vcs
    • technocode/provider/auth
    • technocode/provider/auth-service
    • technocode/provider/error
    • technocode/provider/models
    • technocode/provider/provider
    • technocode/provider/schema
    • technocode/provider/sdk/copilot/chat/convert-to-openai-compatible-chat-messages
    • technocode/provider/sdk/copilot/chat/get-response-metadata
    • technocode/provider/sdk/copilot/chat/map-openai-compatible-finish-reason
    • technocode/provider/sdk/copilot/chat/openai-compatible-api-types
    • technocode/provider/sdk/copilot/chat/openai-compatible-chat-language-model
    • technocode/provider/sdk/copilot/chat/openai-compatible-chat-options
    • technocode/provider/sdk/copilot/chat/openai-compatible-metadata-extractor
    • technocode/provider/sdk/copilot/chat/openai-compatible-prepare-tools
    • technocode/provider/sdk/copilot/copilot-provider
    • technocode/provider/sdk/copilot/index
    • technocode/provider/sdk/copilot/openai-compatible-error
    • technocode/provider/sdk/copilot/responses/convert-to-openai-responses-input
    • technocode/provider/sdk/copilot/responses/map-openai-responses-finish-reason
    • technocode/provider/sdk/copilot/responses/openai-config
    • technocode/provider/sdk/copilot/responses/openai-error
    • technocode/provider/sdk/copilot/responses/openai-responses-api-types
    • technocode/provider/sdk/copilot/responses/openai-responses-language-model
    • technocode/provider/sdk/copilot/responses/openai-responses-prepare-tools
    • technocode/provider/sdk/copilot/responses/openai-responses-settings
    • technocode/provider/sdk/copilot/responses/tool/code-interpreter
    • technocode/provider/sdk/copilot/responses/tool/file-search
    • technocode/provider/sdk/copilot/responses/tool/image-generation
    • technocode/provider/sdk/copilot/responses/tool/local-shell
    • technocode/provider/sdk/copilot/responses/tool/web-search
    • technocode/provider/sdk/copilot/responses/tool/web-search-preview
    • technocode/provider/transform
    • technocode/pty/index
    • technocode/pty/schema
    • technocode/question/index
    • technocode/question/schema
    • technocode/question/service
    • technocode/scheduler/index
    • technocode/server/error
    • technocode/server/event
    • technocode/server/mdns
    • technocode/server/routes/config
    • technocode/server/routes/experimental
    • technocode/server/routes/file
    • technocode/server/routes/global
    • technocode/server/routes/mcp
    • technocode/server/routes/permission
    • technocode/server/routes/project
    • technocode/server/routes/provider
    • technocode/server/routes/pty
    • technocode/server/routes/question
    • technocode/server/routes/session
    • technocode/server/routes/tui
    • technocode/server/routes/workspace
    • technocode/server/server
    • technocode/session/compaction
    • technocode/session/index
    • technocode/session/instruction
    • technocode/session/llm
    • technocode/session/message
    • technocode/session/message-v2
    • technocode/session/processor
    • technocode/session/prompt
    • technocode/session/retry
    • technocode/session/revert
    • technocode/session/schema
    • technocode/session/session.sql
    • technocode/session/status
    • technocode/session/summary
    • technocode/session/system
    • technocode/session/todo
    • technocode/share/share-next
    • technocode/share/share.sql
    • technocode/shell/shell
    • technocode/skill/discovery
    • technocode/skill/index
    • technocode/skill/skill
    • technocode/snapshot/index
    • technocode/sql.d
    • technocode/storage/db
    • technocode/storage/json-migration
    • technocode/storage/schema
    • technocode/storage/schema.sql
    • technocode/storage/storage
    • technocode/tool/apply_patch
    • technocode/tool/bash
    • technocode/tool/batch
    • technocode/tool/codesearch
    • technocode/tool/edit
    • technocode/tool/external-directory
    • technocode/tool/glob
    • technocode/tool/grep
    • technocode/tool/invalid
    • technocode/tool/ls
    • technocode/tool/lsp
    • technocode/tool/multiedit
    • technocode/tool/plan
    • technocode/tool/question
    • technocode/tool/read
    • technocode/tool/registry
    • technocode/tool/schema
    • technocode/tool/skill
    • technocode/tool/task
    • technocode/tool/todo
    • technocode/tool/tool
    • technocode/tool/truncation
    • technocode/tool/webfetch
    • technocode/tool/websearch
    • technocode/tool/write
    • technocode/util/abort
    • technocode/util/archive
    • technocode/util/color
    • technocode/util/context
    • technocode/util/data-url
    • technocode/util/defer
    • technocode/util/effect-http-client
    • technocode/util/effect-zod
    • technocode/util/eventloop
    • technocode/util/filesystem
    • technocode/util/fn
    • technocode/util/format
    • technocode/util/git
    • technocode/util/glob
    • technocode/util/hash
    • technocode/util/iife
    • technocode/util/keybind
    • technocode/util/lazy
    • technocode/util/locale
    • technocode/util/lock
    • technocode/util/log
    • technocode/util/process
    • technocode/util/proxied
    • technocode/util/queue
    • technocode/util/rpc
    • technocode/util/schema
    • technocode/util/scrap
    • technocode/util/signal
    • technocode/util/timeout
    • technocode/util/token
    • technocode/util/which
    • technocode/util/wildcard
    • technocode/worktree/index

    Readme

    TechnocodeX

    AI coding assistant CLI with browser UI, powered by TypeScript/Bun.

    Copyright (c) 2025 Prabhasingh. All rights reserved.

    Install

    bun install

    Run

    Development Mode (Browser UI)

    Start the development server with browser UI:

    bun dev

    This starts the app with hot-reload. Open the browser at:

    Stop:

    • Press Ctrl+C in the terminal

    Build and Run Production

    bun run build
    bun run index.ts

    Run Without Browser (CLI Only)

    bun run index.ts

    Type Checking

    bun typecheck

    Run Tests

    bun test

    Python Backend Integration

    TechnocodeX can proxy requests to a Python backend. Set the environment variable before running:

    # Point to Python backend
    export TECHNOCODEX_PY_BACKEND_URL=http://127.0.0.1:8000
    export TECHNOCODEX_PY_BACKEND_PROVIDER=ollama
    export TECHNOCODEX_PY_BACKEND_MODEL=qwen2.5-coder
    
    # Then run
    bun dev

    Available Scripts

    Command Description
    bun dev Start dev server with browser UI
    bun run build Build for production
    bun run index.ts Run production build
    bun typecheck Run TypeScript type checking
    bun test Run tests
    bun db generate Generate database migrations

    Troubleshooting

    Port Already in Use

    # Find what's using the port
    netstat -ano | findstr :5173
    
    # Kill the process (replace PID)
    taskkill /PID <PID> /F
    
    # Or use a different approach
    bunx kill-port 5173

    Clear Database Cache

    # Remove SQLite database
    rm -rf .technocode.db

    Build Errors

    # Clean and reinstall
    rm -rf node_modules dist
    bun install
    bun run build

    Hot Reload Not Working

    Press Ctrl+C to stop the dev server, then restart with bun dev.