@cocycles/bitx 0.1.0-alpha.0 → 0.1.0-alpha.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 (4) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +5 -0
  3. package/README.md +122 -110
  4. package/package.json +9 -7
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Cocycles Ltd
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
package/NOTICE ADDED
@@ -0,0 +1,5 @@
1
+ bitx
2
+ Copyright 2026 Cocycles Ltd
3
+ Contact: team@cocycles.com
4
+
5
+ Licensed under the Apache License, Version 2.0 (see LICENSE).
package/README.md CHANGED
@@ -1,169 +1,181 @@
1
1
  # bitx
2
2
 
3
- **See what breaks. Ship what doesn't.**
3
+ **Software is a graph. Build it that way.**
4
4
 
5
- Git versions repositories. Software doesn't stop at repository boundaries.
5
+ Your code lives in repositories. Your software doesn't.
6
6
 
7
- Your apps, services and libraries depend on each other. Git knows the files that changed.
8
- It doesn't know what that change will break.
7
+ Applications, services and libraries form connected systems, each with its own API, version and
8
+ dependencies. Yet the software we build stays fragmented across repositories, tools and teams.
9
9
 
10
- bitx does.
10
+ **bitx makes software units and their relationships first-class.** It discovers the software in your existing
11
+ Git repositories and gives each unit an identity, a public contract, a version and a place in a connected
12
+ graph. Use that graph to understand, version and reuse software, and connect it to Bit Cloud to make it
13
+ available across repositories, teams and AI agents.
11
14
 
12
- It connects your apps, services and libraries into a software graph, revealing how changes affect the
13
- software that depends on them.
15
+ It works on your existing repositories, alongside the tools you already use. No migration, and no cloud
16
+ account needed to understand your local workspace.
14
17
 
15
18
  > **Alpha.** Commands and output may change between releases.
16
19
 
17
- ## Install
20
+ ## Quick start
18
21
 
19
22
  ```sh
20
- npm i -g @cocycles/bitx@next # globally
21
- npm i -D @cocycles/bitx@next # or per repo, then call `bitx` from npm scripts
23
+ npm i -g @cocycles/bitx@next
24
+ bitx init # discover the software units in your repo
22
25
  ```
23
26
 
24
- One prebuilt native binary for your platform (macOS arm64/x64, Linux x64/arm64, Windows x64). No install
25
- scripts, nothing downloaded at install time, no daemon. Node 18+ only starts the binary.
27
+ Then see them, with each unit's kind, version, API and dependents:
26
28
 
27
- It works on the workspace you already have: pnpm, npm, Yarn or Bun workspaces, or Cargo. Nothing moves.
29
+ ```
30
+ $ bitx status
31
+ bitx status · acme · ⎇ main 6 units · 46 ms
32
+ acme/admin app 1.0.0 1 export
33
+ acme/billing service 1.0.0 1 export
34
+ acme/checkout-flow library 1.0.0 1 export used by 1
35
+ acme/money library 1.0.0 2 exports used by 3
36
+ acme/payments library 1.0.0 4 exports used by 3
37
+ acme/storefront app 1.0.0 1 export
38
+ ```
28
39
 
29
- bitx is the CLI; [Bit Cloud](https://bit.cloud) is the hosted graph it connects to.
40
+ On a branch with changes, `bitx impact` shows what they do to the APIs, and to everything that uses them.
30
41
 
31
- ## Quick start
42
+ Works with pnpm, npm, Yarn, Bun and Cargo workspaces. One native binary for macOS, Linux and Windows; no
43
+ install scripts; Node 18+ only starts it.
32
44
 
33
- ```sh
34
- bitx init # connect your existing workspace
35
- # change a public API (or check out a branch that does), then:
36
- bitx impact # what your changes break, and what uses them
37
- bitx impact --repo github.com/acme/app # ...in another repo (a URL or a path)
38
- bitx impact --package <name> # ...in a published npm package
39
- ```
45
+ ## Understand your software
40
46
 
41
- `bitx --help` lists every command; `bitx <command> --help` explains one.
47
+ A unit is an application, service or library, with:
48
+
49
+ - **An identity:** `acme/payments`, independent of the path or the repository it lives in.
50
+ - **A contract:** its public API, read from source without a build (TypeScript and Rust today).
51
+ - **Versions of its own:** a history per unit, not per repository.
52
+ - **Dependents:** the units that use it, in your workspace, in repositories you name, and on Bit Cloud.
53
+
54
+ `bitx init` reads the units from the manifests you already have; kinds are detected from their
55
+ dependencies, or declared. Each unit's contract is one command away:
56
+
57
+ ```
58
+ $ bitx api payments
59
+ acme/payments src/index.ts · 4 exports
60
+ Functions
61
+ charge(total: Money): PaymentStatus
62
+ retryPayment(orderId: string): Promise<boolean>
63
+ Interfaces
64
+ PaymentError 1 property
65
+ Types
66
+ PaymentStatus = "paid" | "declined"
67
+ ```
42
68
 
43
- ## See what a change breaks
69
+ `bitx graph` draws the units and their dependencies, and every command has `--json` output.
44
70
 
45
- `bitx init` discovers the packages, apps and services your repo already declares and connects them in a
46
- dependency graph.
71
+ ## See what breaks. Ship what doesn't.
47
72
 
48
- Make a change, and `bitx impact` compares the public API with where your branch left `main` (or any
49
- revision, with `--base`). Each API change gets one of four verdicts, and you see everything that uses it:
73
+ Git sees lines. bitx sees contracts. `bitx impact` compares each unit's contract with its last version (or
74
+ with where your branch left `main`, or any revision with `--base`), and gives each change a verdict:
50
75
 
51
76
  - **breaking:** callers that compiled before won't (an export removed, a parameter now required)
52
- - **feature:** new API, nothing breaks (an export added, an optional parameter)
53
- - **compatible:** no effect on callers
77
+ - **feature:** new API, and no incompatible change detected
78
+ - **compatible:** no incompatible public API change detected
54
79
  - **review:** a type changed, and the source alone can't tell whether callers break
55
80
 
81
+ On a branch, `payments` dropped an export, gained a required parameter and widened a type, while `money`
82
+ only had an internal rewrite. bitx follows each contract change into the `storefront` repository:
83
+
56
84
  ```
57
85
  $ bitx impact --repo ../storefront
58
- bitx impact · acme/checkout-flow workspace only · 2.7s
59
-
60
- 2 components use it · 2 in acme
61
-
62
- API CHANGES 3 since main
63
- acme/checkout-flow breaking · major
86
+ API CHANGES 4 since main · 1 component with no public API change
87
+ acme/payments breaking · major
64
88
  − PaymentError breaking · export removed interface PaymentError
65
89
  ~ retryPayment breaking · required parameter `attempts` added
66
- retryPayment(orderId: string): Promise<boolean>
67
- retryPayment(orderId: string, attempts: number): …
68
90
  ~ PaymentStatus review · wider (TypeScript): code creating it is fine; code reading it may get more than it handles
69
- type PaymentStatus = 'paid' | 'declined'
70
- type PaymentStatus = 'paid' | 'declined' | 'pendi…
91
+ + refund feature
71
92
 
72
93
  REPO ../storefront
73
94
  breaks · 3 uses of what changed, in 1 file · 1 use to review · 1 other file uses the packages safely
74
- ✖ src/checkout/pay.ts:1,3 PaymentError `PaymentError` was removed
75
- ✖ src/checkout/pay.ts:8 retryPayment passes 1 argument: required parameter `attempts` added
95
+ ✖ src/checkout/pay.ts:1,7 PaymentError `PaymentError` was removed
96
+ ✖ src/checkout/pay.ts:5 retryPayment passes 1 argument: required parameter `attempts` added
76
97
  ? src/checkout/status.ts:3 PaymentStatus wider (TypeScript): code creating it is fine; code reading it may get more than it handles
77
-
78
- IN ACME 2 your scope
79
- admin
80
- storefront
81
98
  ```
82
99
 
83
- A verdict is about the contract: removing `PaymentError` is breaking for anyone who could use it. Whether a
84
- particular consumer breaks depends on what it uses, and `--repo` shows that: the files and lines that use
85
- what changed, and the ones that use the package without touching it. `PaymentStatus` gained `'pending'`:
86
- code that creates one is fine, but a `switch` that reads one may not handle the new value, so it's flagged
87
- for review, with the line, not guessed.
88
-
89
- bitx analyzes TypeScript and Rust APIs directly from source, without a build. When TypeScript inference
90
- is needed, it uses your existing TypeScript installation. Anything it can't verify is reported explicitly.
100
+ A verdict is about the contract; whether a consumer breaks depends on what it uses, and `--repo` shows that,
101
+ down to the line. A change in behavior behind an unchanged signature still needs your tests and review.
91
102
 
92
- `nx affected` and `turbo --filter` tell you which packages a file change reaches. bitx tells you what the
93
- change does to them: an internal rewrite has no API changes, a new optional parameter is a feature, a
94
- removed export is breaking.
103
+ Across repositories, bitx works at three levels: your workspace (`bitx impact --offline`), consumers you name
104
+ (`--repo` with a Git URL or a path, `--package` with a published npm package; read only), and on Bit Cloud,
105
+ every dependent of a change that you can see, across your scope, organization and other organizations.
95
106
 
96
- Other repos work too: `--repo` (a Git URL or a path) and `--package <name>` check a change against a
97
- repository or a published package you name, locally. Finding every repo that depends on you, including
98
- the ones you don't know about, is what Bit Cloud does (below).
107
+ ## Make your software available
99
108
 
100
- ## Why now: trusting AI-generated code
109
+ Understanding your software is just the beginning. Connect your Git repository to
110
+ [Bit Cloud](https://bit.cloud), and the units you build become versioned, built and available for reuse
111
+ across repositories, teams and AI agents:
101
112
 
102
- AI can generate changes faster than teams can verify them. Trusting them is the new bottleneck.
113
+ ```sh
114
+ bitx ci init # connect your GitHub, GitLab, Azure or Bitbucket pipeline to Bit Cloud
115
+ ```
103
116
 
104
- A Git diff shows what changed. bitx shows what the change does to the software that depends on it, and
105
- agents can use it the same way you do:
117
+ With Bit Cloud:
106
118
 
107
- - **Check their own work before a PR.** An agent runs `bitx impact --base main` and sees a breaking API
108
- change it missed, with the software it reaches, before you review it.
109
- - **Test only what a change reaches.** `bitx impact --json` lists the dependents, so CI or an agent runs
110
- your own tests on exactly those.
111
- - **Work with the graph.** Bit Cloud's hosted MCP server connects agents to it (`bitx init` writes the
112
- config).
119
+ - **Pull requests** reveal their API changes, and what they affect in connected software.
120
+ - **Merges** version and build the changed units, each by its own API change, not by commit messages:
113
121
 
114
- The verdicts cover the public API. A change in behavior behind an unchanged signature still needs your
115
- tests, your review and the previews (below).
122
+ ```
123
+ ◆ acme/money 1.0.0 → 1.0.1
124
+ ◆ acme/payments 1.0.0 → 2.0.0 breaking: `PaymentError` export removed (+3 more)
125
+ ◆ acme/admin 1.0.0 → 1.0.1
126
+ ```
116
127
 
117
- ## Fast enough to disappear
128
+ - **Libraries** become discoverable and reusable across repositories, with their APIs, versions and docs, and
129
+ installable without a separate publishing step, for whoever their scope allows.
130
+ - **Apps and services** can be previewed and deployed.
131
+ - **AI agents** find existing software and what depends on it through Bit Cloud's MCP server, before building
132
+ something new (`bitx mcp setup` writes the config for Claude Code, Cursor, Windsurf or Copilot).
118
133
 
119
- `bitx impact` takes about 0.4 s on a 134-package workspace, 2 s when TypeScript checks inferred types
120
- (warm caches). The rest of the toolchain is just as quick: against classic Bit, the Node.js CLI bitx
121
- replaces, on the same generated monorepo of 3,000 TypeScript packages (each importing 2–3 others, 30 layers
122
- deep):
134
+ Without CI, `bitx tag` does the same versioning locally.
123
135
 
124
- | | classic `bit` | bitx |
125
- | -------------------------------- | ------------- | ---------- |
126
- | Status | 16.6 s | **0.11 s** |
127
- | Status after versioning all | 81.0 s | **0.53 s** |
128
- | Compile every package | 41.6 s | **2.2 s** |
129
- | Install | 92.5 s | **2.4 s** |
130
- | Version all 3,000 packages | 116.6 s | **4.6 s** |
136
+ Software doesn't just get built. It becomes available for others to build on.
131
137
 
132
- On a production workspace (493 packages, 16,000 installed dependencies), bitx compiles everything
133
- in 3.5 s, type-checks what changed in 0.7 s, and starts an app ready to serve in 10.5 s.
138
+ ## For AI agents
134
139
 
135
- Written in Rust, bitx performs graph operations locally and invokes each environment's tooling only when
136
- needed. No daemon or server round trips for local work.
140
+ AI agents can generate code; knowing what already exists and what a change breaks is a different problem.
141
+ bitx gives them that as structured data:
137
142
 
138
- ## Versions that follow the API
143
+ ```sh
144
+ bitx status --json # the units: kind, version, API size, dependents
145
+ bitx api --diff --json # each API change, with its verdict and reason
146
+ bitx impact --json # everything a change reaches, so CI or the agent tests exactly that
147
+ ```
139
148
 
140
- When you release, `bitx tag` can set the versions too: the API decides each bump (breaking is a major, new
141
- API a minor, the rest a patch), written into `package.json` or `Cargo.toml` with the ranges other packages
142
- in the repo have on it. It only sets versions; publishing and changelogs stay with the tools you use.
149
+ ## Fast enough to disappear
143
150
 
144
- ## Already using Bit?
151
+ Written in Rust: graph operations run locally, with no daemon and no server round trips. `bitx impact` takes
152
+ about 0.4 s on a 134-package workspace. Against Bit, the Node.js CLI bitx grew out of, on a generated monorepo
153
+ of 3,000 TypeScript packages:
145
154
 
146
- bitx supports existing Bit workspaces and commands, including create, install, snap, tag and export. Your
147
- existing components and workflows continue to work, and bitx will also ship as the next Bit release in bvm.
155
+ | Operation | Bit (Node.js) | bitx |
156
+ | -------------------------- | ------------: | ---------: |
157
+ | Status | 16.6 s | **0.11 s** |
158
+ | Compile every package | 41.6 s | **2.2 s** |
159
+ | Install | 92.5 s | **2.4 s** |
160
+ | Version all 3,000 packages | 116.6 s | **4.6 s** |
148
161
 
149
- No migration required.
162
+ ## Works with Git
150
163
 
151
- ## One software graph. Across every repo.
164
+ Start with your existing workspace and tools, and adopt bitx without migrating your repository. Git keeps the history of your files; bitx adds the units, contracts, versions and relationships that span
165
+ repositories. Your branches, pull requests and hosting stay as they are.
152
166
 
153
- Say your team changes a shared authentication library that three other teams use across six repositories.
154
- Git sees a change to one repository. `--repo` checks the repositories you know about. Bit Cloud knows all
155
- of them.
167
+ Existing Bit workspaces are supported too, with their commands and workflows (import, snap, tag, export,
168
+ lanes). bitx will also ship as the next Bit release in bvm.
156
169
 
157
- [Bit Cloud](https://bit.cloud) is the software graph across every repository, team and organization.
158
- Connect your repos, and `bitx impact` finds every dependent of a change for you: across your organization
159
- and beyond, including repos you'd never think to check, how they reach it (`--details`), and how far it
160
- goes. Backend services too: AI review finds the API contracts your services expose and the services that
161
- call them.
170
+ ## Origins and prior art
162
171
 
163
- Bit Cloud can also run the rest of the change for you, when you want it: Ripple CI builds what a change
164
- affects across repos, every change gets previews and staging, and releases publish themselves.
172
+ bitx builds on a decade of work on [Bit](https://github.com/teambit/bit), which introduced independently
173
+ versioned components, their dependency relationships and scopes that share them across repositories. bitx
174
+ brings that model to the repositories you already have, as a native Rust implementation, with the public
175
+ contract at the center of impact and versioning.
165
176
 
166
- For an organization, that's the difference between a breaking change caught in review and an outage across
167
- six repositories.
177
+ Monorepo build tools model build dependencies and affected work within a repository, and API-diff tools compare
178
+ public APIs. bitx puts units, contracts, versions and dependents into one model that extends across
179
+ repositories.
168
180
 
169
- **Keep Git. See the whole software graph.**
181
+ How units are identified, stored, versioned and shared: [ARCHITECTURE.md](ARCHITECTURE.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocycles/bitx",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.2",
4
4
  "description": "bitx: Bit's native CLI, one binary. Keep Git, turn your software into a graph.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -11,16 +11,18 @@
11
11
  "bitx": "bin/bitx.js"
12
12
  },
13
13
  "files": [
14
- "bin"
14
+ "bin",
15
+ "LICENSE",
16
+ "NOTICE"
15
17
  ],
16
18
  "engines": {
17
19
  "node": ">=18"
18
20
  },
19
21
  "optionalDependencies": {
20
- "@cocycles/bitx-darwin-arm64": "0.1.0-alpha.0",
21
- "@cocycles/bitx-darwin-x64": "0.1.0-alpha.0",
22
- "@cocycles/bitx-linux-x64": "0.1.0-alpha.0",
23
- "@cocycles/bitx-linux-arm64": "0.1.0-alpha.0",
24
- "@cocycles/bitx-win32-x64": "0.1.0-alpha.0"
22
+ "@cocycles/bitx-darwin-arm64": "0.1.0-alpha.2",
23
+ "@cocycles/bitx-darwin-x64": "0.1.0-alpha.2",
24
+ "@cocycles/bitx-linux-x64": "0.1.0-alpha.2",
25
+ "@cocycles/bitx-linux-arm64": "0.1.0-alpha.2",
26
+ "@cocycles/bitx-win32-x64": "0.1.0-alpha.2"
25
27
  }
26
28
  }