cobolx 1.0.2-canary.29 → 1.0.3
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/Cargo.toml +1 -1
- package/package.json +1 -1
- package/scripts/prepare-version.js +8 -2
- package/src/agent/client.rs +110 -1185
- package/src/agent/clients.rs +257 -0
- package/src/agent/db_agent.rs +206 -0
- package/src/agent/explain_agent.rs +501 -0
- package/src/agent/fs_agent.rs +426 -0
- package/src/agent/types.rs +161 -0
- package/src/agent.rs +10 -1
- package/src/ui/draw.rs +119 -58
- package/src/ui/tui.rs +227 -55
package/Cargo.toml
CHANGED
package/package.json
CHANGED
|
@@ -19,8 +19,14 @@ let npmTag = 'latest';
|
|
|
19
19
|
if (githubRef.startsWith('refs/tags/v')) {
|
|
20
20
|
version = githubRef.replace('refs/tags/v', '');
|
|
21
21
|
} else {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
// Use UTC YYYYMMDDHHMM timestamp to ensure uniqueness and prevent registry publish collisions
|
|
23
|
+
const now = new Date();
|
|
24
|
+
const timestamp = now.getUTCFullYear().toString() +
|
|
25
|
+
String(now.getUTCMonth() + 1).padStart(2, '0') +
|
|
26
|
+
String(now.getUTCDate()).padStart(2, '0') +
|
|
27
|
+
String(now.getUTCHours()).padStart(2, '0') +
|
|
28
|
+
String(now.getUTCMinutes()).padStart(2, '0');
|
|
29
|
+
version = `${baseVersion}-canary.${runNumber}.${timestamp}`;
|
|
24
30
|
isCanary = 'true';
|
|
25
31
|
npmTag = 'canary';
|
|
26
32
|
}
|