@rallycry/conveyor-agent 11.1.0 → 11.1.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/dist/{chunk-KDBUBGOV.js → chunk-DFPOPMTN.js} +1 -1
- package/dist/{chunk-DMDLT6SN.js → chunk-PVN7PGMT.js} +15 -25
- package/dist/{chunk-C4ZEPVUT.js → chunk-U3X4LTN4.js} +10 -2
- package/dist/cli.js +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{serve-boot-T6XMFQVZ.js → serve-boot-XQYGJG3S.js} +2 -2
- package/package.json +2 -2
- package/skills/conveyor-prune/SKILL.md +1 -1
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
workbenchEnabled
|
|
38
38
|
} from "./chunk-KMB3BU4S.js";
|
|
39
39
|
|
|
40
|
-
// ../shared/dist/chunk-
|
|
40
|
+
// ../shared/dist/chunk-6WQGDBUG.js
|
|
41
41
|
import { z } from "zod";
|
|
42
42
|
import { z as z2 } from "zod";
|
|
43
43
|
var DEFAULT_SONNET_MODEL = "claude-sonnet-5-5";
|
|
44
44
|
var DEFAULT_OPUS_MODEL = "claude-opus-5-5";
|
|
45
|
-
var DEFAULT_HAIKU_MODEL = "claude-haiku-
|
|
45
|
+
var DEFAULT_HAIKU_MODEL = "claude-haiku-5-5";
|
|
46
46
|
var FABLE_MODEL = "claude-fable-5-1";
|
|
47
47
|
var PREVIOUS_SONNET_MODEL = "claude-sonnet-5";
|
|
48
48
|
var PREVIOUS_OPUS_MODEL = "claude-opus-5";
|
|
@@ -2822,8 +2822,8 @@ var ANTHROPIC_CATALOG = [
|
|
|
2822
2822
|
anthropicEntry(PREVIOUS_OPUS_MODEL, "Opus 5", 5, 25),
|
|
2823
2823
|
anthropicEntry(DEFAULT_SONNET_MODEL, "Sonnet 5.5 Latest", 2, 10),
|
|
2824
2824
|
anthropicEntry(PREVIOUS_SONNET_MODEL, "Sonnet 5", 2, 10),
|
|
2825
|
-
//
|
|
2826
|
-
anthropicEntry(DEFAULT_HAIKU_MODEL, "Haiku
|
|
2825
|
+
// Haiku 5.5 has two rate cards; this is the ≤100K-prompt one (>100K bills $0.50/$2.50).
|
|
2826
|
+
anthropicEntry(DEFAULT_HAIKU_MODEL, "Haiku 5.5", 0.1, 0.5),
|
|
2827
2827
|
anthropicEntry(FABLE_MODEL, "Fable 5.1", 10, 50)
|
|
2828
2828
|
];
|
|
2829
2829
|
var CODEX_REASONING_EFFORTS = ["low", "medium", "high", "xhigh", "max"];
|
|
@@ -3223,8 +3223,16 @@ var BOARD_DEFAULT_STATUSES = TASK_STATUS_ORDER.filter(
|
|
|
3223
3223
|
(status) => status !== "Cancelled"
|
|
3224
3224
|
);
|
|
3225
3225
|
var ACTIVE_WORK = new Set(ACTIVE_WORK_STATUSES);
|
|
3226
|
+
var SERVER_ONLY_OUTPUT = Object.freeze({
|
|
3227
|
+
"~standard": Object.freeze({
|
|
3228
|
+
version: 1,
|
|
3229
|
+
vendor: "conveyor-browser",
|
|
3230
|
+
validate: (value) => ({ value }),
|
|
3231
|
+
jsonSchema: Object.freeze({ input: () => ({}), output: () => ({}) })
|
|
3232
|
+
})
|
|
3233
|
+
});
|
|
3226
3234
|
function standard(schema) {
|
|
3227
|
-
return schema;
|
|
3235
|
+
return schema ?? SERVER_ONLY_OUTPUT;
|
|
3228
3236
|
}
|
|
3229
3237
|
function schemaOf() {
|
|
3230
3238
|
return (schema) => schema;
|
|
@@ -6220,8 +6228,6 @@ var boardCardDTOSchema = schemaOf()(
|
|
|
6220
6228
|
discordThreadUrl: z37.string().nullable(),
|
|
6221
6229
|
threadLastActivityAt: z37.string().nullable(),
|
|
6222
6230
|
workspaceStatus: z37.string().nullable(),
|
|
6223
|
-
codespaceStatus: z37.string().nullable(),
|
|
6224
|
-
codespaceProvider: z37.string().nullable(),
|
|
6225
6231
|
identifying: z37.boolean(),
|
|
6226
6232
|
type: cardTypeSchema,
|
|
6227
6233
|
source: z37.string().nullable(),
|
|
@@ -6463,8 +6469,6 @@ var cardDTOSchema = schemaOf()(
|
|
|
6463
6469
|
}).nullable(),
|
|
6464
6470
|
fatigued: z37.boolean(),
|
|
6465
6471
|
workspaceStatus: z37.string().nullable(),
|
|
6466
|
-
codespaceStatus: z37.string().nullable(),
|
|
6467
|
-
codespaceProvider: z37.string().nullable(),
|
|
6468
6472
|
useWorktree: z37.boolean(),
|
|
6469
6473
|
useSandbox: z37.boolean(),
|
|
6470
6474
|
isAuto: z37.boolean(),
|
|
@@ -6807,8 +6811,6 @@ var setTaskDTOSchema = schemaOf()(
|
|
|
6807
6811
|
discordThreadUrl: z37.string().nullable(),
|
|
6808
6812
|
threadLastActivityAt: z37.string().nullable(),
|
|
6809
6813
|
workspaceStatus: z37.string().nullable(),
|
|
6810
|
-
codespaceStatus: z37.string().nullable(),
|
|
6811
|
-
codespaceProvider: z37.string().nullable(),
|
|
6812
6814
|
identifying: z37.boolean(),
|
|
6813
6815
|
type: cardTypeSchema,
|
|
6814
6816
|
source: z37.string().nullable(),
|
|
@@ -7573,7 +7575,6 @@ var projectTaskDTOSchema = schemaOf()(
|
|
|
7573
7575
|
githubPRUrl: z46.string().nullable(),
|
|
7574
7576
|
githubPRNumber: z46.number().nullable(),
|
|
7575
7577
|
workspaceStatus: z46.string().nullable(),
|
|
7576
|
-
codespaceStatus: z46.string().nullable(),
|
|
7577
7578
|
assignedUserId: z46.string().nullable(),
|
|
7578
7579
|
assignedUserName: z46.string().nullable(),
|
|
7579
7580
|
reviewers: z46.array(projectTaskReviewerDTOSchema),
|
|
@@ -7629,7 +7630,6 @@ var projectTaskDetailDTOSchema = schemaOf()(
|
|
|
7629
7630
|
githubPRUrl: z46.string().nullable(),
|
|
7630
7631
|
githubPRNumber: z46.number().nullable(),
|
|
7631
7632
|
workspaceStatus: z46.string().nullable(),
|
|
7632
|
-
codespaceStatus: z46.string().nullable(),
|
|
7633
7633
|
assignedUserId: z46.string().nullable(),
|
|
7634
7634
|
assignedUserName: z46.string().nullable(),
|
|
7635
7635
|
reviewers: z46.array(projectTaskReviewerDTOSchema),
|
|
@@ -8934,7 +8934,6 @@ var suggestionDTOSchema = schemaOf()(
|
|
|
8934
8934
|
mergeQueuedByUserId: z59.string().nullable().optional(),
|
|
8935
8935
|
hasActivePod: z59.boolean().optional(),
|
|
8936
8936
|
workspaceStatus: z59.string().nullable().optional(),
|
|
8937
|
-
codespaceStatus: z59.string().nullable().optional(),
|
|
8938
8937
|
agentRunnerStatus: z59.string().nullable().optional(),
|
|
8939
8938
|
lastHeartbeatAt: z59.string().nullable().optional(),
|
|
8940
8939
|
reporterEmailStatus: reporterEmailStatusSchema.nullable()
|
|
@@ -10621,7 +10620,6 @@ var incidentDTOSchema = schemaOf()(
|
|
|
10621
10620
|
mergeQueuedByUserId: z66.string().nullable().optional(),
|
|
10622
10621
|
hasActivePod: z66.boolean().optional(),
|
|
10623
10622
|
workspaceStatus: z66.string().nullable().optional(),
|
|
10624
|
-
codespaceStatus: z66.string().nullable().optional(),
|
|
10625
10623
|
agentRunnerStatus: z66.string().nullable().optional(),
|
|
10626
10624
|
lastHeartbeatAt: z66.string().nullable().optional(),
|
|
10627
10625
|
reporterEmailStatus: reporterEmailStatusSchema.nullable()
|
|
@@ -11426,7 +11424,6 @@ var precognitionDTOSchema = schemaOf()(
|
|
|
11426
11424
|
projectSlug: z69.string(),
|
|
11427
11425
|
projectName: z69.string(),
|
|
11428
11426
|
workspaceStatus: z69.string().nullable(),
|
|
11429
|
-
codespaceStatus: z69.string().nullable(),
|
|
11430
11427
|
agentRunningAt: z69.string().nullable(),
|
|
11431
11428
|
startedAt: z69.string().nullable(),
|
|
11432
11429
|
updatedAt: z69.string()
|
|
@@ -11492,9 +11489,7 @@ var workspaceAttachInfoDTOSchema = schemaOf()(
|
|
|
11492
11489
|
);
|
|
11493
11490
|
var workspaceTransitionSchema = z70.object({
|
|
11494
11491
|
taskId: z70.string(),
|
|
11495
|
-
workspaceStatus: z70.string()
|
|
11496
|
-
/** @deprecated Same value as `workspaceStatus`; removed in part 3. */
|
|
11497
|
-
codespaceStatus: z70.string()
|
|
11492
|
+
workspaceStatus: z70.string()
|
|
11498
11493
|
});
|
|
11499
11494
|
var cloudBuildContract = defineContract("cloudBuildService", {
|
|
11500
11495
|
describe: "Runs the cloud workspaces behind each card's coding agent, from boot through sleep, wake, reset and teardown, and handles releases, the pod pool and pod image bakes. The board, card detail and compute settings use it.",
|
|
@@ -11567,11 +11562,6 @@ var cloudBuildContract = defineContract("cloudBuildService", {
|
|
|
11567
11562
|
output: standard(z70.object({ taskId: z70.string(), status: z70.string() })),
|
|
11568
11563
|
describe: "Destroys every workspace a card has so the next start boots a fresh one, and moves an in-progress card without a PR back to Open."
|
|
11569
11564
|
}),
|
|
11570
|
-
resetCodespace: mutation({
|
|
11571
|
-
input: resetWorkspaceSchema,
|
|
11572
|
-
output: standard(z70.object({ taskId: z70.string(), status: z70.string() })),
|
|
11573
|
-
describe: "Destroys every workspace a card has, exactly like the workspace reset; it remains as an alias for web clients built before the rename."
|
|
11574
|
-
}),
|
|
11575
11565
|
wakeWorkspace: mutation({
|
|
11576
11566
|
input: wakeWorkspaceSchema,
|
|
11577
11567
|
output: standard(z70.object({ status: z70.string() })),
|
|
@@ -17195,7 +17185,7 @@ ${q.question}${q.options.length ? "\n" + q.options.map((o) => `- ${o.label}: ${o
|
|
|
17195
17185
|
* Refresh the in-process `CONVEYOR_TASK_TOKEN` from the bootstrap endpoint.
|
|
17196
17186
|
* Returns true if a new token was applied. Rate-limited locally to once per
|
|
17197
17187
|
* 60s so a tight auth-rejected loop can't hammer the bootstrap endpoint —
|
|
17198
|
-
* the server
|
|
17188
|
+
* the server rate-limits the bootstrap route too (`podBootstrapLimiter`).
|
|
17199
17189
|
*/
|
|
17200
17190
|
lastTaskTokenRefreshAt = 0;
|
|
17201
17191
|
async refreshTaskTokenFromBootstrap() {
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
subProjectScopePaths,
|
|
100
100
|
updateRemoteToken,
|
|
101
101
|
verifyGitCredential
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-PVN7PGMT.js";
|
|
103
103
|
import {
|
|
104
104
|
reportBootMilestone
|
|
105
105
|
} from "./chunk-VIUZS7V4.js";
|
|
@@ -8172,7 +8172,7 @@ var attachmentTags = f.optional(
|
|
|
8172
8172
|
);
|
|
8173
8173
|
var attachmentShowcase = f.optional(
|
|
8174
8174
|
f.boolean({
|
|
8175
|
-
desc: "Mark this file as a showcase: the finished result of the card. Showcase files render first with a thumbnail on the card, are what a tag gallery shows, always post to chat, get a long-lived link, are kept past the 90-day purge, and are appended to the PR body under '## Showcase'. Use it for the final capture, not for scoping or before shots."
|
|
8175
|
+
desc: "Mark this file as a showcase: the finished result of the card. Showcase files render first with a thumbnail on the card, are what a tag gallery shows, always post to chat, get a long-lived link, are kept past the 90-day purge, and are appended to the PR body under '## Showcase' when Conveyor opens the PR (add them yourself to a PR that is already open). Use it for the final capture, not for scoping or before shots."
|
|
8176
8176
|
})
|
|
8177
8177
|
);
|
|
8178
8178
|
var attachmentSupersedes = f.optional(
|
|
@@ -16542,6 +16542,14 @@ var SessionRunner = class _SessionRunner {
|
|
|
16542
16542
|
projectName: ctx.projectName ?? null,
|
|
16543
16543
|
projectDescription: ctx.projectDescription ?? null,
|
|
16544
16544
|
siteAssetTargetsConfigured: ctx.siteAssetTargetsConfigured ?? false,
|
|
16545
|
+
// Each gate fails closed: a flag the server did not send hides its tools.
|
|
16546
|
+
googleDriveConnected: ctx.googleDriveConnected ?? false,
|
|
16547
|
+
googleDriveFolderName: ctx.googleDriveFolderName ?? null,
|
|
16548
|
+
chatChannelsConfigured: ctx.chatChannelsConfigured ?? false,
|
|
16549
|
+
meetingsAvailable: ctx.meetingsAvailable ?? false,
|
|
16550
|
+
googleAnalyticsConfigured: ctx.googleAnalyticsConfigured ?? false,
|
|
16551
|
+
gcpLogsConfigured: ctx.gcpLogsConfigured ?? false,
|
|
16552
|
+
grafanaLogsConfigured: ctx.grafanaLogsConfigured ?? false,
|
|
16545
16553
|
githubPRUrl: ctx.githubPRUrl,
|
|
16546
16554
|
claudeSessionId: ctx.claudeSessionId ?? null,
|
|
16547
16555
|
lastSeenMessageId: ctx.lastSeenMessageId ?? null,
|
package/dist/cli.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
WorkspaceCommandSupervisor,
|
|
8
8
|
startWorkspaceCommandsAfterConnect,
|
|
9
9
|
stopWorkspaceCommands
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DFPOPMTN.js";
|
|
11
11
|
import {
|
|
12
12
|
PtyHarness,
|
|
13
13
|
SessionRunner,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveTuiKindFromEnv,
|
|
26
26
|
sampleKeyUsage,
|
|
27
27
|
usesNativeUsageReporting
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-U3X4LTN4.js";
|
|
29
29
|
import "./chunk-V5WR2F2P.js";
|
|
30
30
|
import {
|
|
31
31
|
inheritedEnv,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
createServiceLogger,
|
|
42
42
|
loadAndAnnotateDiscoveredPorts,
|
|
43
43
|
loadConveyorConfig
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-PVN7PGMT.js";
|
|
45
45
|
import "./chunk-VIUZS7V4.js";
|
|
46
46
|
import "./chunk-W4LZ7R6Z.js";
|
|
47
47
|
import "./chunk-372R6E4C.js";
|
|
@@ -1398,7 +1398,7 @@ if (!RUNNER_MODES.includes(CONVEYOR_MODE)) {
|
|
|
1398
1398
|
process.exit(1);
|
|
1399
1399
|
}
|
|
1400
1400
|
if (CONVEYOR_MODE === "serving") {
|
|
1401
|
-
const { runServingSession } = await import("./serve-boot-
|
|
1401
|
+
const { runServingSession } = await import("./serve-boot-XQYGJG3S.js");
|
|
1402
1402
|
exitContext.runnerMode = "serving";
|
|
1403
1403
|
exitContext.sessionId = process.env.CONVEYOR_SESSION_ID ?? exitContext.sessionId;
|
|
1404
1404
|
const outcome = await runServingSession({
|
package/dist/index.d.ts
CHANGED
|
@@ -401,7 +401,7 @@ declare class AgentConnection {
|
|
|
401
401
|
* Refresh the in-process `CONVEYOR_TASK_TOKEN` from the bootstrap endpoint.
|
|
402
402
|
* Returns true if a new token was applied. Rate-limited locally to once per
|
|
403
403
|
* 60s so a tight auth-rejected loop can't hammer the bootstrap endpoint —
|
|
404
|
-
* the server
|
|
404
|
+
* the server rate-limits the bootstrap route too (`podBootstrapLimiter`).
|
|
405
405
|
*/
|
|
406
406
|
private lastTaskTokenRefreshAt;
|
|
407
407
|
refreshTaskTokenFromBootstrap(): Promise<boolean>;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionRunner,
|
|
3
3
|
unshallowRepo
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U3X4LTN4.js";
|
|
5
5
|
import "./chunk-V5WR2F2P.js";
|
|
6
6
|
import "./chunk-76JCOHPE.js";
|
|
7
7
|
import {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
stageAndCommit,
|
|
18
18
|
updateRemoteToken,
|
|
19
19
|
workspacePathExists
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PVN7PGMT.js";
|
|
21
21
|
import "./chunk-VIUZS7V4.js";
|
|
22
22
|
import {
|
|
23
23
|
runAuthTokenCommand,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkspaceCommandSupervisor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DFPOPMTN.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentConnection,
|
|
6
6
|
DEFAULT_LIFECYCLE_CONFIG,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ensureOnTaskBranch,
|
|
12
12
|
loadAndAnnotateDiscoveredPorts,
|
|
13
13
|
loadConveyorConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PVN7PGMT.js";
|
|
15
15
|
import "./chunk-VIUZS7V4.js";
|
|
16
16
|
import "./chunk-W4LZ7R6Z.js";
|
|
17
17
|
import "./chunk-MILKMRPU.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rallycry/conveyor-agent",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.2",
|
|
4
4
|
"description": "Conveyor Agent Runner v10 - PTY harness for the task chat (SDK harness for audit/project-chat). Agent-as-User architecture with BaseService patterns. Works locally too.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"typecheck": "bash ../../scripts/typecheck.sh"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@anthropic-ai/claude-agent-sdk": "^0.3.
|
|
40
|
+
"@anthropic-ai/claude-agent-sdk": "^0.3.301",
|
|
41
41
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
42
42
|
"node-pty": "^1.1.0",
|
|
43
43
|
"socket.io-client": "^4.8.4",
|
|
@@ -71,7 +71,7 @@ mutation applied before the reply — is a stalled run, not a paused one.
|
|
|
71
71
|
4. Skip, and list under "deliberately not touched":
|
|
72
72
|
- rows with `parentTaskId` set — prune the pack parent; its children follow
|
|
73
73
|
the parent's disposition;
|
|
74
|
-
- rows with a non-null `workspaceStatus`
|
|
74
|
+
- rows with a non-null `workspaceStatus` — something is running on it;
|
|
75
75
|
- rows with a `githubPRUrl` — work exists; that is a review question, not
|
|
76
76
|
a prune question.
|
|
77
77
|
5. `mcp__conveyor__list_tags` once — the project's vocabulary, and whether a
|