@a5c-ai/babysitter-codex 5.0.1-staging.ae07dd8d → 5.0.1-staging.aedcb38c

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.
@@ -20,7 +20,7 @@
20
20
  "LLM"
21
21
  ],
22
22
  "skills": "./skills/",
23
- "hooks": "./hooks/hooks.json",
23
+ "hooks": "./hooks.json",
24
24
  "apps": "./.app.json",
25
25
  "interface": {
26
26
  "displayName": "Babysitter",
@@ -13,16 +13,16 @@ function getUserHome() {
13
13
  }
14
14
 
15
15
  function getHarnessHome() {
16
- return path.join(os.homedir(), '.codex');
16
+ return path.join(os.homedir(), ".codex");
17
17
  }
18
18
 
19
19
  function getHomePluginRoot(scope) {
20
20
  if (scope === 'workspace') return path.join(process.cwd(), '.a5c', 'plugins', PLUGIN_NAME);
21
- return path.join(path.join(os.homedir(), '.agents', 'plugins'), PLUGIN_NAME);
21
+ return path.join(path.join(os.homedir(), ".agents/plugins"), PLUGIN_NAME);
22
22
  }
23
23
 
24
24
  function getHomeMarketplacePath() {
25
- return path.join(os.homedir(), '.agents', 'plugins', 'marketplace.json');
25
+ return path.join(os.homedir(), ".agents/plugins/marketplace.json");
26
26
  }
27
27
 
28
28
  function writeFileIfChanged(filePath, contents) {
@@ -771,21 +771,28 @@ module.exports = {
771
771
  resolveCliCommand,
772
772
  runCli,
773
773
  ensureGlobalProcessLibrary,
774
+ PLUGIN_BUNDLE_ENTRIES,
775
+ copyRecursive,
776
+ copyPluginBundle,
777
+ DEFAULT_MARKETPLACE,
778
+ normalizeMarketplaceSourcePath,
779
+ ensureMarketplaceEntry,
780
+ removeMarketplaceEntry,
781
+ installManagedSkills,
782
+ mergeManagedHooksConfig,
783
+ installManagedHooks,
784
+ warnWindowsHooks,
774
785
  LEGACY_MARKETPLACE_PLUGIN_NAMES,
775
786
  LEGACY_SKILL_NAMES,
776
787
  LEGACY_PROMPT_NAMES,
777
788
  LEGACY_HOOK_SCRIPT_NAMES,
778
789
  MANAGED_HOOK_SCRIPT_NAMES,
779
- DEFAULT_MARKETPLACE,
780
- PLUGIN_BUNDLE_ENTRIES,
781
790
  getCodexHome,
782
791
  getHomePluginRoot,
783
792
  getHomeMarketplacePath,
784
793
  getWorkspacePluginRoot,
785
794
  getWorkspaceMarketplacePath,
786
795
  renderCodexConfigToml,
787
- copyRecursive,
788
- copyPluginBundle,
789
796
  insertRootKey,
790
797
  ensureSectionLine,
791
798
  ensureWritableRoots,
@@ -795,15 +802,8 @@ module.exports = {
795
802
  runBabysitterCli,
796
803
  ensureGlobalProcessLibrary,
797
804
  getMarketplaceRootDir,
798
- normalizeMarketplaceSourcePath,
799
- ensureMarketplaceEntry,
800
- removeMarketplaceEntry,
801
805
  removeLegacyCodexSurface,
802
- installManagedSkills,
803
- mergeManagedHooksConfig,
804
- installManagedHooks,
805
806
  installCodexSurface,
806
807
  harnessInstall,
807
808
  harnessTeamInstall,
808
- warnWindowsHooks,
809
809
  };
package/bin/uninstall.js CHANGED
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- const path = require('path');
5
4
  const fs = require('fs');
6
5
  const shared = require('./install-shared');
7
6
 
package/hooks.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "hooks": [
7
7
  {
8
8
  "type": "command",
9
- "command": "npx -y @a5c-ai/hooks-mux-cli invoke --adapter codex --handler \"bash ./hooks/babysitter-proxied-session-start.sh\" --json"
9
+ "command": "npx -y -p @a5c-ai/hooks-mux-cli -c \"a5c-hooks-mux invoke --adapter codex --handler 'bash ./hooks/babysitter-proxied-session-start.sh' --json\""
10
10
  }
11
11
  ]
12
12
  }
@@ -17,7 +17,7 @@
17
17
  "hooks": [
18
18
  {
19
19
  "type": "command",
20
- "command": "npx -y @a5c-ai/hooks-mux-cli invoke --adapter codex --handler \"bash ./hooks/babysitter-proxied-stop.sh\" --json"
20
+ "command": "npx -y -p @a5c-ai/hooks-mux-cli -c \"a5c-hooks-mux invoke --adapter codex --handler 'bash ./hooks/babysitter-proxied-stop.sh' --json\""
21
21
  }
22
22
  ]
23
23
  }
@@ -28,7 +28,7 @@
28
28
  "hooks": [
29
29
  {
30
30
  "type": "command",
31
- "command": "npx -y @a5c-ai/hooks-mux-cli invoke --adapter codex --handler \"bash ./hooks/babysitter-proxied-user-prompt-submit.sh\" --json"
31
+ "command": "npx -y -p @a5c-ai/hooks-mux-cli -c \"a5c-hooks-mux invoke --adapter codex --handler 'bash ./hooks/babysitter-proxied-user-prompt-submit.sh' --json\""
32
32
  }
33
33
  ]
34
34
  }
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "@a5c-ai/babysitter-codex",
3
- "version": "5.0.1-staging.ae07dd8d",
3
+ "version": "5.0.1-staging.aedcb38c",
4
4
  "description": "Orchestrate complex, multi-step workflows with event-sourced state management, hook-based extensibility, and human-in-the-loop approval",
5
5
  "scripts": {
6
- "test": "node test/integration.test.js && node test/packaged-install.test.js",
7
- "sync:commands": "node scripts/sync-command-skills.js",
6
+ "test": "npm run validate:ci",
7
+ "test:integration": "node test/integration.test.js",
8
+ "test:packaged-install": "node test/packaged-install.test.js",
9
+ "validate:ci": "npm run test:integration && npm run test:packaged-install",
10
+ "team:install": "node scripts/team-install.js",
8
11
  "deploy": "npm publish --access public",
9
- "deploy:staging": "npm publish --access public --tag staging",
10
- "sync:skills": "node scripts/sync-command-skills.js"
12
+ "deploy:staging": "npm publish --access public --tag staging"
11
13
  },
12
14
  "bin": {
13
15
  "babysitter-codex": "bin/cli.js"
@@ -36,9 +38,11 @@
36
38
  },
37
39
  "repository": {
38
40
  "type": "git",
39
- "url": "https://github.com/a5c-ai/babysitter"
41
+ "url": "git+https://github.com/a5c-ai/babysitter.git",
42
+ "directory": "plugins/babysitter-codex"
40
43
  },
41
- "dependencies": {
42
- "@a5c-ai/babysitter-sdk": "5.0.1-staging.ae07dd8d"
44
+ "homepage": "https://github.com/a5c-ai/babysitter/tree/main/plugins/babysitter-codex#readme",
45
+ "bugs": {
46
+ "url": "https://github.com/a5c-ai/babysitter/issues"
43
47
  }
44
48
  }
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  'use strict';
2
3
 
3
4
  const fs = require('fs');
package/hooks/hooks.json DELETED
@@ -1,37 +0,0 @@
1
- {
2
- "hooks": {
3
- "SessionStart": [
4
- {
5
- "matcher": ".*",
6
- "hooks": [
7
- {
8
- "type": "command",
9
- "command": "npx -y @a5c-ai/hooks-mux-cli invoke --adapter codex --handler \"bash ./hooks/babysitter-proxied-session-start.sh\" --json"
10
- }
11
- ]
12
- }
13
- ],
14
- "Stop": [
15
- {
16
- "matcher": ".*",
17
- "hooks": [
18
- {
19
- "type": "command",
20
- "command": "npx -y @a5c-ai/hooks-mux-cli invoke --adapter codex --handler \"bash ./hooks/babysitter-proxied-stop.sh\" --json"
21
- }
22
- ]
23
- }
24
- ],
25
- "UserPromptSubmit": [
26
- {
27
- "matcher": ".*",
28
- "hooks": [
29
- {
30
- "type": "command",
31
- "command": "npx -y @a5c-ai/hooks-mux-cli invoke --adapter codex --handler \"bash ./hooks/babysitter-proxied-user-prompt-submit.sh\" --json"
32
- }
33
- ]
34
- }
35
- ]
36
- }
37
- }