@vibgrate/cli 2026.702.2 → 2026.703.1

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.
Files changed (70) hide show
  1. package/DOCS.md +521 -146
  2. package/LICENSE +202 -0
  3. package/NOTICE +40 -0
  4. package/README.md +232 -250
  5. package/dist/baseline-D2T3V76P.js +6 -0
  6. package/dist/baseline-D2T3V76P.js.map +1 -0
  7. package/dist/chunk-4M2MUQRO.js +800 -0
  8. package/dist/chunk-4M2MUQRO.js.map +1 -0
  9. package/dist/chunk-E7Q3P6V7.js +6267 -0
  10. package/dist/chunk-E7Q3P6V7.js.map +1 -0
  11. package/dist/chunk-ROWQLHEX.js +31 -0
  12. package/dist/chunk-ROWQLHEX.js.map +1 -0
  13. package/dist/chunk-RXP66R2E.js +39 -0
  14. package/dist/chunk-RXP66R2E.js.map +1 -0
  15. package/dist/chunk-TVPE5CA2.js +11389 -0
  16. package/dist/chunk-TVPE5CA2.js.map +1 -0
  17. package/dist/chunk-X5YT263H.js +912 -0
  18. package/dist/chunk-X5YT263H.js.map +1 -0
  19. package/dist/cli.d.ts +44 -1
  20. package/dist/cli.js +3816 -165
  21. package/dist/cli.js.map +1 -0
  22. package/dist/fs-7KZ4F3SB.js +3 -0
  23. package/dist/fs-7KZ4F3SB.js.map +1 -0
  24. package/dist/index.d.ts +1010 -1
  25. package/dist/index.js +42 -1
  26. package/dist/index.js.map +1 -0
  27. package/dist/parse-worker.d.ts +23 -0
  28. package/dist/parse-worker.js +32 -0
  29. package/dist/parse-worker.js.map +1 -0
  30. package/dist/types-C6ZyQpa9.d.ts +168 -0
  31. package/grammars/tree-sitter-bash.wasm +0 -0
  32. package/grammars/tree-sitter-c.wasm +0 -0
  33. package/grammars/tree-sitter-c_sharp.wasm +0 -0
  34. package/grammars/tree-sitter-cpp.wasm +0 -0
  35. package/grammars/tree-sitter-dart.wasm +0 -0
  36. package/grammars/tree-sitter-elixir.wasm +0 -0
  37. package/grammars/tree-sitter-go.wasm +0 -0
  38. package/grammars/tree-sitter-java.wasm +0 -0
  39. package/grammars/tree-sitter-javascript.wasm +0 -0
  40. package/grammars/tree-sitter-kotlin.wasm +0 -0
  41. package/grammars/tree-sitter-lua.wasm +0 -0
  42. package/grammars/tree-sitter-php.wasm +0 -0
  43. package/grammars/tree-sitter-python.wasm +0 -0
  44. package/grammars/tree-sitter-ruby.wasm +0 -0
  45. package/grammars/tree-sitter-rust.wasm +0 -0
  46. package/grammars/tree-sitter-scala.wasm +0 -0
  47. package/grammars/tree-sitter-swift.wasm +0 -0
  48. package/grammars/tree-sitter-tsx.wasm +0 -0
  49. package/grammars/tree-sitter-typescript.wasm +0 -0
  50. package/grammars/tree-sitter-zig.wasm +0 -0
  51. package/package.json +68 -33
  52. package/scripts/postinstall.mjs +84 -0
  53. package/skills/README.md +58 -0
  54. package/skills/vg/SKILL.md +42 -0
  55. package/HCS-RUNTIME-SETUP.md +0 -73
  56. package/LICENSE.md +0 -45
  57. package/dist/baseline-TJDKYSFL.js +0 -1
  58. package/dist/chunk-EK7ODJWE.js +0 -1
  59. package/dist/chunk-GGDB72YE.js +0 -323
  60. package/dist/chunk-MKDRULJ6.js +0 -1
  61. package/dist/chunk-NGFYX3CW.js +0 -2
  62. package/dist/chunk-OQSVJXWJ.js +0 -143
  63. package/dist/chunk-XTHPCEME.js +0 -2
  64. package/dist/dist-5D3BKCOR.js +0 -1
  65. package/dist/fs-PXXYZATK-ZP2RBR47.js +0 -1
  66. package/dist/hcs-wasm/package.json +0 -3
  67. package/dist/hcs-wasm/vibgrate_hcs_wasm.js +0 -450
  68. package/dist/hcs-wasm/vibgrate_hcs_wasm_bg.wasm +0 -0
  69. package/dist/hcs-worker.js +0 -374406
  70. package/dist/semver-TPPMM2NV.js +0 -1
@@ -1,73 +0,0 @@
1
- # HCS Runtime Setup (Windows, macOS, Linux)
2
-
3
- This guide explains what must be installed to run `vibgrate extract` across languages.
4
-
5
- ## Important behavior
6
-
7
- - **Swift scanning currently uses the Node worker (text/regex extraction)**, so no Swift/Xcode toolchain is required today.
8
- - **Native AST scanners** currently exist for: Go, Python, Java, and .NET (C#).
9
- - The CLI tries to run **bundled native workers** first when present in `dist/workers/`.
10
- - If no bundled worker exists, the CLI falls back to local toolchains (`go`, `python3`, `java`, `dotnet`).
11
-
12
- ## What the CLI can and cannot auto-install
13
-
14
- - The CLI **does not auto-install system runtimes/toolchains**.
15
- - On first run, if a required runtime is missing, CLI errors include install hints.
16
- - Recommended enterprise approach: pre-provision toolchains in base images or publish bundled workers for each target OS.
17
-
18
- ## Prerequisites by language
19
-
20
- ### Go (`--language go`)
21
-
22
- - Runtime command needed when no bundled worker exists: `go`
23
- - Install docs: https://go.dev/doc/install
24
-
25
- Quick install examples:
26
- - macOS: `brew install go`
27
- - Windows: `winget install GoLang.Go`
28
- - Linux: install from `https://go.dev/dl/` or distro package manager
29
-
30
- ### Python (`--language python`)
31
-
32
- - Runtime command needed when no bundled worker exists: `python3`
33
- - Install docs: https://www.python.org/downloads/
34
-
35
- Quick install examples:
36
- - macOS: `brew install python`
37
- - Windows: `winget install Python.Python.3.12`
38
- - Linux: install Python 3.10+ from distro package manager
39
-
40
- ### Java (`--language java`)
41
-
42
- - Runtime command needed when no bundled worker exists: `java` (JRE/JDK 17+)
43
- - Install docs: https://adoptium.net/
44
-
45
- Quick install examples:
46
- - macOS: `brew install --cask temurin`
47
- - Windows: `winget install EclipseAdoptium.Temurin.17.JRE`
48
- - Linux: install OpenJDK 17+
49
-
50
- ### C# / .NET (`--language csharp`) and VB.NET (`--language vbnet` or `--language vb.net`)
51
-
52
- Resolution order in CLI:
53
- 1. Platform-native bundled worker executable (if present)
54
- 2. `dotnet VibgrateHcsWorker.dll`
55
- 3. `dotnet run --project VibgrateHcsWorker.csproj` (source mode)
56
-
57
- - Runtime command needed for fallback modes: `dotnet`
58
- - Install docs: https://dotnet.microsoft.com/download
59
-
60
- Quick install examples:
61
- - macOS: `brew install --cask dotnet-sdk`
62
- - Windows: `winget install Microsoft.DotNet.SDK.8`
63
- - Linux: install .NET 8 SDK/runtime from Microsoft packages
64
-
65
- ## Packaging guidance for full coverage
66
-
67
- For easiest user experience across Windows/macOS/Linux:
68
-
69
- 1. Build and ship worker artifacts per OS/arch in `dist/workers/`.
70
- 2. Keep runtime fallback for dev workflows.
71
- 3. Document minimum versions in release notes and this setup guide.
72
- 4. In CI images, pre-install toolchains if not shipping bundled workers.
73
-
package/LICENSE.md DELETED
@@ -1,45 +0,0 @@
1
- Vibgrate Proprietary License
2
-
3
- Copyright © 2026 Vibgrate. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person or organisation
6
- obtaining a copy of this software in compiled/distributed form (the "Software"),
7
- to use the Software for internal business and personal purposes, subject to the
8
- following conditions:
9
-
10
- 1. PERMITTED USE
11
- You may install, run, and use the Software as provided via the npm registry
12
- for the purpose of analysing upgrade drift in your own projects.
13
-
14
- 2. NO MODIFICATION
15
- You may not modify, adapt, translate, reverse-engineer, decompile,
16
- disassemble, or create derivative works based on the Software.
17
-
18
- 3. NO REDISTRIBUTION
19
- You may not redistribute, sublicense, sell, lease, or otherwise transfer
20
- the Software or any copy thereof to any third party, except as part of
21
- your own project's development toolchain (e.g. listed as a dependency in
22
- package.json).
23
-
24
- 4. NO SOURCE CODE ACCESS
25
- The source code of this Software is proprietary and confidential. Access
26
- to source code, if provided separately, does not grant any additional
27
- rights beyond those stated in this license.
28
-
29
- 5. NO WARRANTY
30
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
33
-
34
- 6. LIMITATION OF LIABILITY
35
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
36
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
37
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
38
- USE OR OTHER DEALINGS IN THE SOFTWARE.
39
-
40
- 7. TERMINATION
41
- This license is effective until terminated. It will terminate automatically
42
- if you fail to comply with any of its terms. Upon termination, you must
43
- destroy all copies of the Software in your possession.
44
-
45
- For licensing enquiries: ops@vibgrate.com
@@ -1 +0,0 @@
1
- export{h as baselineCommand,g as runBaseline}from'./chunk-NGFYX3CW.js';import'./chunk-OQSVJXWJ.js';import'./chunk-MKDRULJ6.js';import'./chunk-XTHPCEME.js';import'./chunk-EK7ODJWE.js';
@@ -1 +0,0 @@
1
- var g=Object.create;var f=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports);var l=(b,a,c,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of i(a))!k.call(b,d)&&d!==c&&f(b,d,{get:()=>a[d],enumerable:!(e=h(a,d))||e.enumerable});return b};var n=(b,a,c)=>(c=b!=null?g(j(b)):{},l(a||!b||!b.__esModule?f(c,"default",{value:b,enumerable:true}):c,b));export{m as a,n as b};