@tiny-fish/cli 0.41.2-next.330 → 0.42.1-next.332

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.
@@ -1,5 +1,5 @@
1
1
  /** The `skills` CLI's own agent names, not ours. */
2
- export type SkillAgent = 'claude-code' | 'codex' | 'cursor' | 'hermes-agent' | 'opencode' | 'pi';
2
+ export type SkillAgent = 'claude-code' | 'codex' | 'command-code' | 'cursor' | 'hermes-agent' | 'opencode' | 'pi';
3
3
  export interface HarnessSupportCheck {
4
4
  args: string[];
5
5
  /** Missing → nothing can work; setup fails. */
@@ -140,6 +140,7 @@ export declare const HARNESS_SPECS: {
140
140
  displayName: string;
141
141
  configDir: string;
142
142
  reloadAction: string;
143
+ skillAgent: "command-code";
143
144
  supportCheck: {
144
145
  args: string[];
145
146
  patterns: RegExp[];
@@ -118,6 +118,7 @@ export const HARNESS_SPECS = {
118
118
  displayName: 'Command Code',
119
119
  configDir: '.commandcode',
120
120
  reloadAction: 'restart it',
121
+ skillAgent: 'command-code',
121
122
  // add-json is the only command this harness uses, so it is what must exist.
122
123
  supportCheck: {
123
124
  args: ['mcp', '--help'],
@@ -15,6 +15,8 @@ const SKILL_DIR_BY_AGENT = {
15
15
  // The env value, not resolveHermesHome(): skills@1.5.15 reads $HERMES_HOME directly.
16
16
  'hermes-agent': () => path.join(agentHome('HERMES_HOME', '.hermes'), 'skills'),
17
17
  codex: canonicalSkillsDir,
18
+ // Not the canonical dir: `skills` writes this one under the harness's own config dir.
19
+ 'command-code': () => path.join(os.homedir(), '.commandcode', 'skills'), // nosemgrep: path-join-resolve-traversal -- fixed dir names under os.homedir()
18
20
  cursor: canonicalSkillsDir,
19
21
  opencode: canonicalSkillsDir,
20
22
  // `skills` writes pi's here whatever PI_CODING_AGENT_DIR says.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiny-fish/cli",
3
- "version": "0.41.2-next.330",
3
+ "version": "0.42.1-next.332",
4
4
  "description": "TinyFish CLI — run web automations from your terminal",
5
5
  "type": "module",
6
6
  "bin": {