@madebywild/agent-harness-framework 1.3.0 → 1.3.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/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @madebywild/agent-harness-framework
2
2
 
3
- CLI and engine for [Agent Harness](https://github.com/madebywild/agent-harness) — unified AI agent configuration management for Claude Code, GitHub Copilot, and OpenAI Codex.
3
+ CLI and engine for [Agent Harness](https://github.com/madebywild/agent-harness) — unified AI agent configuration management for Claude Code, GitHub Copilot, and OpenAI Codex. The Shadcn for agent harnesses.
4
4
 
5
- Agent Harness manages agent configurations (system prompts, skills, MCP servers, subagents, and lifecycle hooks) from a single source of truth in a `.harness/` directory and generates provider-specific outputs for each enabled provider.
5
+ Agent Harness manages agent configurations (system prompts, skills, MCP servers, subagents, and lifecycle hooks) from a single source of truth in a `.harness/` directory and generates provider-specific outputs for each enabled provider. Like [shadcn/ui](https://ui.shadcn.com/) does for UI components, entities can be pulled from external git registries as full, editable source code — no opaque library imports, complete transparency and ownership.
6
6
 
7
7
  ## Installation
8
8
 
@@ -91,7 +91,7 @@ npx harness provider disable <provider> # Disable a provider
91
91
 
92
92
  ### Registry management
93
93
 
94
- Registries are shared collections of entities that can be imported into any workspace via git.
94
+ Registries are shared collections of entities that can be pulled into any workspace via git — like Shadcn, entities are copied as full source code into your project, not installed as opaque dependencies.
95
95
 
96
96
  ```bash
97
97
  npx harness registry list # List configured registries
@@ -1 +1 @@
1
- {"version":3,"file":"delegated-init.d.ts","sourceRoot":"","sources":["../src/delegated-init.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAErE,eAAO,MAAM,wBAAwB,aAAa,CAAC;AAenD,wBAAgB,6BAA6B,IAAI,MAAM,CAwBtD;AAED,wBAAgB,sBAAsB,IAAI,MAAM,CAS/C;AAED,UAAU,kBAAkB;IAC1B,IAAI,CAAC,KAAK,EAAE,O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AAG,IAAI,CAAC;CACnG;AAED,KAAK,SAAS,GAAG,CACf,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,OAAO,EAAE;IACP,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IACvB,KAAK,EAAE,SAAS,CAAC;CAClB,KACE,kBAAkB,CAAC;AAExB,wBAAgB,mBAAmB,CACjC,KAAK,EAAE;IACL,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IACvB,QAAQ,EAAE,UAAU,CAAC;CACtB,EACD,SAAS,GAAE,SAA0E,GACpF,OAAO,CAAC,IAAI,CAAC,CAsBf"}
@@ -3,13 +3,17 @@ export const DELEGATED_INIT_PRESET_ID = "delegate";
3
3
  /**
4
4
  * Provider-specific CLI invocation details.
5
5
  *
6
- * - claude: `claude -p <task>` runs non-interactively (print mode).
7
- * - codex: `codex exec <task>` runs non-interactively.
8
- * - copilot: `copilot -p <task>` runs non-interactively (prompt mode).
6
+ * Each provider needs both a non-interactive flag AND a permission-bypass flag,
7
+ * because print/exec modes still enforce tool-use permissions by default the
8
+ * agent sees what to do but cannot actually write files or run commands.
9
+ *
10
+ * - claude: `claude -p --dangerously-skip-permissions <task>`
11
+ * - codex: `codex exec --full-auto <task>`
12
+ * - copilot: `copilot -p <task>` (no known permission flag yet)
9
13
  */
10
14
  const DELEGATED_INIT_COMMANDS = {
11
- claude: { binary: "claude", buildArgs: (task) => ["-p", task] },
12
- codex: { binary: "codex", buildArgs: (task) => ["exec", task] },
15
+ claude: { binary: "claude", buildArgs: (task) => ["-p", "--dangerously-skip-permissions", task] },
16
+ codex: { binary: "codex", buildArgs: (task) => ["exec", "--full-auto", task] },
13
17
  copilot: { binary: "copilot", buildArgs: (task) => ["-p", task] },
14
18
  };
15
19
  export function buildDelegatedBootstrapPrompt() {
@@ -1 +1 @@
1
- {"version":3,"file":"delegated-init.js","source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AI,SAAS,EAAE,CAAC;YAC9E,MAAM,CAAC,IAAI,KAAK,CAAC,0BAA0B,MAAM,iBAAiB,MAAM,EAAE,CAAC,CAAC,CAAC;QAC/E,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madebywild/agent-harness-framework",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",
@@ -43,7 +43,7 @@
43
43
  "gray-matter": "^4.0.3",
44
44
  "ora": "^9.3.0",
45
45
  "yaml": "^2.8.2",
46
- "@madebywild/agent-harness-manifest": "1.3.0"
46
+ "@madebywild/agent-harness-manifest": "1.3.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^25.5.0",