@lazyingart/agintiflow 0.20.19 → 0.20.20
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/package.json +1 -1
- package/public/index.html +1 -1
- package/scripts/smoke-web-api.js +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lazyingart/agintiflow",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AgInTiFlow is a web-first coding agent and CLI with DeepSeek routing, sandboxed tools, model providers, canvas artifacts, and optional wrappers.",
|
|
6
6
|
"license": "Apache-2.0",
|
package/public/index.html
CHANGED
|
@@ -234,7 +234,6 @@
|
|
|
234
234
|
<p class="chat-shortcuts subtle" data-i18n="chatShortcutHelp">
|
|
235
235
|
Enter sends · Shift+Enter adds a newline · use buttons for pipe/queue control
|
|
236
236
|
</p>
|
|
237
|
-
<div id="chat-pending" class="chat-pending" hidden></div>
|
|
238
237
|
<div class="actions">
|
|
239
238
|
<button type="submit" data-i18n="sendMessageButton">Send message</button>
|
|
240
239
|
<button id="pipe-message" type="button" class="secondary" data-i18n="pipeMessageButton">Pipe to run</button>
|
|
@@ -247,6 +246,7 @@
|
|
|
247
246
|
<div id="chat-thread" class="chat-thread">
|
|
248
247
|
<div class="subtle" data-i18n="noConversationLoaded">No conversation loaded.</div>
|
|
249
248
|
</div>
|
|
249
|
+
<div id="chat-pending" class="chat-pending" hidden></div>
|
|
250
250
|
</section>
|
|
251
251
|
|
|
252
252
|
<section class="panel output-panel">
|
package/scripts/smoke-web-api.js
CHANGED
|
@@ -69,6 +69,13 @@ async function waitForRun(sessionId) {
|
|
|
69
69
|
try {
|
|
70
70
|
await waitForHealth();
|
|
71
71
|
|
|
72
|
+
const webAppHtml = await fs.readFile(path.join(repoRoot, "public", "index.html"), "utf8");
|
|
73
|
+
const chatThreadIndex = webAppHtml.indexOf('id="chat-thread"');
|
|
74
|
+
const chatPendingIndex = webAppHtml.indexOf('id="chat-pending"');
|
|
75
|
+
if (chatThreadIndex < 0 || chatPendingIndex < 0 || chatPendingIndex < chatThreadIndex) {
|
|
76
|
+
throw new Error("pending message panel must render below the chat thread");
|
|
77
|
+
}
|
|
78
|
+
|
|
72
79
|
const config = await fetchJson("/api/config");
|
|
73
80
|
if (!config.keyStatus?.mock) throw new Error("mock provider is not advertised by /api/config");
|
|
74
81
|
if (!config.workspace?.enabled) throw new Error("workspace file tools are not advertised by /api/config");
|