@loucompanion/forge-bridge 0.1.1-dev.2d1a116ca78d → 0.1.1-dev.40fbc494669b
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.
|
@@ -194,15 +194,6 @@ export class ProcessBackedProviderCliService {
|
|
|
194
194
|
prompt: buildDraftPrompt(dispatch),
|
|
195
195
|
skipGitRepoCheck: true
|
|
196
196
|
});
|
|
197
|
-
const draftArtifactSlugs = dispatch.artifacts
|
|
198
|
-
.filter((artifact) => artifact.scope === "operational" && ["command", "skill", "hook"].includes(artifact.kind))
|
|
199
|
-
.map((artifact) => `${artifact.kind}:${artifact.slug}`);
|
|
200
|
-
await context.emit({
|
|
201
|
-
role: "runner",
|
|
202
|
-
kind: "checkpoint",
|
|
203
|
-
content: `Draft artifacts injected: ${draftArtifactSlugs.length}${draftArtifactSlugs.length ? ` (${draftArtifactSlugs.join(", ")})` : ""}. Project: ${dispatch.draft.projectName ?? dispatch.repo.name}. Repo: ${dispatch.draft.repoName ?? dispatch.repo.name}.`,
|
|
204
|
-
eventType: "draft_artifacts_injected"
|
|
205
|
-
});
|
|
206
197
|
await context.emit({
|
|
207
198
|
role: "runner",
|
|
208
199
|
kind: "checkpoint",
|
|
@@ -1921,19 +1912,12 @@ function buildDraftPrompt(dispatch) {
|
|
|
1921
1912
|
const artifactSection = draftArtifacts
|
|
1922
1913
|
? `\n\n# Injected Draft command/skills/hooks\n\n${draftArtifacts}`
|
|
1923
1914
|
: "";
|
|
1924
|
-
|
|
1925
|
-
draft.projectName ? `Project: ${draft.projectName}` : null,
|
|
1926
|
-
draft.repoName ? `Repository: ${draft.repoName}` : null
|
|
1927
|
-
].filter(Boolean).join("\n");
|
|
1928
|
-
const scopedProjectSection = projectSection ? `\n\n# Selected project context\n\n${projectSection}` : "";
|
|
1929
|
-
return `${draft.systemPrompt}${scopedProjectSection}${artifactSection}
|
|
1915
|
+
return `${draft.systemPrompt}${artifactSection}
|
|
1930
1916
|
|
|
1931
1917
|
Draft kind: ${draft.kind}
|
|
1932
1918
|
|
|
1933
1919
|
${draft.userPrompt}
|
|
1934
1920
|
|
|
1935
|
-
This Draft path is a single draft-generation pass. Use the injected command/skills/hooks as planning instructions and cite their influence in the JSON content when relevant, but do not claim you used tool calls.
|
|
1936
|
-
|
|
1937
1921
|
Return ONLY the requested JSON object. Do not wrap it in markdown and do not modify files.`;
|
|
1938
1922
|
}
|
|
1939
1923
|
function extractJsonObject(content) {
|
|
@@ -23,8 +23,6 @@ export interface DispatchDraftPrompt {
|
|
|
23
23
|
readonly kind: string;
|
|
24
24
|
readonly systemPrompt: string;
|
|
25
25
|
readonly userPrompt: string;
|
|
26
|
-
readonly projectName?: string | null;
|
|
27
|
-
readonly repoName?: string | null;
|
|
28
26
|
}
|
|
29
27
|
export interface DispatchQaBrowserContext {
|
|
30
28
|
readonly required: boolean;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const forgeBridgeVersion = "0.1.1-dev.
|
|
1
|
+
export declare const forgeBridgeVersion = "0.1.1-dev.40fbc494669b";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const forgeBridgeVersion = "0.1.1-dev.
|
|
1
|
+
export const forgeBridgeVersion = "0.1.1-dev.40fbc494669b";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loucompanion/forge-bridge",
|
|
3
|
-
"version": "0.1.1-dev.
|
|
3
|
+
"version": "0.1.1-dev.40fbc494669b",
|
|
4
4
|
"description": "Forge runner bridge CLI for connecting local developer machines to Forge dispatch.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|