@compilr-dev/agents-coding-go 0.1.0 → 0.1.2

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 (2) hide show
  1. package/README.md +48 -0
  2. package/package.json +4 -4
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # @compilr-dev/agents-coding-go
2
+
3
+ Go analysis tools for AI agents - AST-based code analysis using Tree-sitter.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @compilr-dev/agents-coding-go
9
+ ```
10
+
11
+ **Peer dependency:** `@compilr-dev/agents ^0.3.0`
12
+
13
+ ## Features
14
+
15
+ - **AST Analysis** - Parse and analyze Go code via Tree-sitter
16
+ - **Function/Struct Extraction** - Extract definitions with signatures
17
+ - **Interface Analysis** - Extract interface definitions
18
+ - **Import Analysis** - Track package dependencies
19
+
20
+ ## Usage
21
+
22
+ ```typescript
23
+ import { goTools, goSkills } from '@compilr-dev/agents-coding-go';
24
+
25
+ // Register tools with your agent
26
+ agent.registerTools(goTools);
27
+ agent.registerSkills(goSkills);
28
+ ```
29
+
30
+ ## Tools
31
+
32
+ | Tool | Description |
33
+ |------|-------------|
34
+ | `analyzeGo` | Analyze Go file structure |
35
+ | `extractFunctions` | Extract function definitions |
36
+ | `extractStructs` | Extract struct definitions |
37
+ | `extractInterfaces` | Extract interface definitions |
38
+
39
+ ## Part of the agents-coding ecosystem
40
+
41
+ - [`@compilr-dev/agents-coding`](https://npmjs.com/package/@compilr-dev/agents-coding) - Umbrella package (recommended)
42
+ - [`@compilr-dev/agents-coding-core`](https://npmjs.com/package/@compilr-dev/agents-coding-core) - Language-agnostic tools
43
+ - [`@compilr-dev/agents-coding-ts`](https://npmjs.com/package/@compilr-dev/agents-coding-ts) - TypeScript/JavaScript analysis
44
+ - [`@compilr-dev/agents-coding-python`](https://npmjs.com/package/@compilr-dev/agents-coding-python) - Python analysis
45
+
46
+ ## License
47
+
48
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/agents-coding-go",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Go analysis tools for AI agents - AST-based code analysis using Tree-sitter",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "repository": {
43
43
  "type": "git",
44
- "url": "git+https://github.com/compilr-dev/agents-go.git"
44
+ "url": "git+https://github.com/compilr-dev/agents-coding.git"
45
45
  },
46
46
  "keywords": [
47
47
  "ai",
@@ -58,9 +58,9 @@
58
58
  "author": "Carmelo Scozzola",
59
59
  "license": "MIT",
60
60
  "bugs": {
61
- "url": "https://github.com/compilr-dev/agents-go/issues"
61
+ "url": "https://github.com/compilr-dev/agents-coding/issues"
62
62
  },
63
- "homepage": "https://github.com/compilr-dev/agents-go#readme",
63
+ "homepage": "https://github.com/compilr-dev/agents-coding#readme",
64
64
  "engines": {
65
65
  "node": ">=18.0.0"
66
66
  },