ainightcode 1.0.0

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.
@@ -0,0 +1,27 @@
1
+ ; Query from: https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/markdown/injections.scm
2
+ (fenced_code_block
3
+ (info_string
4
+ (language) @_lang)
5
+ (code_fence_content) @injection.content
6
+ (#set-lang-from-info-string! @_lang))
7
+
8
+ ((html_block) @injection.content
9
+ (#set! injection.language "html")
10
+ (#set! injection.combined)
11
+ (#set! injection.include-children))
12
+
13
+ ((minus_metadata) @injection.content
14
+ (#set! injection.language "yaml")
15
+ (#offset! @injection.content 1 0 -1 0)
16
+ (#set! injection.include-children))
17
+
18
+ ((plus_metadata) @injection.content
19
+ (#set! injection.language "toml")
20
+ (#offset! @injection.content 1 0 -1 0)
21
+ (#set! injection.include-children))
22
+
23
+ ([
24
+ (inline)
25
+ (pipe_table_cell)
26
+ ] @injection.content
27
+ (#set! injection.language "markdown_inline"))
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "ainightcode",
3
+ "version": "1.0.0",
4
+ "description": "AI-powered coding assistant for your terminal — powered by NightCode",
5
+ "type": "module",
6
+ "author": "NightCode",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "ai",
10
+ "coding",
11
+ "assistant",
12
+ "cli",
13
+ "terminal",
14
+ "nightcode",
15
+ "ainightcode"
16
+ ],
17
+ "homepage": "https://github.com/Ni3een/NightCode",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/Ni3een/NightCode.git"
21
+ },
22
+ "engines": {
23
+ "bun": ">=1.0.0"
24
+ },
25
+ "bin": {
26
+ "ainightcode": "./dist/index.js"
27
+ },
28
+ "files": [
29
+ "dist",
30
+ "README.md"
31
+ ],
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "scripts": {
36
+ "dev": "bun run --watch src/index.tsx",
37
+ "build": "bun build src/index.tsx --outdir dist --target bun --banner '#!/usr/bin/env bun'"
38
+ },
39
+ "dependencies": {
40
+ "@ai-sdk/react": "^3.0.211",
41
+ "@opentui/core": "^0.1.97",
42
+ "@opentui/react": "^0.1.97",
43
+ "ai": "^6.0.209",
44
+ "date-fns": "^4.4.0",
45
+ "dotenv": "^16.0.0",
46
+ "hono": "^4.12.12",
47
+ "open": "^10.1.0",
48
+ "opentui-spinner": "^0.0.6",
49
+ "pretty-ms": "^9.3.0",
50
+ "react": "^19.2.4",
51
+ "react-router": "^7.14.0",
52
+ "zod": "^4.3.6"
53
+ }
54
+ }