buddy-agent-harness 0.22.0 → 1.0.1
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 +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/CHANGELOG.md +745 -0
- package/dist/cli.mjs +9677 -6481
- package/dist/index.d.mts +2 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +13 -7
- package/dist/index.mjs.map +1 -1
- package/dist/skill-scripts/doctor.mjs +115 -78
- package/dist/skill-scripts/init.mjs +115 -78
- package/dist/skill-scripts/mcp.mjs +115 -78
- package/llms.txt +9 -9
- package/package.json +14 -5
- package/plugin.json +1 -1
- package/skills/doctor-buddy-agent-harness/README.md +1 -1
- package/skills/doctor-buddy-agent-harness/SKILL.md +1 -1
- package/skills/doctor-buddy-agent-harness/scripts/doctor.mjs +115 -78
- package/skills/enhance/SKILL.md +12 -1
- package/skills/enhance/scripts/doctor.mjs +115 -78
- package/skills/init-buddy-agent-harness/SKILL.md +2 -2
- package/skills/init-buddy-agent-harness/references/standard.md +1 -1
- package/skills/init-buddy-agent-harness/scripts/doctor.mjs +115 -78
- package/skills/init-buddy-agent-harness/scripts/init.mjs +115 -78
- package/skills/repair/SKILL.md +1 -1
- package/skills/repair/scripts/doctor.mjs +115 -78
- package/skills/repair/scripts/mcp.mjs +115 -78
- package/src/cli.ts +2 -2
- package/src/governance-overrides/governance.command.ts +1 -1
- package/src/index.ts +1 -1
- package/src/initialize-harnesses/initialize-harnesses.ts +11 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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,
|
|
3
|
+
import { ReferenceListReport, ReferenceLoadEntry, ReferenceSearchReport } 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
|
|
@@ -655,5 +655,5 @@ type ReferenceLayerOptions = Omit<ReferenceLayerOptions$1, "plugin"> & {
|
|
|
655
655
|
export declare function referenceLayers({ packageRoot, ...options }: ReferenceLayerOptions): Promise<ReferenceLayers>;
|
|
656
656
|
export declare const referenceCommand: cli$1.Command;
|
|
657
657
|
//#endregion
|
|
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
|
|
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 ReferenceLoadEntry, type ReferenceName, type ReferenceSearchReport, type ReferenceStatus, type ReferenceTier, type Repair, type ResolveOptions, type ResolvedReference, type SearchMatch, listReferences, parseReferenceName, resolveReference, searchReferences };
|
|
659
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":";;;;;;;;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;;;;;;KAMA;KAEA;EACX,SAAS;;;;;;EAMT;EACA,MAAM;EACN,QAAQ;;;;;;;;wBAkGO,2BACf,cACA,oBAAoB,eACpB,aACA,MAAK,OAAO,YACZ;EACI,oBAAoB;EAA2B,UAAU;;;;;KCzHlD;;;;;KAKA;KAEA;EACX,SAAS;;EAET;EACA,MAAM;EACN,QAAQ;;;;;;wBA8EO,qBACf,cACA,oBAAoB,WACpB;EACI,cAAc;EAAqB,UAAU;;;;;;;;KCvGtC;EAAa;EAAc;;;;;;KAM3B;;EAEX;;EAEA;;EAEA;;EAEA,WAAW;;;;;;;;;KCJA;;;;;KAeA;;;;;KAMA;;;;;KAgBA;;KAQA;;KASA;;KAOA,gBACT,gBACA,qBACA,2BACA,qBACA,aACA;;KAGS,uBAAuB;KAEvB;;EAEX;;EAEA;;KAGW;EACX,SAAS;;EAET;;;;;EAKA,OAAO,IAAI,SAAS,cAAc;;;;;EAKlC,YAAY,IAAI;;qBA6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UAAU;;;;;;;wBAcjD,gCAAgC,UAAU,OAAO,UAAU;;wBA2B3D,mBAAmB,MAAM,MAAM,UAAU,eAAe,eAAe;;;;;;;wBAgBvE,eAAe,iBAAiB,oBAAoB;;;;;;;wBAYpD,oBAAoB;;;;;;wBAmCpB,kBAAkB,cAAc,iBAAiB,oBAAoB;;;;;;wBAcrE,gBAAgB,iBAAiB,oBAAoB;;;;KCvJzD;;;;;EAKX;IAAU,OAAO;IAAiB;IAAc;;;EAEhD;IAAe;IAAc,OAAO;IAAiB;;;;KAI1C;EACX;EACA,OAAO;EACP;EACA;;;qBAqGY,mBAAmB,MAAI;;;qBCzHvB,aAAa,MAAI;qBAyCjB,gBAAgB,MAAI;wBAMjB,WAAW;EAAgB,WAAW,gBAAgB;;;;;;;;KCN1D;;;KC9CA;EACX;EACA,YAAY;EACZ;EACA,QAAQ;;KAEG;EACX;EACA,WAAW;EACX,QAAQ;EACR,QAAQ;;;;;EAKR,SAAS;;EAET;IAAc,MAAM;IAAa,YAAY;;EAC7C;;;;;;EAMA;EACA;;
|
|
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;;;;;;KAMA;KAEA;EACX,SAAS;;;;;;EAMT;EACA,MAAM;EACN,QAAQ;;;;;;;;wBAkGO,2BACf,cACA,oBAAoB,eACpB,aACA,MAAK,OAAO,YACZ;EACI,oBAAoB;EAA2B,UAAU;;;;;KCzHlD;;;;;KAKA;KAEA;EACX,SAAS;;EAET;EACA,MAAM;EACN,QAAQ;;;;;;wBA8EO,qBACf,cACA,oBAAoB,WACpB;EACI,cAAc;EAAqB,UAAU;;;;;;;;KCvGtC;EAAa;EAAc;;;;;;KAM3B;;EAEX;;EAEA;;EAEA;;EAEA,WAAW;;;;;;;;;KCJA;;;;;KAeA;;;;;KAMA;;;;;KAgBA;;KAQA;;KASA;;KAOA,gBACT,gBACA,qBACA,2BACA,qBACA,aACA;;KAGS,uBAAuB;KAEvB;;EAEX;;EAEA;;KAGW;EACX,SAAS;;EAET;;;;;EAKA,OAAO,IAAI,SAAS,cAAc;;;;;EAKlC,YAAY,I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AAU,OAAO,UAAU;;;;;;;wBAcjD,gCAAgC,UAAU,OAAO,UAAU;;wBA2B3D,mBAAmB,MAAM,MAAM,UAAU,eAAe,eAAe;;;;;;;wBAgBvE,eAAe,iBAAiB,oBAAoB;;;;;;;wBAYpD,oBAAoB;;;;;;wBAmCpB,kBAAkB,cAAc,iBAAiB,oBAAoB;;;;;;wBAcrE,gBAAgB,iBAAiB,oBAAoB;;;;KCvJzD;;;;;EAKX;IAAU,OAAO;IAAiB;IAAc;;;EAEhD;IAAe;IAAc,OAAO;IAAiB;;;;KAI1C;EACX;EACA,OAAO;EACP;EACA;;;qBAqGY,mBAAmB,MAAI;;;qBCzHvB,aAAa,MAAI;qBAyCjB,gBAAgB,MAAI;wBAMjB,WAAW;EAAgB,WAAW,gBAAgB;;;;;;;;KCN1D;;;KC9CA;EACX;EACA,YAAY;EACZ;EACA,QAAQ;;KAEG;EACX;EACA,WAAW;EACX,QAAQ;EACR,QAAQ;;;;;EAKR,SAAS;;EAET;IAAc,MAAM;IAAa,YAAY;;EAC7C;;;;;;EAMA;EACA;;wBAQe,sBACf,MACA,WAAW,WACX,MACA,SACE,oBAAoB;;;;;;;KC7BX,iBAAiB;;KA6DjB;EACX,SAAS;EACT,OAAO;;EAEP;;EAEA;EACA,WAAW;;EAEX;;EAEA;;EAEA;EACA;;EAEA;;KAGW;;EAEX;;EAEA;;;;;EAKA,MAAM,SAAS;;EAEf,WAAW,OAAO;;;;;;;wBAuMH,eAAe,SAAS,wBAAwB;;;KCrSpD,wBAAwB,KAAK;;EAExC;;;wBAIe,kBACf,gBACG,WACD,wBAAwB,QAAQ;qBAItB,kBAAkB,MAAI"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { declaredDependencies, listReferences, listReferences as listReferences$1, packageDir, parseReferenceName,
|
|
1
|
+
import { declaredDependencies, listReferences, listReferences as listReferences$1, packageDir, parseReferenceName, referenceLayers as referenceLayers$1, referenceNames, repoReferencesDir, resolveReference, searchReferences, skillsDirectories } from "cyber-agentkit";
|
|
2
2
|
import { cpSync, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, rmSync, statSync, symlinkSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { cli, command, t } from "clibuilder";
|
|
4
4
|
import { CliError, document, exitCodes, isCliError, printAnswer, result } from "clibuilder/axi";
|
|
@@ -2993,7 +2993,7 @@ function layersFor(args) {
|
|
|
2993
2993
|
});
|
|
2994
2994
|
return args["overrides-only"] ? overrideLayers(layers) : layers;
|
|
2995
2995
|
}
|
|
2996
|
-
const GOVERNANCE_DEPRECATED = "warning: \"governance\" is deprecated and will be removed in the next major version; use \"reference
|
|
2996
|
+
const GOVERNANCE_DEPRECATED = "warning: \"governance\" is deprecated and will be removed in the next major version; use \"reference load|list\" instead.\n";
|
|
2997
2997
|
const DEPRECATED_MANAGED = "deprecated — move these documents to the managed layer above";
|
|
2998
2998
|
const rootOption = {
|
|
2999
2999
|
description: "Repository or package directory. Defaults to the current directory.",
|
|
@@ -3076,14 +3076,20 @@ const governanceCommand = command({
|
|
|
3076
3076
|
});
|
|
3077
3077
|
//#endregion
|
|
3078
3078
|
//#region src/initialize-harnesses/initialize-harnesses.ts
|
|
3079
|
+
/** Git does not track an empty directory, so an empty one gets a `.gitkeep` to survive a commit and clone. */
|
|
3080
|
+
function keepWhenEmpty(directory) {
|
|
3081
|
+
if (readdirSync(directory).length === 0) writeFileSync(join(directory, ".gitkeep"), "");
|
|
3082
|
+
}
|
|
3079
3083
|
function initializeHarnesses({ root, harnesses: preferred = [], copy = false, force = false }) {
|
|
3080
3084
|
const canonicalSkills = join(root, ".agents", "skills");
|
|
3081
3085
|
const skills = countSkills(canonicalSkills);
|
|
3082
|
-
mkdirSync(
|
|
3086
|
+
mkdirSync(repoReferencesDir(root), { recursive: true });
|
|
3083
3087
|
const references = referenceNames([{
|
|
3084
|
-
tier: "
|
|
3085
|
-
dir:
|
|
3088
|
+
tier: "repo",
|
|
3089
|
+
dir: repoReferencesDir(root)
|
|
3086
3090
|
}]).length;
|
|
3091
|
+
keepWhenEmpty(canonicalSkills);
|
|
3092
|
+
keepWhenEmpty(repoReferencesDir(root));
|
|
3087
3093
|
const harnesses = selectHarnesses(root, preferred);
|
|
3088
3094
|
const { linked, skipped } = projectSkills({
|
|
3089
3095
|
root,
|
|
@@ -3941,14 +3947,14 @@ function app(format) {
|
|
|
3941
3947
|
}
|
|
3942
3948
|
const textByDefault = {
|
|
3943
3949
|
reference: [
|
|
3944
|
-
"
|
|
3950
|
+
"load",
|
|
3945
3951
|
"create",
|
|
3946
3952
|
"delete"
|
|
3947
3953
|
],
|
|
3948
3954
|
governance: ["show"]
|
|
3949
3955
|
};
|
|
3950
3956
|
/**
|
|
3951
|
-
* `reference
|
|
3957
|
+
* `reference load|create|delete` and `governance show` answer in `text` unless `--format` says
|
|
3952
3958
|
* otherwise; every other command answers in `toon`. clibuilder has one global `--format` default,
|
|
3953
3959
|
* so it is chosen from the command the argv names.
|
|
3954
3960
|
*/
|