Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 18:30 UTC
fix(cli): match setup skill to running release
Kshitij Jhunjhunwala committed
Jul 13, 2026 at 17:49 UTC
28c9dd7dc7521d3ce0be99268e22c3c1383e188a
2 files changed
+12
-2
ts/packages/cli/src/services/setup-skill-installer.ts
+2
-2
@@ -1,7 +1,7 @@
1
import { FileSystem } from '@effect/platform';
2
import { Effect } from 'effect';
3
import path from 'node:path';
4
-import { inferSkillReleaseChannel, installSkill } from 'src/effects/install-skill';
4
+import { installSkill } from 'src/effects/install-skill';
5
import { APP_VERSION } from 'src/constants';
6
import { NodeOs } from './node-os';
7
@@ -22,7 +22,7 @@ export class SetupSkillInstaller extends Effect.Service<SetupSkillInstaller>()(
22
23
yield* installSkill({
24
target: 'claude',
25
- channel: inferSkillReleaseChannel(APP_VERSION),
25
+ releaseTag: `@composio/cli@${APP_VERSION}`,
26
});
27
return true;
28
}),
ts/packages/cli/test/src/effects/install-skill.test.ts
+10
@@ -80,6 +80,16 @@ describe('install-skill', () => {
80
).toBe('/tmp/test-home/.openclaw/skills/composio-cli');
81
});
82
83
+ it('prefers an explicit running release tag over channel discovery', async () => {
84
+ const releaseTag = '@composio/cli@0.3.0-beta.123';
85
+ const tag = await makeResolveEffect([], {
86
+ channel: 'stable',
87
+ releaseTag,
88
+ }).pipe(Effect.runPromise);
89
+
90
+ expect(tag).toBe(releaseTag);
91
+ });
92
+
93
it('resolves the latest stable release when the stable channel is requested', async () => {
94
vi.stubGlobal('Bun', { which: vi.fn(() => null) });
95