@cortad/connector 0.6.5 → 0.6.6
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 +1 -1
- package/lib/read-text.mjs +1 -1
- package/local.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ The hooks run after an edit and on your next message: the first names the prompt
|
|
|
85
85
|
--wait intelligence: return when the history is read
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
Your app gets this terminal's environment and its
|
|
88
|
+
Your app gets this terminal's environment and its request limits raised while Cortad tests it, so its simulated users are not blocked. Test conversations write where your app writes, after your yes in the browser.
|
|
89
89
|
|
|
90
90
|
## Files it creates
|
|
91
91
|
|
package/lib/read-text.mjs
CHANGED
|
@@ -109,7 +109,7 @@ export const connectedText = (f) => machineText(f).slice(0, 1);
|
|
|
109
109
|
// whole session was a terminal and a coding agent, which never had one open. Each opens on the state
|
|
110
110
|
// it is reporting, and the one place that session can act on is the agent.
|
|
111
111
|
export const CONNECTED = "connected: Cortad is watching your app. Next, your coding agent calls Cortad's status: it says what to tell you and what it needs. Ctrl-C disconnects and stops what your start command started.";
|
|
112
|
-
export const NOT_RUNNING = "your app is not running, so Cortad has nothing to test.
|
|
112
|
+
export const NOT_RUNNING = "your app is not running, so Cortad has nothing to test. The line above is your app's own error.";
|
|
113
113
|
|
|
114
114
|
// A payload with no read is not a read in progress, and saying so sent a customer's agent back to
|
|
115
115
|
// poll a reading that had already ended: fifteen minutes on a repository that calls no model, where
|
package/local.mjs
CHANGED
|
@@ -680,7 +680,7 @@ async function startApp() {
|
|
|
680
680
|
// Only its own request limits: who the app lets in is never touched.
|
|
681
681
|
const lifted = liftedLimits(sourceFiles);
|
|
682
682
|
const raised = Object.keys(lifted);
|
|
683
|
-
if (raised.length) say(`your app's
|
|
683
|
+
if (raised.length) say(`raising your app's request limits while Cortad tests it, so its simulated users are not blocked: ${raised.join(", ")}`);
|
|
684
684
|
launched = { cmd: typed, lifted };
|
|
685
685
|
if (proxyAsked || !hookable(appDir, typed)) await useProxy();
|
|
686
686
|
step(`starting your app with: ${shownCommand(typed, mask)}${fromSaved ? " (saved from your last connect)" : ""}`);
|
|
@@ -1130,7 +1130,7 @@ if (head) void sendHistory().catch((err) => { if (verbose) say(`commit history n
|
|
|
1130
1130
|
if (!viaToken && process.env.CORTAD_NO_REGISTER !== "1") {
|
|
1131
1131
|
const got = await registerAll().catch((err) => { if (verbose) say(`could not register with your coding agents: ${err?.message ?? err}`); return { clients: [], changed: [] }; });
|
|
1132
1132
|
const and = (list) => new Intl.ListFormat("en", { type: "conjunction" }).format(list);
|
|
1133
|
-
if (got.changed.length) say(`${and(got.clients)} can now use Cortad: its tools and skill were added to ${got.changed.map((f) => `~/${f}`).join(", ")}
|
|
1133
|
+
if (got.changed.length) say(`${and(got.clients)} can now use Cortad: its tools and skill were added to ${got.changed.map((f) => `~/${f}`).join(", ")}.`);
|
|
1134
1134
|
}
|
|
1135
1135
|
|
|
1136
1136
|
lock = await makeLock({ root, work });
|
package/package.json
CHANGED