@tryarcanist/cli 0.1.14 → 0.1.16
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/dist/index.js +5 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1106,15 +1106,17 @@ function renderWatchEvent(event, state) {
|
|
|
1106
1106
|
}
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
|
+
// ../../shared/utils/timing.ts
|
|
1110
|
+
function sleep(ms) {
|
|
1111
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1109
1114
|
// src/constants/watch.ts
|
|
1110
1115
|
var DEFAULT_WATCH_POLL_INTERVAL_MS = 1e3;
|
|
1111
1116
|
var WATCH_REPLAY_PAGE_SIZE = 200;
|
|
1112
1117
|
var WATCH_TERMINAL_STATUSES = /* @__PURE__ */ new Set(["idle", "archived"]);
|
|
1113
1118
|
|
|
1114
1119
|
// src/commands/watch.ts
|
|
1115
|
-
function sleep(ms) {
|
|
1116
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
1117
|
-
}
|
|
1118
1120
|
function parsePollInterval(raw) {
|
|
1119
1121
|
if (!raw) return DEFAULT_WATCH_POLL_INTERVAL_MS;
|
|
1120
1122
|
if (!/^\d+$/.test(raw)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryarcanist/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "CLI for Arcanist — create and manage coding agent sessions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"prepublishOnly": "npm run build"
|
|
16
16
|
},
|
|
17
17
|
"publishConfig": {
|
|
18
|
-
"access": "
|
|
18
|
+
"access": "restricted"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|