@a5c-ai/babysitter-opencode 5.0.1-staging.e4c68b9b → 5.0.1-staging.ef4e872c

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.
@@ -13,7 +13,7 @@ function getUserHome() {
13
13
  }
14
14
 
15
15
  function getHarnessHome() {
16
- return path.join(os.homedir(), '.opencode');
16
+ return path.join(os.homedir(), ".opencode");
17
17
  }
18
18
 
19
19
  function getHomePluginRoot(scope) {
@@ -369,7 +369,7 @@ function mergeHooksConfig(packageRoot, openCodeHome) {
369
369
  const normalizedScript = relativeScript.replace(/\\/g, '/').replace(/^\.\//, '');
370
370
  return {
371
371
  ...entry,
372
- script: `npx -y @a5c-ai/hooks-mux-cli invoke --adapter opencode --handler "node ./plugins/${PLUGIN_NAME}/${normalizedScript}" --json`,
372
+ script: `npx -y -p @a5c-ai/hooks-mux-cli -c "a5c-hooks-mux invoke --adapter opencode --handler 'node ./plugins/${PLUGIN_NAME}/${normalizedScript}' --json"`,
373
373
  };
374
374
  }
375
375
  if (entry.command) {
@@ -593,20 +593,20 @@ module.exports = {
593
593
  runCli,
594
594
  ensureGlobalProcessLibrary,
595
595
  PLUGIN_BUNDLE_ENTRIES,
596
- HOOK_SCRIPT_NAMES,
596
+ copyRecursive,
597
+ copyPluginBundle,
597
598
  DEFAULT_MARKETPLACE,
599
+ normalizeMarketplaceSourcePath,
600
+ normalizeMarketplaceName,
601
+ ensureMarketplaceEntry,
602
+ removeMarketplaceEntry,
603
+ HOOK_SCRIPT_NAMES,
598
604
  getOpenCodeHome,
599
605
  getHomePluginRoot,
600
606
  getHomeMarketplacePath,
601
- copyRecursive,
602
- copyPluginBundle,
603
607
  writeIndexJs,
604
608
  mergeHooksConfig,
605
609
  removeManagedHooks,
606
- normalizeMarketplaceName,
607
- normalizeMarketplaceSourcePath,
608
- ensureMarketplaceEntry,
609
- removeMarketplaceEntry,
610
610
  getAccomplishDataDir,
611
611
  isAccomplishInstalled,
612
612
  getAccomplishOpenCodeHome,
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a5c-ai/babysitter-opencode",
3
- "version": "5.0.1-staging.e4c68b9b",
3
+ "version": "5.0.1-staging.ef4e872c",
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
6
  "deploy": "npm publish --access public",
@@ -36,11 +36,15 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@a5c-ai/babysitter-sdk": "5.0.1-staging.e4c68b9b"
39
+ "@a5c-ai/babysitter-sdk": "5.0.1-staging.ef4e872c"
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",
43
- "url": "https://github.com/a5c-ai/babysitter"
43
+ "url": "git+https://github.com/a5c-ai/babysitter.git",
44
+ "directory": "plugins/babysitter-opencode"
44
45
  },
45
- "homepage": "https://github.com/a5c-ai/babysitter/tree/main/plugins/babysitter-opencode#readme"
46
+ "homepage": "https://github.com/a5c-ai/babysitter/tree/main/plugins/babysitter-opencode#readme",
47
+ "bugs": {
48
+ "url": "https://github.com/a5c-ai/babysitter/issues"
49
+ }
46
50
  }
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babysitter",
3
- "version": "5.0.1-staging.e4c68b9b",
3
+ "version": "5.0.1-staging.ef4e872c",
4
4
  "description": "Orchestrate complex, multi-step workflows with event-sourced state management, hook-based extensibility, and human-in-the-loop approval",
5
5
  "author": "a5c.ai",
6
6
  "license": "MIT",
package/versions.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "sdkVersion": "5.0.1-staging.e4c68b9b",
3
- "pluginVersion": "0.1.0"
2
+ "sdkVersion": "5.0.1-staging.ef4e872c",
3
+ "extensionVersion": "5.0.0"
4
4
  }