@humanu/orchestra 0.5.29 → 0.5.31
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/install.js +27 -3
- package/package.json +1 -1
- package/resources/prebuilt/linux-x64/orchestra +0 -0
- package/resources/prebuilt/macos-arm64/orchestra +0 -0
- package/resources/prebuilt/macos-intel/orchestra +0 -0
- package/resources/scripts/gw-bridge.sh +50 -1024
- package/resources/scripts/gw.sh +25 -19
- package/resources/scripts/gwr.sh +41 -139
- package/resources/scripts/shell/bridge/ai.sh +175 -0
- package/resources/scripts/shell/bridge/copy_env.sh +84 -0
- package/resources/scripts/shell/bridge/tmux.sh +162 -0
- package/resources/scripts/shell/bridge/utils.sh +449 -0
- package/resources/scripts/shell/build/build_bridge.sh +17 -0
- package/resources/scripts/shell/build/build_dependencies.sh +23 -0
- package/resources/scripts/shell/build/build_install.sh +7 -0
- package/resources/scripts/shell/build/build_load.sh +10 -0
- package/resources/scripts/shell/build/build_logging.sh +6 -0
- package/resources/scripts/shell/build/build_rust.sh +18 -0
- package/resources/scripts/shell/build/build_usage.sh +27 -0
- package/resources/scripts/shell/env/copy_env_command.sh +27 -0
- package/resources/scripts/shell/env/copy_env_constants.sh +3 -0
- package/resources/scripts/shell/env/copy_env_core.sh +171 -0
- package/resources/scripts/shell/env/copy_env_debug_parse.sh +14 -0
- package/resources/scripts/shell/env/copy_env_load.sh +9 -0
- package/resources/scripts/shell/env/copy_env_locations.sh +34 -0
- package/resources/scripts/shell/env/copy_env_logging.sh +17 -0
- package/resources/scripts/shell/env/copy_env_state.sh +5 -0
- package/resources/scripts/shell/fix_hanging_colors.sh +9 -0
- package/resources/scripts/shell/fix_hanging_load.sh +9 -0
- package/resources/scripts/shell/fix_hanging_logging.sh +6 -0
- package/resources/scripts/shell/fix_hanging_script.sh +19 -0
- package/resources/scripts/shell/fix_hanging_steps.sh +81 -0
- package/resources/scripts/shell/git/bridge_check_branch.sh +53 -0
- package/resources/scripts/shell/git/bridge_create_worktree.sh +35 -0
- package/resources/scripts/shell/git/bridge_create_worktree_from_existing.sh +32 -0
- package/resources/scripts/shell/git/bridge_create_worktree_from_remote.sh +28 -0
- package/resources/scripts/shell/git/bridge_delete_branch_only.sh +25 -0
- package/resources/scripts/shell/git/bridge_delete_worktree.sh +26 -0
- package/resources/scripts/shell/git/bridge_delete_worktree_only.sh +28 -0
- package/resources/scripts/shell/git/bridge_enhanced_git_status.sh +106 -0
- package/resources/scripts/shell/git/bridge_git_status.sh +13 -0
- package/resources/scripts/shell/git/bridge_list_worktrees.sh +12 -0
- package/resources/scripts/shell/git/bridge_merge.sh +12 -0
- package/resources/scripts/shell/git/bridge_merge_from_primary.sh +112 -0
- package/resources/scripts/shell/git/bridge_merge_into_primary.sh +116 -0
- package/resources/scripts/shell/git/bridge_primary_branch.sh +15 -0
- package/resources/scripts/shell/git/bridge_rebase_from_primary.sh +72 -0
- package/resources/scripts/shell/git/bridge_repo.sh +12 -0
- package/resources/scripts/shell/git/bridge_repo_info.sh +23 -0
- package/resources/scripts/shell/git/bridge_squash_into_primary.sh +144 -0
- package/resources/scripts/shell/git/bridge_switch_worktree.sh +23 -0
- package/resources/scripts/shell/git/bridge_worktree.sh +17 -0
- package/resources/scripts/shell/git/checkout_worktree.sh +68 -0
- package/resources/scripts/shell/git/create_worktree.sh +23 -0
- package/resources/scripts/shell/git/delete_worktree.sh +27 -0
- package/resources/scripts/shell/git/gwr_worktree_title.sh +29 -0
- package/resources/scripts/shell/git/list_worktrees.sh +22 -0
- package/resources/scripts/shell/git/merge.sh +12 -0
- package/resources/scripts/shell/git/repo.sh +12 -0
- package/resources/scripts/shell/git/status.sh +21 -0
- package/resources/scripts/shell/git/worktree.sh +17 -0
- package/resources/scripts/shell/gw_debug.sh +3 -0
- package/resources/scripts/shell/gw_err.sh +3 -0
- package/resources/scripts/shell/gw_have_cmd.sh +3 -0
- package/resources/scripts/shell/gw_info.sh +3 -0
- package/resources/scripts/shell/gw_legacy_wrappers.sh +7 -0
- package/resources/scripts/shell/gw_load.sh +9 -0
- package/resources/scripts/shell/gwr_binary.sh +25 -0
- package/resources/scripts/shell/gwr_bridge.sh +10 -0
- package/resources/scripts/shell/gwr_colors.sh +7 -0
- package/resources/scripts/shell/gwr_git.sh +8 -0
- package/resources/scripts/shell/gwr_load.sh +12 -0
- package/resources/scripts/shell/gwr_logging.sh +6 -0
- package/resources/scripts/shell/gwr_terminal.sh +13 -0
- package/resources/scripts/shell/gwr_usage.sh +49 -0
- package/resources/scripts/shell/orchestra-command-hook.sh +109 -0
- package/resources/scripts/shell/orchestra-local.sh +87 -0
- package/resources/scripts/commands.sh +0 -208
package/install.js
CHANGED
|
@@ -5,7 +5,8 @@ const fs = require('fs');
|
|
|
5
5
|
const path = require('path');
|
|
6
6
|
|
|
7
7
|
const BINARY_NAME = 'orchestra';
|
|
8
|
-
const SHELL_SCRIPTS = ['gwr.sh', 'gw.sh', 'gw-bridge.sh', '
|
|
8
|
+
const SHELL_SCRIPTS = ['gwr.sh', 'gw.sh', 'gw-bridge.sh', 'copy_env.sh', 'orchestra-local.sh'];
|
|
9
|
+
const SHELL_DIRS = ['shell'];
|
|
9
10
|
const SUPPORTED_PLATFORMS = {
|
|
10
11
|
'darwin-x64': 'macos-intel',
|
|
11
12
|
'darwin-arm64': 'macos-arm64',
|
|
@@ -46,6 +47,20 @@ function getPlatformKey() {
|
|
|
46
47
|
return mapped;
|
|
47
48
|
}
|
|
48
49
|
|
|
50
|
+
function copyRecursive(src, dest) {
|
|
51
|
+
const stats = fs.statSync(src);
|
|
52
|
+
if (stats.isDirectory()) {
|
|
53
|
+
ensureDir(dest);
|
|
54
|
+
for (const entry of fs.readdirSync(src)) {
|
|
55
|
+
copyRecursive(path.join(src, entry), path.join(dest, entry));
|
|
56
|
+
}
|
|
57
|
+
} else {
|
|
58
|
+
ensureDir(path.dirname(dest));
|
|
59
|
+
fs.copyFileSync(src, dest);
|
|
60
|
+
fs.chmodSync(dest, 0o755);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
49
64
|
function copyShellScripts() {
|
|
50
65
|
let sourceBase = scriptsDir;
|
|
51
66
|
if (!fs.existsSync(sourceBase)) {
|
|
@@ -63,8 +78,17 @@ function copyShellScripts() {
|
|
|
63
78
|
process.exit(1);
|
|
64
79
|
}
|
|
65
80
|
const destinationPath = path.join(distDir, script);
|
|
66
|
-
|
|
67
|
-
|
|
81
|
+
copyRecursive(sourcePath, destinationPath);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
for (const dirName of SHELL_DIRS) {
|
|
85
|
+
const sourcePath = path.join(sourceBase, dirName);
|
|
86
|
+
if (!fs.existsSync(sourcePath)) {
|
|
87
|
+
console.error(`Required shell directory missing: ${sourcePath}`);
|
|
88
|
+
process.exit(1);
|
|
89
|
+
}
|
|
90
|
+
const destinationPath = path.join(distDir, dirName);
|
|
91
|
+
copyRecursive(sourcePath, destinationPath);
|
|
68
92
|
}
|
|
69
93
|
}
|
|
70
94
|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|