aibridge-context 1.0.1 → 1.0.3
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.
- package/README.md +31 -4
- package/package.json +1 -1
- package/utils/logger.js +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,33 @@
|
|
|
4
4
|
|
|
5
5
|
Think of it as Git for AI context.
|
|
6
6
|
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx aibridge-context init
|
|
11
|
+
npx aibridge-context start
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
This package exposes a CLI command:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
aibridge
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
When using `npx`, always use the package name:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx aibridge-context init
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
After installing globally, you can use:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
aibridge init
|
|
32
|
+
```
|
|
33
|
+
|
|
7
34
|
## Features
|
|
8
35
|
|
|
9
36
|
- Zero-config startup for Node.js projects
|
|
@@ -22,8 +49,8 @@ npm install
|
|
|
22
49
|
To use the local CLI in this repository:
|
|
23
50
|
|
|
24
51
|
```bash
|
|
25
|
-
npx aibridge init
|
|
26
|
-
npx aibridge start
|
|
52
|
+
npx aibridge-context init
|
|
53
|
+
npx aibridge-context start
|
|
27
54
|
```
|
|
28
55
|
|
|
29
56
|
If published to npm, the package exposes the `aibridge` binary.
|
|
@@ -114,8 +141,8 @@ When `aibridge start` is running:
|
|
|
114
141
|
## Example usage
|
|
115
142
|
|
|
116
143
|
```bash
|
|
117
|
-
npx aibridge init
|
|
118
|
-
npx aibridge start
|
|
144
|
+
npx aibridge-context init
|
|
145
|
+
npx aibridge-context start
|
|
119
146
|
```
|
|
120
147
|
|
|
121
148
|
Then point your AI tool to:
|
package/package.json
CHANGED
package/utils/logger.js
CHANGED
|
@@ -14,7 +14,7 @@ function createLogger(options) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
function format(level, message) {
|
|
17
|
-
return `[
|
|
17
|
+
return `[aibridge] ${new Date().toISOString()} ${level.toUpperCase()} ${message}`;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
return {
|