buddy-agent-harness 0.20.0 → 0.22.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/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/README.md +1 -1
- package/dist/cli.mjs +14193 -24818
- package/dist/index.d.mts +11 -9
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +183 -772
- package/dist/index.mjs.map +1 -1
- package/dist/skill-scripts/doctor.mjs +122 -180
- package/dist/skill-scripts/init.mjs +122 -180
- package/dist/skill-scripts/mcp.mjs +122 -180
- package/llms.txt +11 -8
- package/package.json +4 -4
- package/plugin.json +2 -2
- package/skills/doctor-buddy-agent-harness/README.md +1 -1
- package/skills/doctor-buddy-agent-harness/SKILL.md +3 -3
- package/skills/doctor-buddy-agent-harness/references/bridges.md +2 -2
- package/skills/doctor-buddy-agent-harness/references/configuration.md +4 -4
- package/skills/doctor-buddy-agent-harness/references/instructions.md +6 -6
- package/skills/doctor-buddy-agent-harness/references/judgment/claude-code.md +64 -0
- package/skills/doctor-buddy-agent-harness/references/judgment/codex.md +19 -0
- package/skills/doctor-buddy-agent-harness/references/judgment/copilot-cli.md +16 -0
- package/skills/doctor-buddy-agent-harness/references/judgment/cursor.md +36 -0
- package/skills/doctor-buddy-agent-harness/references/judgment/devin-desktop.md +19 -0
- package/skills/doctor-buddy-agent-harness/references/judgment/gemini-cli.md +30 -0
- package/skills/doctor-buddy-agent-harness/references/mcp.md +4 -4
- package/skills/doctor-buddy-agent-harness/references/nonstandard.md +4 -4
- package/skills/doctor-buddy-agent-harness/scripts/doctor.mjs +122 -180
- package/skills/enhance/SKILL.md +5 -5
- package/skills/enhance/references/agents-md.md +150 -0
- package/skills/enhance/references/detection.md +36 -0
- package/skills/enhance/references/global-instructions.md +33 -0
- package/skills/enhance/scripts/doctor.mjs +122 -180
- package/skills/init-buddy-agent-harness/SKILL.md +1 -1
- package/skills/init-buddy-agent-harness/scripts/doctor.mjs +122 -180
- package/skills/init-buddy-agent-harness/scripts/init.mjs +122 -180
- package/skills/repair/SKILL.md +3 -3
- package/skills/repair/references/agents-md.md +150 -0
- package/skills/repair/references/classes.md +2 -2
- package/skills/repair/scripts/doctor.mjs +122 -180
- package/skills/repair/scripts/mcp.mjs +122 -180
- package/src/cli.ts +22 -4
- package/src/command-output/command-output.ts +15 -55
- package/src/dep-plugins/dep-plugins.command.ts +8 -14
- package/src/dep-plugins/dep-plugins.ts +1 -1
- package/src/dep-plugins/resolve.ts +1 -1
- package/src/diagnose-bridges/doctor-guidance.ts +64 -54
- package/src/diagnose-bridges/doctor.command.ts +12 -22
- package/src/governance-overrides/governance-overrides.ts +18 -8
- package/src/governance-overrides/governance.command.ts +19 -37
- package/src/harness-registry/harness-registry.ts +3 -4
- package/src/index.ts +5 -8
- package/src/initialize-harnesses/init.command.ts +9 -19
- package/src/initialize-harnesses/initialize-harnesses.ts +2 -2
- package/src/project-mcp/mcp.command.ts +14 -25
- package/src/reconcile-mcp/reconcile.command.ts +15 -26
- package/src/references/references.ts +6 -6
- package/dist/dist-ktNZ1sJo.mjs +0 -2966
- package/dist/esm-BMqwcD7W.mjs +0 -87
- package/dist/esm-CVacKtt6.mjs +0 -64
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MatchKind,
|
|
1
|
+
import { MatchKind, ReferenceLayer, ReferenceLayerOptions as ReferenceLayerOptions$1, ReferenceLayers, ReferenceListLayerRow, ReferenceListLayerRow as ReferenceListLayerRow$1, ReferenceListRow, ReferenceListing, ReferenceName, ReferenceStatus, ReferenceTier, ResolveOptions, ResolvedReference, SearchMatch, listReferences, parseReferenceName, resolveReference, searchReferences } from "cyber-agentkit";
|
|
2
2
|
import { cli as cli$1 } from "clibuilder";
|
|
3
|
-
import { ReferenceListReport, ReferenceSearchReport, ReferenceShowEntry } from "
|
|
3
|
+
import { ReferenceListReport, ReferenceSearchReport, ReferenceShowEntry } from "cyber-agentkit/commands";
|
|
4
4
|
//#region src/cli.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* The application boundary: argv in, exit code out — returned rather than written, so a caller that
|
|
@@ -130,7 +130,7 @@ type Harness = {
|
|
|
130
130
|
deprecated?: HarnessName;
|
|
131
131
|
};
|
|
132
132
|
/**
|
|
133
|
-
* Skills directories come from
|
|
133
|
+
* Skills directories come from `cyber-agentkit`, except for the harnesses it does not know
|
|
134
134
|
* (`devin-desktop`, `windsurf`); see `.research/agentic-configuration-standards/` for the rest.
|
|
135
135
|
*/
|
|
136
136
|
export declare const harnessRegistry: readonly Harness[];
|
|
@@ -395,7 +395,9 @@ type ConfigurationFinding = {
|
|
|
395
395
|
};
|
|
396
396
|
//#endregion
|
|
397
397
|
//#region src/diagnose-bridges/doctor.command.d.ts
|
|
398
|
-
type DoctorReference = Pick<
|
|
398
|
+
type DoctorReference = Pick<ReferenceListLayerRow$1, "name" | "tier" | "path"> & {
|
|
399
|
+
status: string;
|
|
400
|
+
};
|
|
399
401
|
type DoctorReport = {
|
|
400
402
|
bin: string;
|
|
401
403
|
bridges: DiagnoseResult["bridges"];
|
|
@@ -485,13 +487,13 @@ type LayerOptions = {
|
|
|
485
487
|
/** `%ProgramData%`, read only on Windows. */
|
|
486
488
|
programData?: string | undefined;
|
|
487
489
|
};
|
|
488
|
-
/** @deprecated Use `
|
|
490
|
+
/** @deprecated Use the `reference` command's layers. Removed in the next major version. */
|
|
489
491
|
export declare function managedGovernancesDir(platform: NodeJS.Platform, programData?: string | undefined): string;
|
|
490
492
|
/**
|
|
491
493
|
* Still read below the layer above, so a machine already using it keeps working; reported as
|
|
492
494
|
* deprecated so an admin knows to move it.
|
|
493
495
|
*
|
|
494
|
-
* @deprecated Use `
|
|
496
|
+
* @deprecated Use the `reference` command's layers. Removed in the next major version.
|
|
495
497
|
*/
|
|
496
498
|
export declare function deprecatedManagedGovernancesDir(platform: NodeJS.Platform, programData?: string | undefined): string;
|
|
497
499
|
/** @deprecated Use `referenceLayers`. Removed in the next major version. */
|
|
@@ -649,9 +651,9 @@ type ReferenceLayerOptions = Omit<ReferenceLayerOptions$1, "plugin"> & {
|
|
|
649
651
|
/** This package's own root, the `buddy-agent-harness` plugin. */
|
|
650
652
|
packageRoot?: string | undefined;
|
|
651
653
|
};
|
|
652
|
-
/**
|
|
653
|
-
export declare function referenceLayers({ packageRoot, ...options }: ReferenceLayerOptions): Promise<
|
|
654
|
+
/** `cyber-agentkit`'s reference layers, with this package as the plugin whose own references come first. */
|
|
655
|
+
export declare function referenceLayers({ packageRoot, ...options }: ReferenceLayerOptions): Promise<ReferenceLayers>;
|
|
654
656
|
export declare const referenceCommand: cli$1.Command;
|
|
655
657
|
//#endregion
|
|
656
|
-
export { type BridgeFinding, type BridgeKind, type BridgeProblem, type BridgeReport, type BridgeStatus, type ConfigurationFault, type ConfigurationProblem, type DiagnoseMcpOptions, type DiagnoseOptions, type DiagnoseResult, type DivergenceDirection, type DivergenceReport, type DoctorProblem, type DoctorReference, type DoctorReport, type GlobalInstructionKind, type GlobalInstructionProblem, type GlobalInstructionReport, type GlobalInstructionStatus, type GovernanceDocument, type GovernanceEntry, type GovernanceLayer, type GovernanceListReport, type GovernanceScope, type GovernanceShowReport, type Harness, type HarnessName, type HarnessScope, type HarnessScopeName, type InitializeOptions, type InitializeResult, type InstructionBridge, type InstructionKind, type InstructionProblem, type InstructionReport, type InstructionStatus, type LayerOptions, type ListMcpServersOptions, type MatchKind, type McpConfig, type McpDirection, type McpField, type McpProblem, type McpServer, type McpServerEntry, type McpTransport, type
|
|
658
|
+
export { type BridgeFinding, type BridgeKind, type BridgeProblem, type BridgeReport, type BridgeStatus, type ConfigurationFault, type ConfigurationProblem, type DiagnoseMcpOptions, type DiagnoseOptions, type DiagnoseResult, type DivergenceDirection, type DivergenceReport, type DoctorProblem, type DoctorReference, type DoctorReport, type GlobalInstructionKind, type GlobalInstructionProblem, type GlobalInstructionReport, type GlobalInstructionStatus, type GovernanceDocument, type GovernanceEntry, type GovernanceLayer, type GovernanceListReport, type GovernanceScope, type GovernanceShowReport, type Harness, type HarnessName, type HarnessScope, type HarnessScopeName, type InitializeOptions, type InitializeResult, type InstructionBridge, type InstructionKind, type InstructionProblem, type InstructionReport, type InstructionStatus, type LayerOptions, type ListMcpServersOptions, type MatchKind, type McpConfig, type McpDirection, type McpField, type McpProblem, type McpServer, type McpServerEntry, type McpTransport, type ReferenceLayer, type ReferenceLayerOptions, type ReferenceListLayerRow, type ReferenceListReport, type ReferenceListRow, type ReferenceListing, type ReferenceName, type ReferenceSearchReport, type ReferenceShowEntry, type ReferenceStatus, type ReferenceTier, type Repair, type ResolveOptions, type ResolvedReference, type SearchMatch, listReferences, parseReferenceName, resolveReference, searchReferences };
|
|
657
659
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/cli.ts","../src/harness-registry/instruction-bridge.ts","../src/diagnose-mcp/mcp-model.ts","../src/mcp-dialects/mcp-dialects.ts","../src/harness-registry/mcp-config.ts","../src/harness-registry/nonstandard-artifact.ts","../src/harness-registry/harness-registry.ts","../src/diagnose-bridges/diagnose-global-instructions.ts","../src/diagnose-bridges/diagnose-instructions.ts","../src/diagnose-bridges/locator.ts","../src/diagnose-bridges/doctor-guidance.ts","../src/diagnose-bridges/git-bridge-state.ts","../src/diagnose-bridges/diagnose-bridges.ts","../src/diagnose-configuration/diagnose-configuration.ts","../src/diagnose-bridges/doctor.command.ts","../src/diagnose-mcp/diagnose-mcp.ts","../src/diagnose-mcp/mcp-baseline.ts","../src/diagnose-mcp/mcp-sources.ts","../src/governance-overrides/governance-overrides.ts","../src/governance-overrides/governance.command.ts","../src/initialize-harnesses/init.command.ts","../src/skill-projection/skill-projection.ts","../src/initialize-harnesses/initialize-harnesses.ts","../src/mcp-inventory/mcp-inventory.ts","../src/references/references.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/cli.ts","../src/harness-registry/instruction-bridge.ts","../src/diagnose-mcp/mcp-model.ts","../src/mcp-dialects/mcp-dialects.ts","../src/harness-registry/mcp-config.ts","../src/harness-registry/nonstandard-artifact.ts","../src/harness-registry/harness-registry.ts","../src/diagnose-bridges/diagnose-global-instructions.ts","../src/diagnose-bridges/diagnose-instructions.ts","../src/diagnose-bridges/locator.ts","../src/diagnose-bridges/doctor-guidance.ts","../src/diagnose-bridges/git-bridge-state.ts","../src/diagnose-bridges/diagnose-bridges.ts","../src/diagnose-configuration/diagnose-configuration.ts","../src/diagnose-bridges/doctor.command.ts","../src/diagnose-mcp/diagnose-mcp.ts","../src/diagnose-mcp/mcp-baseline.ts","../src/diagnose-mcp/mcp-sources.ts","../src/governance-overrides/governance-overrides.ts","../src/governance-overrides/governance.command.ts","../src/initialize-harnesses/init.command.ts","../src/skill-projection/skill-projection.ts","../src/initialize-harnesses/initialize-harnesses.ts","../src/mcp-inventory/mcp-inventory.ts","../src/references/references.ts"],"mappings":";;;;;;;;wBA4DsB,IAAI,iBAAiB;;;;;;;;KCvD/B;;EAGT;;EAEA;;EAEA;;;EAIA;;EAEA;;EAEA;;;EAIA;;EAEA;;;;KCzBS;;KAGA;EACX,YAAY;EACZ;EACA;EACA,MAAM,SAAS;EACf;EACA,UAAU,SAAS;EACnB;EACA;EACA;EACA;;;cAIY;KAaD,mBAAmB;;;KC5BnB;;;KCIA;;EAEX;;EAEA;EACA;;EAEA,SAAS;;EAET;;;;;;;;;KCXW;KAeA;;EAEX;;EAEA;EACA,MAAM;;;;KClBK;;KAiBA;;KAGA;;EAEX;;EAEA;;;;;EAKA,oBAAoB;;EAEpB;;;;;EAKA;;;;;EAKA;;EAEA,YAAY;;EAEZ,uBAAuB;;KAGZ;EACX,MAAM;;EAEN,SAAS;;;;;EAKT,OAAO;;EAEP,aAAa;;;;;;qBA6BD,0BAA0B;;;;KCjF3B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