autogoals 0.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/dist/agent.d.ts +13 -0
- package/dist/agent.d.ts.map +1 -0
- package/dist/agent.js +27 -0
- package/dist/agent.js.map +1 -0
- package/dist/commands.d.ts +3 -0
- package/dist/commands.d.ts.map +1 -0
- package/dist/commands.js +94 -0
- package/dist/commands.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +107277 -0
- package/dist/index.js.map +1 -0
- package/dist/output.d.ts +3 -0
- package/dist/output.d.ts.map +1 -0
- package/dist/output.js +11 -0
- package/dist/output.js.map +1 -0
- package/dist/phases/execution/execution.phase.d.ts +8 -0
- package/dist/phases/execution/execution.phase.d.ts.map +1 -0
- package/dist/phases/execution/execution.phase.js +130 -0
- package/dist/phases/execution/execution.phase.js.map +1 -0
- package/dist/phases/execution/index.d.ts +6 -0
- package/dist/phases/execution/index.d.ts.map +1 -0
- package/dist/phases/execution/index.js +4 -0
- package/dist/phases/execution/index.js.map +1 -0
- package/dist/phases/execution/planner.d.ts +4 -0
- package/dist/phases/execution/planner.d.ts.map +1 -0
- package/dist/phases/execution/planner.js +39 -0
- package/dist/phases/execution/planner.js.map +1 -0
- package/dist/phases/execution/types.d.ts +7 -0
- package/dist/phases/execution/types.d.ts.map +1 -0
- package/dist/phases/execution/types.js +2 -0
- package/dist/phases/execution/types.js.map +1 -0
- package/dist/phases/execution/verifier.d.ts +8 -0
- package/dist/phases/execution/verifier.d.ts.map +1 -0
- package/dist/phases/execution/verifier.js +23 -0
- package/dist/phases/execution/verifier.js.map +1 -0
- package/dist/phases/interview/index.d.ts +5 -0
- package/dist/phases/interview/index.d.ts.map +1 -0
- package/dist/phases/interview/index.js +3 -0
- package/dist/phases/interview/index.js.map +1 -0
- package/dist/phases/interview/interview.phase.d.ts +8 -0
- package/dist/phases/interview/interview.phase.d.ts.map +1 -0
- package/dist/phases/interview/interview.phase.js +112 -0
- package/dist/phases/interview/interview.phase.js.map +1 -0
- package/dist/phases/interview/question-builder.d.ts +6 -0
- package/dist/phases/interview/question-builder.d.ts.map +1 -0
- package/dist/phases/interview/question-builder.js +21 -0
- package/dist/phases/interview/question-builder.js.map +1 -0
- package/dist/phases/interview/types.d.ts +5 -0
- package/dist/phases/interview/types.d.ts.map +1 -0
- package/dist/phases/interview/types.js +2 -0
- package/dist/phases/interview/types.js.map +1 -0
- package/dist/phases/spec/index.d.ts +5 -0
- package/dist/phases/spec/index.d.ts.map +1 -0
- package/dist/phases/spec/index.js +4 -0
- package/dist/phases/spec/index.js.map +1 -0
- package/dist/phases/spec/spec-parser.d.ts +3 -0
- package/dist/phases/spec/spec-parser.d.ts.map +1 -0
- package/dist/phases/spec/spec-parser.js +77 -0
- package/dist/phases/spec/spec-parser.js.map +1 -0
- package/dist/phases/spec/spec-writer.d.ts +3 -0
- package/dist/phases/spec/spec-writer.d.ts.map +1 -0
- package/dist/phases/spec/spec-writer.js +34 -0
- package/dist/phases/spec/spec-writer.js.map +1 -0
- package/dist/phases/spec/spec.phase.d.ts +7 -0
- package/dist/phases/spec/spec.phase.d.ts.map +1 -0
- package/dist/phases/spec/spec.phase.js +113 -0
- package/dist/phases/spec/spec.phase.js.map +1 -0
- package/dist/phases/spec/types.d.ts +6 -0
- package/dist/phases/spec/types.d.ts.map +1 -0
- package/dist/phases/spec/types.js +2 -0
- package/dist/phases/spec/types.js.map +1 -0
- package/dist/phases/standby/index.d.ts +3 -0
- package/dist/phases/standby/index.d.ts.map +1 -0
- package/dist/phases/standby/index.js +2 -0
- package/dist/phases/standby/index.js.map +1 -0
- package/dist/phases/standby/standby.phase.d.ts +8 -0
- package/dist/phases/standby/standby.phase.d.ts.map +1 -0
- package/dist/phases/standby/standby.phase.js +108 -0
- package/dist/phases/standby/standby.phase.js.map +1 -0
- package/dist/phases/standby/types.d.ts +5 -0
- package/dist/phases/standby/types.d.ts.map +1 -0
- package/dist/phases/standby/types.js +2 -0
- package/dist/phases/standby/types.js.map +1 -0
- package/dist/public/assets/index-CcN4IXmm.css +1 -0
- package/dist/public/assets/index-DRgRc2_M.js +618 -0
- package/dist/public/favicon.svg +10 -0
- package/dist/public/index.html +20 -0
- package/dist/session.d.ts +11 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/session.js +13 -0
- package/dist/session.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" stop-color="#8B5CF6"/>
|
|
5
|
+
<stop offset="100%" stop-color="#6366F1"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="32" height="32" rx="6" fill="url(#g)"/>
|
|
9
|
+
<path d="M16 7L9 21h5v4l7-14h-5V7z" fill="white" opacity="0.95"/>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" class="dark">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>AutoGoals</title>
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
10
|
+
<link
|
|
11
|
+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
|
|
12
|
+
rel="stylesheet"
|
|
13
|
+
/>
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-DRgRc2_M.js"></script>
|
|
15
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CcN4IXmm.css">
|
|
16
|
+
</head>
|
|
17
|
+
<body class="dark bg-background text-foreground antialiased">
|
|
18
|
+
<div id="root"></div>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface SessionInfo {
|
|
2
|
+
sessionId: string | null;
|
|
3
|
+
phase: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class SessionManager {
|
|
6
|
+
private sessions;
|
|
7
|
+
setSessionId(phase: string, sessionId: string): void;
|
|
8
|
+
getSessionId(phase: string): string | undefined;
|
|
9
|
+
getAllSessions(): Record<string, string>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAkC;IAElD,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI;IAIpD,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAI/C,cAAc,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAGzC"}
|
package/dist/session.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export class SessionManager {
|
|
2
|
+
sessions = new Map();
|
|
3
|
+
setSessionId(phase, sessionId) {
|
|
4
|
+
this.sessions.set(phase, sessionId);
|
|
5
|
+
}
|
|
6
|
+
getSessionId(phase) {
|
|
7
|
+
return this.sessions.get(phase);
|
|
8
|
+
}
|
|
9
|
+
getAllSessions() {
|
|
10
|
+
return Object.fromEntries(this.sessions);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,cAAc;IACjB,QAAQ,GAAwB,IAAI,GAAG,EAAE,CAAC;IAElD,YAAY,CAAC,KAAa,EAAE,SAAiB;QAC3C,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IACtC,CAAC;IAED,YAAY,CAAC,KAAa;QACxB,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,cAAc;QACZ,OAAO,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC3C,CAAC;CACF"}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "autogoals",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"files": ["dist/"],
|
|
7
|
+
"bin": {
|
|
8
|
+
"autogoals": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc",
|
|
12
|
+
"dev": "tsx src/index.ts",
|
|
13
|
+
"test": "vitest run"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"better-sqlite3": "^12.8.0",
|
|
17
|
+
"commander": "^14.0.3",
|
|
18
|
+
"chalk": "^5.6.2"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@autogoals/api": "*",
|
|
22
|
+
"@autogoals/core": "*",
|
|
23
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
24
|
+
"@types/node": "^25.5.0",
|
|
25
|
+
"tsx": "^4.21.0",
|
|
26
|
+
"typescript": "^5.9.3",
|
|
27
|
+
"vitest": "^4.1.0"
|
|
28
|
+
}
|
|
29
|
+
}
|