{
  "name": "drishtijs",
  "version": "2.2.9",
  "description": "Drishti JavaScript framework CLI and native runtime package",
  "license": "MIT",
  "bin": {
    "drish": "bin/drish.js",
    "drishtijs": "bin/drish.js",
    "create-drishti": "bin/create-drishti.js",
    "create-drishtijs": "bin/create-drishti.js"
  },
  "files": [
    "bin",
    "native/darwin-arm64",
    "native/darwin-x64",
    "native/linux-x64",
    "native/win32-x64",
    "scripts/postinstall.js",
    "README.md",
    "LICENSE",
    "package/installer"
  ],
  "scripts": {
    "postinstall": "node ./scripts/postinstall.js"
  },
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "esbuild": "^0.27.3"
  },
  "readme": "# DrishtiJS\n\nDrishtiJS is a JavaScript framework CLI with a bundled runtime for creating and running Drishti applications.\n\n# Learn and Know More\nhttps://www.drishtijs.dev\n\n## Install\n\n```sh\nnpm install drishtijs\n```\n\nThe package selects the native CLI for your operating system. No separate global `drish` installation is required. It also copies the matching lightweight DrishX installer to `package/installer` inside your project; npm installation does not download the AI models.\n\n## Create an app\n\n```sh\nnpx drishtijs@latest create app my-app --typescript\n```\n\nYou can also use the installed command directly:\n\n```sh\nnpx create-drishti my-app --typescript\n```\n\nSupported source options are `--javascript`, `--typescript`, and `--tsx`.\n\n## Run an app\n\n```sh\ncd my-app\nnpm install\nnpm run dev\n```\n\nGenerated apps include these scripts:\n\n```sh\nnpm run dev\nnpm start\nnpm test\nnpm run build\n```\n\n## Project DrishX assistant\n\nRun your project and click **Install DrishX** on its home page. The package includes the verified Agent application. First setup installs it and downloads the models and matching OS runtime from Hugging Face into that project’s `.drishx` folder. Setup provisions a private Python runtime when needed. Later server starts reuse the installed application, models and environment.\n\nDouble-click the draggable DrishX logo, or focus it with Tab and press Enter, to open the embedded assistant. Close the panel with its close button. Drag the lower-left resize corner, or focus it and use arrow keys (Shift for larger steps), to resize the panel. Its size is saved for that project. The assistant connects to the owning project automatically. Each project has separate chats, indexes, caches, database and runtime ports, so multiple projects can run simultaneously. The parent desktop app is optional: each project independently downloads and stores the full agent/model payload, including several GB of extracted models.\n\nThe CLI preserves existing `.gitignore` entries and adds `/.drishx/` and `/package/installer/`, creating the file when needed. Update the local package with `npm install drishtijs@latest` to receive the latest bundled installer. Global CLI installs do not write project files until you create or run a project. If your npm configuration blocks dependency lifecycle scripts, the CLI prepares the project installer on its first create/run command.\n\n## Release 2.2.9\n\nFixes npm README publication: the dedicated npm documentation is published as the package’s canonical `README.md`, with matching registry metadata.\n\nIncludes DrishX Agent 2.8.1 and the updated transparent Agent logo. Light mode uses the original blue mark; dark mode uses a white rendering of the same artwork. The launcher and embedded header/chat branding refresh when the framework is upgraded, including projects retaining an older installed Agent.\n\nThe bundled Agent keeps primary and fallback model controls in the wide Settings page and a separate User Profile. Server starts reuse installed application/model assets, and package updates preserve custom PHP/auth startup scripts and project data.\n\n## CLI\n\n```sh\nnpx drish help\nnpx drish --version\nnpx drish create app my-app --typescript\nnpx drish run .\n```\n\nFiles created under `app/css/` are applied automatically while the app runs. Start the local development server with `drish run --dev-editor` to use development-only tools such as the CSS editor and mobile conversion launcher.\n\n## Platform support\n\n| Platform | Architecture |\n| --- | --- |\n| macOS | Apple Silicon, Intel |\n| Linux | x64 |\n| Windows | x64 |\n\n## License\n\nMIT\n",
  "readmeFilename": "README.md"
}
