@structured-vibe-coding/core 0.2.2 → 0.3.0
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-7PTSPJFQ.js +10 -0
- package/dist/chunk-PT2BZ23N.js +1314 -0
- package/dist/index.d.ts +27 -1
- package/dist/index.js +112 -972
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1164,14 +1164,40 @@ declare function completeChange(projectRoot: string, config: Config, changeId: s
|
|
|
1164
1164
|
declare function formatStatus(ctx: ChangeContext): string;
|
|
1165
1165
|
declare function buildAgentPrompt(ctx: ChangeContext, config: Config, projectRoot: string): Promise<string>;
|
|
1166
1166
|
|
|
1167
|
+
type AgentTarget = "copilot" | "claude-code" | "intellij";
|
|
1168
|
+
declare const ALL_AGENT_TARGETS: AgentTarget[];
|
|
1169
|
+
interface InstallAgentsOptions {
|
|
1170
|
+
projectRoot: string;
|
|
1171
|
+
targets?: AgentTarget[];
|
|
1172
|
+
force?: boolean;
|
|
1173
|
+
}
|
|
1174
|
+
interface InstallAgentsResult {
|
|
1175
|
+
created: string[];
|
|
1176
|
+
skipped: string[];
|
|
1177
|
+
targets: AgentTarget[];
|
|
1178
|
+
}
|
|
1179
|
+
/**
|
|
1180
|
+
* Install IDE / coding-agent integration files so GitHub Copilot, Claude Code,
|
|
1181
|
+
* and JetBrains (via shared instructions) follow SDD.
|
|
1182
|
+
*/
|
|
1183
|
+
declare function installAgentIntegrations(opts: InstallAgentsOptions): Promise<InstallAgentsResult>;
|
|
1184
|
+
/** Write .sdd/active-context.md for the current change (all agents read this). */
|
|
1185
|
+
declare function refreshActiveAgentContext(projectRoot: string): Promise<string | null>;
|
|
1186
|
+
|
|
1167
1187
|
interface InitOptions {
|
|
1168
1188
|
projectRoot: string;
|
|
1169
1189
|
force?: boolean;
|
|
1170
1190
|
pack?: "default" | "enterprise";
|
|
1191
|
+
/** Install Copilot / Claude Code / IntelliJ agent files (default: all). */
|
|
1192
|
+
agents?: boolean | AgentTarget[];
|
|
1171
1193
|
}
|
|
1172
1194
|
interface InitResult {
|
|
1173
1195
|
created: string[];
|
|
1174
1196
|
config: Config;
|
|
1197
|
+
agents?: {
|
|
1198
|
+
created: string[];
|
|
1199
|
+
skipped: string[];
|
|
1200
|
+
};
|
|
1175
1201
|
}
|
|
1176
1202
|
declare function initProject(opts: InitOptions): Promise<InitResult>;
|
|
1177
1203
|
|
|
@@ -1221,4 +1247,4 @@ declare function listFiles(path: string): Promise<string[]>;
|
|
|
1221
1247
|
declare function copyDir(src: string, dest: string): Promise<void>;
|
|
1222
1248
|
declare function removePath(path: string): Promise<void>;
|
|
1223
1249
|
|
|
1224
|
-
export { type AdvanceResult, type ArtifactDef, ArtifactDefSchema, type ChangeContext, type ChangeMeta, ChangeMetaSchema, type Complexity, type Config, ConfigSchema, type CreateChangeInput, type Gate, GateSchema, type InitOptions, type InitResult, SDD_DIR, type Stage, StageSchema, VerifyCommandSchema, type VerifyResult, type Workflow, WorkflowSchema, activePointerPath, activeStages, advanceStage, approveGate, archiveDir, buildAgentPrompt, buildContext, canLeaveStage, changeDirName, changeMetaPath, changePath, changesDir, clearActiveIf, completeChange, configPath, copyDir, createChange, defaultConfig, defaultMemoryDir, defaultTemplatesDir, defaultWorkflowsDir, defaultsRoot, domainsDir, ensureDir, firstActiveStageId, formatStatus, getActiveChangeId, getStage, inferComplexity, initProject, isInitialized, isStageSkipped, listChanges, listDirs, listFiles, listWorkflowNames, loadChangeMeta, loadConfig, loadWorkflow, memoryDir, nextStageId, nowIso, pathExists, previousStageId, projectPaths, readText, readYaml, recommendWorkflow, removePath, resolveChangeId, resolveStages, runLocalVerify, saveChangeMeta, saveConfig, sddRoot, setActiveChange, shouldAutoSkip, skipStage, slugify, switchWorkflow, templatesDir, todayIsoDate, uniqueChangeDirName, workflowsDir, writeText, writeYaml };
|
|
1250
|
+
export { ALL_AGENT_TARGETS, type AdvanceResult, type AgentTarget, type ArtifactDef, ArtifactDefSchema, type ChangeContext, type ChangeMeta, ChangeMetaSchema, type Complexity, type Config, ConfigSchema, type CreateChangeInput, type Gate, GateSchema, type InitOptions, type InitResult, type InstallAgentsOptions, type InstallAgentsResult, SDD_DIR, type Stage, StageSchema, VerifyCommandSchema, type VerifyResult, type Workflow, WorkflowSchema, activePointerPath, activeStages, advanceStage, approveGate, archiveDir, buildAgentPrompt, buildContext, canLeaveStage, changeDirName, changeMetaPath, changePath, changesDir, clearActiveIf, completeChange, configPath, copyDir, createChange, defaultConfig, defaultMemoryDir, defaultTemplatesDir, defaultWorkflowsDir, defaultsRoot, domainsDir, ensureDir, firstActiveStageId, formatStatus, getActiveChangeId, getStage, inferComplexity, initProject, installAgentIntegrations, isInitialized, isStageSkipped, listChanges, listDirs, listFiles, listWorkflowNames, loadChangeMeta, loadConfig, loadWorkflow, memoryDir, nextStageId, nowIso, pathExists, previousStageId, projectPaths, readText, readYaml, recommendWorkflow, refreshActiveAgentContext, removePath, resolveChangeId, resolveStages, runLocalVerify, saveChangeMeta, saveConfig, sddRoot, setActiveChange, shouldAutoSkip, skipStage, slugify, switchWorkflow, templatesDir, todayIsoDate, uniqueChangeDirName, workflowsDir, writeText, writeYaml };
|