alumnium 0.23.0 → 0.23.1
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 -4
- package/package.json +8 -8
- package/src/client/index.cjs +23 -8
- package/src/client/index.cjs.map +3 -3
- package/src/client/index.js +20 -8
- package/src/client/index.js.map +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<h1>
|
|
2
2
|
<p align="center">
|
|
3
|
-
<img src="https://raw.githubusercontent.com/alumnium-hq/alumnium
|
|
3
|
+
<img src="https://raw.githubusercontent.com/alumnium-hq/alumnium/78721defa276aec9029f9dcf7cd8e95fd9f7f312/assets/exports/logomark.svg" height="128" alt="Logo" />
|
|
4
4
|
<br />
|
|
5
5
|
Alumnium
|
|
6
6
|
</p>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
Alumnium is an AI-native library and MCP for end-to-end testing. It builds upon the existing test automation ecosystem and simplifies interactions with applications, providing more robust mechanisms for verifying assertions. It works with Appium, Maestro, Playwright, or Selenium and gives you [state-of-the-art][7] capabilities.
|
|
19
19
|
|
|
20
|
-
https://github.com/user-attachments/assets/
|
|
20
|
+
https://github.com/user-attachments/assets/d191674e-4e67-41a4-b8fa-1e2f383aed77
|
|
21
21
|
|
|
22
22
|
## Installation
|
|
23
23
|
|
|
@@ -33,8 +33,8 @@ claude mcp add alumnium --env OPENAI_API_KEY=... -- alumnium mcp
|
|
|
33
33
|
|
|
34
34
|
```groovy
|
|
35
35
|
dependencies {
|
|
36
|
-
testImplementation 'ai.alumnium:alumnium:0.
|
|
37
|
-
testRuntimeOnly 'ai.alumnium:alumnium-cli-darwin-arm64:0.
|
|
36
|
+
testImplementation 'ai.alumnium:alumnium:0.23.1'
|
|
37
|
+
testRuntimeOnly 'ai.alumnium:alumnium-cli-darwin-arm64:0.23.1'
|
|
38
38
|
// Add other platforms as needed
|
|
39
39
|
}
|
|
40
40
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alumnium",
|
|
3
|
-
"version": "0.23.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.23.1",
|
|
4
|
+
"description": "End-to-End Testing with AI for Agents and Engineers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
7
7
|
"alumnium",
|
|
@@ -129,11 +129,11 @@
|
|
|
129
129
|
"vitest": "^4.1.5"
|
|
130
130
|
},
|
|
131
131
|
"optionalDependencies": {
|
|
132
|
-
"@alumnium/cli-darwin-arm64": "0.23.
|
|
133
|
-
"@alumnium/cli-darwin-x64": "0.23.
|
|
134
|
-
"@alumnium/cli-linux-arm64": "0.23.
|
|
135
|
-
"@alumnium/cli-linux-x64": "0.23.
|
|
136
|
-
"@alumnium/cli-windows-arm64": "0.23.
|
|
137
|
-
"@alumnium/cli-windows-x64": "0.23.
|
|
132
|
+
"@alumnium/cli-darwin-arm64": "0.23.1",
|
|
133
|
+
"@alumnium/cli-darwin-x64": "0.23.1",
|
|
134
|
+
"@alumnium/cli-linux-arm64": "0.23.1",
|
|
135
|
+
"@alumnium/cli-linux-x64": "0.23.1",
|
|
136
|
+
"@alumnium/cli-windows-arm64": "0.23.1",
|
|
137
|
+
"@alumnium/cli-windows-x64": "0.23.1"
|
|
138
138
|
}
|
|
139
139
|
}
|
package/src/client/index.cjs
CHANGED
|
@@ -1633,10 +1633,8 @@ class Logger {
|
|
|
1633
1633
|
]);
|
|
1634
1634
|
}
|
|
1635
1635
|
static async #config() {
|
|
1636
|
-
if (this.#path)
|
|
1637
|
-
await
|
|
1638
|
-
if (Env.ALUMNIUM_PRUNE_LOGS) await fs2.rm(this.#path, { force: true });
|
|
1639
|
-
}
|
|
1636
|
+
if (this.#path && Env.ALUMNIUM_PRUNE_LOGS)
|
|
1637
|
+
await fs2.rm(this.#path, { force: true });
|
|
1640
1638
|
const depth = Env.ALUMNIUM_LOG_OBJECTS_DEPTH;
|
|
1641
1639
|
const maxStringLength = Env.ALUMNIUM_LOG_MAX_STR_LENGTH;
|
|
1642
1640
|
const consoleSink = import_logtape.getConsoleSink({
|
|
@@ -1654,7 +1652,7 @@ class Logger {
|
|
|
1654
1652
|
const sinks = {
|
|
1655
1653
|
console: consoleSink,
|
|
1656
1654
|
main: this.#path
|
|
1657
|
-
?
|
|
1655
|
+
? await this.#lazyFileSink(this.#path, {
|
|
1658
1656
|
bufferSize: Env.ALUMNIUM_LOG_BUFFER_SIZE,
|
|
1659
1657
|
formatter: import_logtape.getTextFormatter({
|
|
1660
1658
|
value: (value) =>
|
|
@@ -1692,6 +1690,23 @@ class Logger {
|
|
|
1692
1690
|
],
|
|
1693
1691
|
};
|
|
1694
1692
|
}
|
|
1693
|
+
static async #lazyFileSink(filePath, options) {
|
|
1694
|
+
const fileSink = import_file.getFileSink(filePath, {
|
|
1695
|
+
...options,
|
|
1696
|
+
lazy: true,
|
|
1697
|
+
});
|
|
1698
|
+
let dirReady = false;
|
|
1699
|
+
const sink = async (record) => {
|
|
1700
|
+
if (!dirReady) {
|
|
1701
|
+
await ensureDir(import_node_path3.default.dirname(filePath));
|
|
1702
|
+
dirReady = true;
|
|
1703
|
+
}
|
|
1704
|
+
fileSink(record);
|
|
1705
|
+
};
|
|
1706
|
+
return Object.assign(sink, {
|
|
1707
|
+
[Symbol.dispose]: () => fileSink[Symbol.dispose](),
|
|
1708
|
+
});
|
|
1709
|
+
}
|
|
1695
1710
|
static #logger() {
|
|
1696
1711
|
return Logger.get("packages/typescript/src/telemetry/Logger.ts");
|
|
1697
1712
|
}
|
|
@@ -4609,8 +4624,8 @@ var import_zod9 = __toESM(require("zod"));
|
|
|
4609
4624
|
// package.json
|
|
4610
4625
|
var package_default = {
|
|
4611
4626
|
name: "alumnium",
|
|
4612
|
-
version: "0.23.
|
|
4613
|
-
description: "
|
|
4627
|
+
version: "0.23.1",
|
|
4628
|
+
description: "End-to-End Testing with AI for Agents and Engineers",
|
|
4614
4629
|
keywords: [
|
|
4615
4630
|
"ai",
|
|
4616
4631
|
"alumnium",
|
|
@@ -13783,5 +13798,5 @@ function spanAttrs7() {
|
|
|
13783
13798
|
};
|
|
13784
13799
|
}
|
|
13785
13800
|
|
|
13786
|
-
//# debugId=
|
|
13801
|
+
//# debugId=CC462229BAFC11D364756E2164756E21
|
|
13787
13802
|
//# sourceMappingURL=index.cjs.map
|