@cardor/agent-harness-kit 1.6.7 → 1.6.8

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
@@ -151,7 +151,7 @@ ahk init
151
151
 
152
152
  ### `ahk init`
153
153
 
154
- Interactive scaffold. Asks for your project name, description, AI provider, whether to install globally, docs path, task adapter, and an optional first task. Creates all harness files in the current directory (or home directory if global).
154
+ Interactive scaffold. Asks for your project name, description, AI provider, docs path, task adapter, and an optional first task. Creates all harness files in the current directory.
155
155
 
156
156
  ```bash
157
157
  ahk init
@@ -163,8 +163,6 @@ ahk init --name "my-app" --provider codex-cli --docs ./docs --tasks local
163
163
 
164
164
  Run this once per project. Safe to re-run — it will not overwrite files you've customized.
165
165
 
166
- **Global installation** — if you answer yes to "Install globally?", files go to `~/.claude` (Claude Code), `~/.config/opencode` (OpenCode), or `~/.codex` (Codex CLI). This lets you share one harness config across all your projects.
167
-
168
166
  ---
169
167
 
170
168
  ### `ahk build`
package/dist/cli.js CHANGED
@@ -1871,7 +1871,6 @@ function getProviderHealthFiles(provider) {
1871
1871
 
1872
1872
  // src/commands/init.ts
1873
1873
  import { mkdirSync as mkdirSync8, writeFileSync as writeFileSync9 } from "fs";
1874
- import { homedir } from "os";
1875
1874
  import { join as join12 } from "path";
1876
1875
  import * as p3 from "@clack/prompts";
1877
1876
  import pc6 from "picocolors";
@@ -2066,18 +2065,6 @@ async function runInit(cwd2, flags) {
2066
2065
  }
2067
2066
  provider = val;
2068
2067
  }
2069
- let globalInstallation = false;
2070
- const globalVal = await p3.confirm({
2071
- message: "Install globally (to home directory)?",
2072
- initialValue: false
2073
- });
2074
- if (p3.isCancel(globalVal)) {
2075
- p3.cancel("Cancelled.");
2076
- process.exit(0);
2077
- }
2078
- if (globalVal) {
2079
- globalInstallation = true;
2080
- }
2081
2068
  let docsPath;
2082
2069
  if (flags.docs) {
2083
2070
  docsPath = flags.docs;
@@ -2152,14 +2139,7 @@ async function runInit(cwd2, flags) {
2152
2139
  try {
2153
2140
  const config = applyConfigDefaults({ name, description, provider, docsPath, tasksAdapter });
2154
2141
  const materializer = getMaterializer(provider);
2155
- let installDir = cwd2;
2156
- if (globalInstallation) {
2157
- if (provider === "claude-code") {
2158
- installDir = join12(homedir(), ".claude");
2159
- } else {
2160
- installDir = join12(homedir(), ".config", "opencode");
2161
- }
2162
- }
2142
+ const installDir = cwd2;
2163
2143
  const configContent = configTs({
2164
2144
  name,
2165
2145
  description,
@@ -2188,8 +2168,7 @@ async function runInit(cwd2, flags) {
2188
2168
  p3.log.error(err instanceof Error ? err.message : String(err));
2189
2169
  throw err;
2190
2170
  }
2191
- const agentHarnessKitDir = globalInstallation ? "home directory" : "current directory";
2192
- console.log(pc6.green(`\u2713 Scaffolded harness in ${agentHarnessKitDir}`));
2171
+ console.log(pc6.green("\u2713 Scaffolded harness in current directory"));
2193
2172
  const agentsDir = provider === "claude-code" ? ".claude/agents/" : ".opencode/agents/";
2194
2173
  const mcpFile = provider === "claude-code" ? ".claude/mcp.json" : "./opencode.json";
2195
2174
  console.log("");