factory-ai 1.0.1 → 1.0.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.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/operator.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,12 @@ All notable changes follow semantic versioning and the Keep a Changelog structur
|
|
|
11
11
|
- Azure and Bedrock provider wizard.
|
|
12
12
|
- Durable evaluation, analytics, scaling, policy, extension, and recovery roadmap.
|
|
13
13
|
|
|
14
|
+
## [1.0.2] - 2026-07-13
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Compress large Azure dashboard payloads so the interactive TUI remains reliable as objective history grows.
|
|
19
|
+
|
|
14
20
|
## [1.0.1] - 2026-07-13
|
|
15
21
|
|
|
16
22
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "factory-ai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Deploy a private autonomous coding-agent factory on Azure: isolated builders, testers, security reviewers, durable orchestration, multi-model routing, memory, cost controls, and gated GitHub pull requests.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
package/src/operator.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { readFile } from "node:fs/promises";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
|
+
import { gunzipSync } from "node:zlib";
|
|
4
5
|
import { run } from "./process.js";
|
|
5
6
|
|
|
6
7
|
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
|
@@ -30,7 +31,10 @@ export function createOperator(environment = process.env) {
|
|
|
30
31
|
}
|
|
31
32
|
};
|
|
32
33
|
return {
|
|
33
|
-
dashboard: async () =>
|
|
34
|
+
dashboard: async () => {
|
|
35
|
+
const encoded = await remote("sudo -u factory env $(xargs < /etc/agent-factory-control.env) node /opt/agent-factory/app/src/dashboard.js --json | gzip -c | base64 -w0");
|
|
36
|
+
return JSON.parse(gunzipSync(Buffer.from(encoded, "base64")).toString("utf8"));
|
|
37
|
+
},
|
|
34
38
|
logs: async () => remote('journalctl -u agent-factory-control -u agent-factory-worker -u agent-factory-release --since "1 hour ago" --no-pager -n 300'),
|
|
35
39
|
submit: async (repository, objective) => {
|
|
36
40
|
if (!/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(repository) || objective.trim().length < 3) throw new Error("Valid repository and objective are required");
|