archondev 2.18.7 → 2.19.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 +4 -0
- package/dist/{bug-DCFTT2AF.js → bug-IJCK43FK.js} +4 -4
- package/dist/{chunk-ESSNYHC7.js → chunk-ACFMKTDL.js} +5 -4
- package/dist/{chunk-2BCITFWP.js → chunk-DCIIYVJW.js} +2 -2
- package/dist/{chunk-HJARQDQR.js → chunk-EIEU3IIY.js} +9 -0
- package/dist/{chunk-HGLPIM7J.js → chunk-KG35EHZY.js} +1 -1
- package/dist/{chunk-BFPWDOMA.js → chunk-M6GNIN64.js} +1 -1
- package/dist/{chunk-OAHFRSDS.js → chunk-O3B6BE5D.js} +1 -1
- package/dist/{chunk-MRRA3QDP.js → chunk-OREGEFTF.js} +4 -4
- package/dist/{chunk-5CFGPXQ3.js → chunk-PCTP3LKJ.js} +1 -1
- package/dist/{chunk-5BYCJAFM.js → chunk-PJRQI5UN.js} +1 -1
- package/dist/{chunk-ICSHS6BW.js → chunk-QTBRLNZQ.js} +1 -1
- package/dist/{chunk-YFCC6QEY.js → chunk-YA562WHL.js} +1 -1
- package/dist/{code-review-6MU4UE5M.js → code-review-ODLXGXNZ.js} +2 -2
- package/dist/{execute-OTW55P2Q.js → execute-ZTJGSRBW.js} +5 -5
- package/dist/{geo-GEWH777F.js → geo-HRG7M7YX.js} +3 -3
- package/dist/index.js +947 -93
- package/dist/{interviewer-NQHNMVH4.js → interviewer-BWM5SNOE.js} +1 -1
- package/dist/{list-BJCKDRG4.js → list-REPLUXJF.js} +5 -5
- package/dist/{parallel-U3COBCHB.js → parallel-23VQYK7H.js} +5 -5
- package/dist/{plan-4RIHWWZG.js → plan-HCYXLSSD.js} +4 -4
- package/dist/{review-AUG6GIL6.js → review-F6DHAGDF.js} +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,6 +88,10 @@ Copy governance files into any project. Works with your existing AI tools: **Cur
|
|
|
88
88
|
| `archon github status` | Check GitHub connection status |
|
|
89
89
|
| `archon session save [name]` | Save current session to cloud |
|
|
90
90
|
| `archon session resume [id]` | Resume session on another device |
|
|
91
|
+
|
|
92
|
+
**Notes:**
|
|
93
|
+
- Credits tier shows your balance and per‑model usage on startup; use `archon credits` for full details and history.
|
|
94
|
+
- You can paste multi‑line requests into interactive prompts; Archon captures them as a single response.
|
|
91
95
|
| `archon execute ATOM --cloud` | Execute in cloud (creates PR when done) |
|
|
92
96
|
| `archon cloud status` | List cloud executions |
|
|
93
97
|
| `archon parallel cloud ATOM-001 ATOM-002` | Queue multiple atoms for cloud execution (Credits tier) |
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bugReport
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DCIIYVJW.js";
|
|
4
|
+
import "./chunk-PCTP3LKJ.js";
|
|
5
|
+
import "./chunk-PJRQI5UN.js";
|
|
6
|
+
import "./chunk-EIEU3IIY.js";
|
|
7
7
|
import "./chunk-UFR2LX6G.js";
|
|
8
8
|
import "./chunk-SVU7MLG6.js";
|
|
9
9
|
import "./chunk-4VNS5WPM.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAtom,
|
|
3
3
|
validateAtom
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PCTP3LKJ.js";
|
|
5
5
|
import {
|
|
6
6
|
ArchitectAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PJRQI5UN.js";
|
|
8
8
|
import {
|
|
9
9
|
AnthropicClient,
|
|
10
10
|
getDefaultModel
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EIEU3IIY.js";
|
|
12
12
|
import {
|
|
13
13
|
createAuthedSupabaseClient
|
|
14
14
|
} from "./chunk-Q3GIFHIQ.js";
|
|
@@ -1110,7 +1110,8 @@ async function promptForDeliverableTarget(prompt, requirements, references) {
|
|
|
1110
1110
|
async function resolveProfileId(authId, accessToken) {
|
|
1111
1111
|
try {
|
|
1112
1112
|
const supabase = createAuthedSupabaseClient(SUPABASE_URL, SUPABASE_ANON_KEY, accessToken);
|
|
1113
|
-
const { data, error } = await supabase.from("user_profiles").select("id").eq("auth_id", authId).single();
|
|
1113
|
+
const { data: rawData, error } = await supabase.from("user_profiles").select("id").eq("auth_id", authId).single();
|
|
1114
|
+
const data = rawData;
|
|
1114
1115
|
if (error || !data?.id) return null;
|
|
1115
1116
|
return data.id;
|
|
1116
1117
|
} catch {
|
|
@@ -6,6 +6,12 @@ import {
|
|
|
6
6
|
import Anthropic from "@anthropic-ai/sdk";
|
|
7
7
|
|
|
8
8
|
// src/utils/index.ts
|
|
9
|
+
function ok(value) {
|
|
10
|
+
return { ok: true, value };
|
|
11
|
+
}
|
|
12
|
+
function err(error) {
|
|
13
|
+
return { ok: false, error };
|
|
14
|
+
}
|
|
9
15
|
function sleep(ms) {
|
|
10
16
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
11
17
|
}
|
|
@@ -108,6 +114,9 @@ import OpenAI from "openai";
|
|
|
108
114
|
import { GoogleGenerativeAI } from "@google/generative-ai";
|
|
109
115
|
|
|
110
116
|
export {
|
|
117
|
+
ok,
|
|
118
|
+
err,
|
|
119
|
+
sleep,
|
|
111
120
|
generateId,
|
|
112
121
|
AnthropicClient,
|
|
113
122
|
getDefaultModel
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
UsageRecorder,
|
|
8
8
|
loadAtom
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ACFMKTDL.js";
|
|
10
10
|
import {
|
|
11
11
|
transitionAtom
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PCTP3LKJ.js";
|
|
13
13
|
import {
|
|
14
14
|
AnthropicClient,
|
|
15
15
|
getDefaultModel
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EIEU3IIY.js";
|
|
17
17
|
import {
|
|
18
18
|
createAuthedSupabaseClient
|
|
19
19
|
} from "./chunk-Q3GIFHIQ.js";
|
|
@@ -4793,7 +4793,7 @@ function createPrompt() {
|
|
|
4793
4793
|
}
|
|
4794
4794
|
async function execute(atomId, options) {
|
|
4795
4795
|
if (options.parallel && options.parallel.length > 0) {
|
|
4796
|
-
const { parallelExecute } = await import("./parallel-
|
|
4796
|
+
const { parallelExecute } = await import("./parallel-23VQYK7H.js");
|
|
4797
4797
|
const allAtomIds = [atomId, ...options.parallel];
|
|
4798
4798
|
await parallelExecute(allAtomIds, { skipGates: options.skipGates === true });
|
|
4799
4799
|
return;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
analyzeProject,
|
|
5
5
|
featuresToTasks,
|
|
6
6
|
readArchitectureContext
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-KG35EHZY.js";
|
|
8
|
+
import "./chunk-EIEU3IIY.js";
|
|
9
9
|
import "./chunk-UFR2LX6G.js";
|
|
10
10
|
import "./chunk-4VNS5WPM.js";
|
|
11
11
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execute
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OREGEFTF.js";
|
|
4
4
|
import "./chunk-EBHHIUCB.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-ACFMKTDL.js";
|
|
6
|
+
import "./chunk-PCTP3LKJ.js";
|
|
7
|
+
import "./chunk-PJRQI5UN.js";
|
|
8
|
+
import "./chunk-EIEU3IIY.js";
|
|
9
9
|
import "./chunk-Q3GIFHIQ.js";
|
|
10
10
|
import "./chunk-5EVHUDQX.js";
|
|
11
11
|
import "./chunk-UFR2LX6G.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
geoFaq,
|
|
5
5
|
geoIdentity,
|
|
6
6
|
geoSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O3B6BE5D.js";
|
|
8
8
|
import "./chunk-3ASILTFB.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-PJRQI5UN.js";
|
|
10
|
+
import "./chunk-EIEU3IIY.js";
|
|
11
11
|
import "./chunk-UFR2LX6G.js";
|
|
12
12
|
import "./chunk-SVU7MLG6.js";
|
|
13
13
|
import "./chunk-4VNS5WPM.js";
|