agent-takkub 2.1.44 → 2.1.45

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.
@@ -109,12 +109,10 @@ function createMac() {
109
109
  const userAppPath = path.join(userAppsDir, 'Takkub Cockpit.app');
110
110
  try {
111
111
  fs.mkdirSync(userAppsDir, { recursive: true });
112
- // Remove any existing copy first so a re-run overwrites cleanly instead
113
- // of merging with (possibly stale) files from a prior install.
114
- if (fs.existsSync(userAppPath)) {
115
- fs.rmSync(userAppPath, { recursive: true, force: true });
116
- }
117
- spawnSync('cp', ['-R', appDir, userAppsDir], { stdio: 'ignore' });
112
+ // Keep the bundle directory itself: Dock pins can reference its identity
113
+ // across npm updates. Replace contents in place instead of deleting and
114
+ // recreating the .app on every postinstall.
115
+ fs.cpSync(appDir, userAppPath, { recursive: true, force: true });
118
116
  } catch (_e) {
119
117
  /* best-effort */
120
118
  }
@@ -133,4 +131,4 @@ function create() {
133
131
  return null;
134
132
  }
135
133
 
136
- module.exports = { create };
134
+ module.exports = { create, createMac };
package/package.json CHANGED
@@ -1,50 +1,50 @@
1
- {
2
- "name": "agent-takkub",
3
- "version": "2.1.44",
4
- "description": "Desktop cockpit for orchestrating a team of Claude Code agents (Windows + macOS). Install globally: npm i -g agent-takkub",
5
- "keywords": [
6
- "claude",
7
- "claude-code",
8
- "ai-agents",
9
- "agent-orchestration",
10
- "cockpit",
11
- "desktop",
12
- "cli",
13
- "developer-tools"
14
- ],
15
- "author": "takkub",
16
- "repository": {
17
- "type": "git",
18
- "url": "git+https://github.com/takkub/agent-takkub.git"
19
- },
20
- "homepage": "https://github.com/takkub/agent-takkub#readme",
21
- "bugs": {
22
- "url": "https://github.com/takkub/agent-takkub/issues"
23
- },
24
- "bin": {
25
- "agent-takkub": "npm/bin/agent-takkub.js",
26
- "takkub": "npm/bin/takkub.js"
27
- },
28
- "scripts": {
29
- "postinstall": "node npm/scripts/postinstall.js",
30
- "prepublishOnly": "node npm/scripts/preflight-publish.js",
31
- "test": "node --test npm/scripts/*.test.js"
32
- },
33
- "files": [
34
- "npm/",
35
- "!npm/scripts/*.test.js",
36
- "dist/*.whl",
37
- "assets/icon.ico",
38
- "assets/icon.png",
39
- "assets/cockpit-main.png"
40
- ],
41
- "os": [
42
- "win32",
43
- "darwin"
44
- ],
45
- "engines": {
46
- "node": ">=18"
47
- },
48
- "engines-note": "This floor is for agent-takkub itself. The OPTIONAL graft code-intelligence feature (installed separately via `takkub doctor --fix`, not an npm dependency of this package) needs Node >=20 — see README's Requirements section. Not raised here because it would force the >=20 floor onto every user even though graft stays off until explicitly enabled.",
49
- "license": "MIT"
50
- }
1
+ {
2
+ "name": "agent-takkub",
3
+ "version": "2.1.45",
4
+ "description": "Desktop cockpit for orchestrating a team of Claude Code agents (Windows + macOS). Install globally: npm i -g agent-takkub",
5
+ "keywords": [
6
+ "claude",
7
+ "claude-code",
8
+ "ai-agents",
9
+ "agent-orchestration",
10
+ "cockpit",
11
+ "desktop",
12
+ "cli",
13
+ "developer-tools"
14
+ ],
15
+ "author": "takkub",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/takkub/agent-takkub.git"
19
+ },
20
+ "homepage": "https://github.com/takkub/agent-takkub#readme",
21
+ "bugs": {
22
+ "url": "https://github.com/takkub/agent-takkub/issues"
23
+ },
24
+ "bin": {
25
+ "agent-takkub": "npm/bin/agent-takkub.js",
26
+ "takkub": "npm/bin/takkub.js"
27
+ },
28
+ "scripts": {
29
+ "postinstall": "node npm/scripts/postinstall.js",
30
+ "prepublishOnly": "node npm/scripts/preflight-publish.js",
31
+ "test": "node --test npm/scripts/*.test.js"
32
+ },
33
+ "files": [
34
+ "npm/",
35
+ "!npm/scripts/*.test.js",
36
+ "dist/*.whl",
37
+ "assets/icon.ico",
38
+ "assets/icon.png",
39
+ "assets/cockpit-main.png"
40
+ ],
41
+ "os": [
42
+ "win32",
43
+ "darwin"
44
+ ],
45
+ "engines": {
46
+ "node": ">=18"
47
+ },
48
+ "engines-note": "This floor is for agent-takkub itself. The OPTIONAL graft code-intelligence feature (installed separately via `takkub doctor --fix`, not an npm dependency of this package) needs Node >=20 — see README's Requirements section. Not raised here because it would force the >=20 floor onto every user even though graft stays off until explicitly enabled.",
49
+ "license": "MIT"
50
+ }