limbo-ai 1.23.0 → 1.23.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/config.toml.template
CHANGED
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ test('config.toml.template does NOT contain unsupported sections', () => {
|
|
|
74
74
|
|
|
75
75
|
test('config.toml.template uses envsubst variables', () => {
|
|
76
76
|
const toml = read('config.toml.template');
|
|
77
|
-
const vars = ['${MODEL_PROVIDER}', '${
|
|
77
|
+
const vars = ['${MODEL_PROVIDER}', '${MODEL_NAME}', '${LIMBO_PORT}'];
|
|
78
78
|
for (const v of vars) {
|
|
79
79
|
assert.ok(toml.includes(v), `Missing envsubst variable: ${v}`);
|
|
80
80
|
}
|
|
@@ -106,11 +106,15 @@ test('entrypoint.sh appends channels_config.telegram conditionally', () => {
|
|
|
106
106
|
|
|
107
107
|
// ─── 4. Dockerfile references ZeroClaw, not OpenClaw ────────────────────────
|
|
108
108
|
|
|
109
|
-
test('Dockerfile pulls ZeroClaw binary
|
|
109
|
+
test('Dockerfile builds or pulls ZeroClaw binary', () => {
|
|
110
110
|
const df = read('Dockerfile');
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
// Accept either: pulling from official image OR building from source (fork)
|
|
112
|
+
const pullsOfficial = df.match(/FROM ghcr\.io\/zeroclaw-labs\/zeroclaw:\S+ AS zeroclaw/);
|
|
113
|
+
const buildsFromSource = df.includes('cargo build') && df.includes('zeroclaw');
|
|
114
|
+
assert.ok(pullsOfficial || buildsFromSource,
|
|
115
|
+
'Dockerfile must either pull ZeroClaw from ghcr.io or build from source');
|
|
116
|
+
assert.ok(df.includes('COPY --from=zeroclaw-builder /usr/local/bin/zeroclaw /usr/local/bin/zeroclaw')
|
|
117
|
+
|| df.includes('COPY --from=zeroclaw /usr/local/bin/zeroclaw /usr/local/bin/zeroclaw'));
|
|
114
118
|
});
|
|
115
119
|
|
|
116
120
|
test('Dockerfile does not reference openclaw or mcporter', () => {
|