btca 0.3.3 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "btca",
3
3
  "author": "Ben Davis",
4
- "version": "0.3.3",
4
+ "version": "0.4.0",
5
5
  "description": "CLI tool for asking questions about technologies using OpenCode",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -30,9 +30,10 @@
30
30
  "scripts": {
31
31
  "build": "bun run scripts/build.ts",
32
32
  "build:targets": "bun run scripts/build-binaries.ts",
33
- "build:artifacts": "bun run build && bun run build:targets",
33
+ "setup:platforms": "bun install --cpu=x64 --os=darwin && bun install --cpu=x64 --os=linux && bun install --cpu=arm64 --os=linux && bun install --cpu=x64 --os=win32",
34
+ "build:artifacts": "bun run setup:platforms && bun run build && bun run build:targets",
34
35
  "prepublishOnly": "bun run build:artifacts",
35
- "check": "tsc --noEmit",
36
+ "check": "tsgo --noEmit",
36
37
  "prepare": "effect-language-service patch"
37
38
  },
38
39
  "devDependencies": {
@@ -45,7 +46,13 @@
45
46
  "@effect/typeclass": "^0.38.0",
46
47
  "@opencode-ai/sdk": "^1.0.119",
47
48
  "@types/bun": "latest",
49
+ "@types/react": "^19.2.7",
48
50
  "effect": "^3.19.8",
49
51
  "typescript": "^5.9.3"
52
+ },
53
+ "dependencies": {
54
+ "@opentui/core": "^0.1.60",
55
+ "@opentui/react": "^0.1.60",
56
+ "react": "^19.2.3"
50
57
  }
51
58
  }