archondev 0.1.0 → 1.1.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.
- package/README.md +84 -51
- package/dist/auth-2QIFQZTL.js +12 -0
- package/dist/bug-DXLBBW3U.js +10 -0
- package/dist/{chunk-R6IMTNKV.js → chunk-2CFO5GVH.js} +0 -35
- package/dist/chunk-4NZPAEKS.js +878 -0
- package/dist/chunk-A7QU6JC6.js +119 -0
- package/dist/chunk-BL5TX2UW.js +91 -0
- package/dist/chunk-CAYCSBNX.js +202 -0
- package/dist/chunk-JBKFAD4M.js +650 -0
- package/dist/chunk-MOZHC2GX.js +351 -0
- package/dist/chunk-QGM4M3NI.js +37 -0
- package/dist/chunk-QPYDPMUV.js +4648 -0
- package/dist/chunk-UDBFDXJI.js +696 -0
- package/dist/chunk-VKM3HAHW.js +832 -0
- package/dist/chunk-WCCBJSNI.js +62 -0
- package/dist/code-review-FSTYDHNG.js +16 -0
- package/dist/execute-55VINPV5.js +12 -0
- package/dist/index.js +1706 -7169
- package/dist/list-LKYYAGSN.js +12 -0
- package/dist/{parser-D6PBQUJH.js → parser-M4DI7A24.js} +2 -1
- package/dist/plan-MWUUJV3W.js +15 -0
- package/dist/review-3R6QXAXQ.js +27 -0
- package/package.json +21 -1
package/README.md
CHANGED
|
@@ -1,75 +1,108 @@
|
|
|
1
1
|
# ArchonDev
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**AI Development Governance — Stop Babysitting Your AI Agent**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Two Ways to Use ArchonDev
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Option 1: Full CLI (Recommended)
|
|
8
|
+
The complete AI development system. It manages your entire development process so you can focus on the big picture — not constantly correcting your AI.
|
|
8
9
|
|
|
9
10
|
```bash
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
# macOS/Linux:
|
|
12
|
+
npm install -g archondev && archon
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
# Windows PowerShell:
|
|
15
|
+
npm install -g archondev; archon
|
|
16
|
+
```
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
**What you get:**
|
|
19
|
+
- AI that reads and respects your architecture before writing code
|
|
20
|
+
- Adversarial planning (Architect proposes, Sentinel critiques)
|
|
21
|
+
- Automatic quality gates before changes are applied
|
|
22
|
+
- Learning persistence — mistakes are remembered and avoided
|
|
23
|
+
- Bug reporting with root cause analysis
|
|
24
|
+
- AI-powered code review for any codebase
|
|
25
|
+
- Multi-provider key support with adversarial features
|
|
18
26
|
|
|
19
|
-
|
|
20
|
-
|
|
27
|
+
### Option 2: Lite Package
|
|
28
|
+
Copy governance files into any project. Works with your existing AI tools (Cursor, Claude Code, Windsurf, VS Code + Copilot).
|
|
21
29
|
|
|
22
|
-
|
|
23
|
-
archon execute ATOM-001
|
|
24
|
-
```
|
|
30
|
+
[Download Lite Packages →](https://archondev.io/download)
|
|
25
31
|
|
|
26
|
-
|
|
32
|
+
**What you get:**
|
|
33
|
+
- ARCHITECTURE.md template with best practices
|
|
34
|
+
- IDE-specific rule files (.cursorrules, CLAUDE.md, etc.)
|
|
35
|
+
- Progress tracking templates
|
|
36
|
+
- Works with any AI coding assistant
|
|
27
37
|
|
|
28
|
-
|
|
29
|
-
2. **Adversarial Planning** - An Architect agent creates plans, a Sentinel agent critiques them
|
|
30
|
-
3. **Governed Execution** - Changes are validated against your architecture before being applied
|
|
31
|
-
4. **Learning Persistence** - Insights are captured in `progress.txt` for future sessions
|
|
38
|
+
---
|
|
32
39
|
|
|
33
40
|
## Commands
|
|
34
41
|
|
|
35
42
|
| Command | Description |
|
|
36
43
|
|---------|-------------|
|
|
37
|
-
| `archon
|
|
38
|
-
| `archon
|
|
39
|
-
| `archon
|
|
40
|
-
| `archon
|
|
41
|
-
| `archon
|
|
42
|
-
| `archon
|
|
43
|
-
| `archon
|
|
44
|
-
| `archon
|
|
45
|
-
| `archon
|
|
46
|
-
| `archon
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
|
51
|
-
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
|
|
56
|
-
##
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
44
|
+
| `archon` | Interactive mode — just run and follow prompts |
|
|
45
|
+
| `archon init` | Initialize in your project |
|
|
46
|
+
| `archon plan <description>` | Create a work item with AI planning |
|
|
47
|
+
| `archon execute <atom-id>` | Execute with quality gates |
|
|
48
|
+
| `archon list` | List all work items |
|
|
49
|
+
| `archon show <atom-id>` | Show details |
|
|
50
|
+
| `archon watch` | Live TUI dashboard with status and credits |
|
|
51
|
+
| `archon bug report <title>` | Bug report with root cause analysis |
|
|
52
|
+
| `archon review init` | Initialize AI-powered code review |
|
|
53
|
+
| `archon review analyze` | Scan project and populate review tasks |
|
|
54
|
+
| `archon review run` | Run AI review on pending tasks |
|
|
55
|
+
| `archon credits` | View credit balance |
|
|
56
|
+
| `archon credits add` | Purchase credits |
|
|
57
|
+
| `archon credits budget` | Set monthly budget and alerts |
|
|
58
|
+
| `archon keys add <provider>` | Add your own API key — BYOK (Bring Your Own Key) |
|
|
59
|
+
| `archon keys list` | Show configured API keys by provider |
|
|
60
|
+
| `archon preferences` | View/set model preferences |
|
|
61
|
+
| `archon models` | List available AI models |
|
|
62
|
+
|
|
63
|
+
## Pricing
|
|
64
|
+
|
|
65
|
+
| Tier | Cost | What You Get |
|
|
66
|
+
|------|------|--------------|
|
|
67
|
+
| **Free** | $0 | 10,000 atoms/month, fast models (Haiku, Flash, GPT-4 Mini) |
|
|
68
|
+
| **Credits** | Pay as you go | All models, 10% service fee, deposit any amount |
|
|
69
|
+
| **BYOK** (Bring Your Own Key) | $0 | Use your own API keys, unlimited usage |
|
|
70
|
+
|
|
71
|
+
No subscriptions. No commitments. Start free.
|
|
64
72
|
|
|
65
|
-
##
|
|
73
|
+
## How It Works
|
|
66
74
|
|
|
67
|
-
|
|
75
|
+
1. **Define Your Rules** — Create ARCHITECTURE.md with boundaries and invariants
|
|
76
|
+
2. **AI Reads Rules First** — Every session starts by understanding your architecture
|
|
77
|
+
3. **Changes Are Validated** — Quality gates check code before it's applied
|
|
78
|
+
4. **Learnings Persist** — Insights saved for future sessions
|
|
68
79
|
|
|
69
|
-
##
|
|
80
|
+
## Working with Existing Projects
|
|
81
|
+
|
|
82
|
+
Have a project created by another AI agent? ArchonDev can review it first, then govern future changes.
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# Step 1: Review existing code
|
|
86
|
+
cd your-existing-project
|
|
87
|
+
archon review init # Create local review database
|
|
88
|
+
archon review analyze # Scan project structure
|
|
89
|
+
archon review run --all # AI reviews all features
|
|
90
|
+
archon review export > review-report.md
|
|
91
|
+
|
|
92
|
+
# Step 2: Set up governance
|
|
93
|
+
archon init --analyze # Creates ARCHITECTURE.md
|
|
94
|
+
|
|
95
|
+
# Step 3: Fix issues with governed workflow
|
|
96
|
+
archon plan "fix critical issues from review"
|
|
97
|
+
archon execute <atom-id>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
The CLI detects existing projects and suggests this workflow automatically.
|
|
101
|
+
|
|
102
|
+
## Documentation
|
|
70
103
|
|
|
71
|
-
|
|
104
|
+
[archondev.io](https://archondev.io)
|
|
72
105
|
|
|
73
106
|
---
|
|
74
107
|
|
|
75
|
-
*
|
|
108
|
+
*ArchonDev by Jumping Ahead Corp.*
|
|
@@ -1,35 +1,3 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
-
});
|
|
13
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
14
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
|
-
};
|
|
16
|
-
var __copyProps = (to, from, except, desc) => {
|
|
17
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
18
|
-
for (let key of __getOwnPropNames(from))
|
|
19
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
20
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
21
|
-
}
|
|
22
|
-
return to;
|
|
23
|
-
};
|
|
24
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
26
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
27
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
30
|
-
mod
|
|
31
|
-
));
|
|
32
|
-
|
|
33
1
|
// src/core/parser/parser.ts
|
|
34
2
|
import { readFile } from "fs/promises";
|
|
35
3
|
import { existsSync } from "fs";
|
|
@@ -382,8 +350,5 @@ var ArchitectureParser = class {
|
|
|
382
350
|
};
|
|
383
351
|
|
|
384
352
|
export {
|
|
385
|
-
__require,
|
|
386
|
-
__commonJS,
|
|
387
|
-
__toESM,
|
|
388
353
|
ArchitectureParser
|
|
389
354
|
};
|