@cat-factory/server 0.49.2 → 0.49.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/dist/agents/ContainerAgentExecutor.d.ts +0 -36
- package/dist/agents/ContainerAgentExecutor.d.ts.map +1 -1
- package/dist/agents/ContainerAgentExecutor.js +4 -564
- package/dist/agents/ContainerAgentExecutor.js.map +1 -1
- package/dist/agents/jobBody.d.ts +73 -0
- package/dist/agents/jobBody.d.ts.map +1 -0
- package/dist/agents/jobBody.js +295 -0
- package/dist/agents/jobBody.js.map +1 -0
- package/dist/agents/prompts.d.ts +71 -0
- package/dist/agents/prompts.d.ts.map +1 -0
- package/dist/agents/prompts.js +280 -0
- package/dist/agents/prompts.js.map +1 -0
- package/dist/http/env.d.ts +9 -1
- package/dist/http/env.d.ts.map +1 -1
- package/dist/modules/workspaces/WorkspaceController.d.ts.map +1 -1
- package/dist/modules/workspaces/WorkspaceController.js +10 -11
- package/dist/modules/workspaces/WorkspaceController.js.map +1 -1
- package/package.json +8 -8
|
@@ -283,41 +283,5 @@ export declare class ContainerAgentExecutor implements AsyncAgentExecutor {
|
|
|
283
283
|
* (`common`) so the per-kind bodies can't drift on which auth they forward.
|
|
284
284
|
*/
|
|
285
285
|
private resolveAuth;
|
|
286
|
-
/**
|
|
287
|
-
* Build the per-kind harness job body: the shared `common` fields plus ONLY the delta
|
|
288
|
-
* specific to this kind's harness endpoint (its prompts, the branch it runs on, and
|
|
289
|
-
* any per-kind extras), and the matching dispatch `kind`. The web-search fields live
|
|
290
|
-
* in `webTools` (shared by the kinds that allow web access). The dispatch precedence
|
|
291
|
-
* matches the original if-ladder exactly: the specific kinds first, then any read-only
|
|
292
|
-
* kind, then the default coder body.
|
|
293
|
-
*/
|
|
294
|
-
private buildKindBody;
|
|
295
|
-
/**
|
|
296
|
-
* Build the generic `agent` job body for a registered kind from its declarative
|
|
297
|
-
* {@link AgentStepSpec} — the single dispatch path that replaces the per-kind cases as
|
|
298
|
-
* built-ins migrate. `container-explore` clones a branch read-only and returns prose
|
|
299
|
-
* (or, for `output.kind==='structured'`, a parsed `custom` JSON object the kind's
|
|
300
|
-
* post-op renders from); `container-coding` clones, edits, pushes and (off the work
|
|
301
|
-
* branch) opens a PR. The clone target maps `base`/`pr`/`work` to a concrete branch
|
|
302
|
-
* exactly as the built-in bodies do.
|
|
303
|
-
*/
|
|
304
|
-
private buildRegisteredAgentBody;
|
|
305
|
-
/**
|
|
306
|
-
* Build the generic `agent` body for a BUILT-IN container kind being migrated onto the
|
|
307
|
-
* manifest-driven path (the Task-5 strangler), or undefined when `context.agentKind` is
|
|
308
|
-
* not a migrated built-in (the caller falls through to the remaining bespoke switch). Each
|
|
309
|
-
* migrated kind is expressed as a synthesized {@link AgentStepSpec} routed through
|
|
310
|
-
* {@link buildRegisteredAgentBody} — the SAME dispatch a registered custom kind takes — so
|
|
311
|
-
* there is no bespoke harness handler:
|
|
312
|
-
* - `ci-fixer` / `fixer`: coding-on-PR (clone the PR branch, push back, no new PR; a
|
|
313
|
-
* no-op is non-fatal). Requires the implementation PR branch.
|
|
314
|
-
* - `merger` / `on-call`: read-only structured explore (full clone) that returns ONLY a
|
|
315
|
-
* JSON assessment; the conservative coercion that used to live in the harness runs
|
|
316
|
-
* backend-side in {@link toRunResult}.
|
|
317
|
-
* - `conflict-resolver`: coding (full clone of the PR branch) with a `mergeBase` — the
|
|
318
|
-
* harness merges the base in to surface the conflicts, the agent resolves them, and the
|
|
319
|
-
* harness completes the merge commit + pushes back onto the same branch (no new PR).
|
|
320
|
-
*/
|
|
321
|
-
private buildMigratedBuiltInBody;
|
|
322
286
|
}
|
|
323
287
|
//# sourceMappingURL=ContainerAgentExecutor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerAgentExecutor.d.ts","sourceRoot":"","sources":["../../src/agents/ContainerAgentExecutor.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,oBAAoB,EACzB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