vit 0.5.0 → 0.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vit",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Social toolkit for personalized software",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -11,7 +11,7 @@ description: >-
11
11
 
12
12
  ## 1. Overview
13
13
 
14
- vit is a Bun CLI for social software capabilities. Agents use it to initialize projects, follow accounts, skim caps from followed accounts, and ship new caps. Some commands (login, adopt, vet) require human interaction - the agent should tell the user to run those in their terminal.
14
+ vit is a Node CLI for social software capabilities. Agents use it to initialize projects, follow accounts, skim caps from followed accounts, and ship new caps. Some commands (login, adopt, vet) require human interaction - the agent should tell the user to run those in their terminal.
15
15
 
16
16
  ## 2. Prerequisites
17
17
 
package/src/cmd/init.js CHANGED
@@ -27,7 +27,7 @@ export default function register(program) {
27
27
  jsonError('agent required', 'run vit init from a coding agent');
28
28
  return;
29
29
  }
30
- console.error(`${name} init should be run by a coding agent (e.g. claude code, gemini cli).`);
30
+ console.error(`${name} init should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
31
31
  console.error(`open your agent and ask it to run '${name} init' for you.`);
32
32
  process.exitCode = 1;
33
33
  return;
package/src/cmd/learn.js CHANGED
@@ -247,7 +247,7 @@ Examples:
247
247
  jsonError('agent required', 'run vit learn from a coding agent');
248
248
  return;
249
249
  }
250
- console.error(`${name} learn should be run by a coding agent (e.g. claude code, gemini cli).`);
250
+ console.error(`${name} learn should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
251
251
  console.error(`open your agent and ask it to run '${name} learn' for you.`);
252
252
  process.exitCode = 1;
253
253
  return;
package/src/cmd/remix.js CHANGED
@@ -30,7 +30,7 @@ export default function register(program) {
30
30
  jsonError('agent required', 'run vit remix from a coding agent');
31
31
  return;
32
32
  }
33
- console.error(`${name} remix should be run by a coding agent (e.g. claude code, gemini cli).`);
33
+ console.error(`${name} remix should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
34
34
  console.error(`open your agent and ask it to run '${name} remix' for you.`);
35
35
  process.exitCode = 1;
36
36
  return;
package/src/cmd/ship.js CHANGED
@@ -143,7 +143,7 @@ async function shipSkill(opts) {
143
143
  jsonError('agent required', 'run vit ship --skill from a coding agent');
144
144
  return;
145
145
  }
146
- console.error(`${name} ship --skill should be run by a coding agent (e.g. claude code, gemini cli).`);
146
+ console.error(`${name} ship --skill should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
147
147
  console.error(`open your agent and ask it to run '${name} ship --skill' for you.`);
148
148
  process.exitCode = 1;
149
149
  return;
@@ -352,7 +352,7 @@ async function shipCap(opts) {
352
352
  jsonError('agent required', 'run vit ship from a coding agent');
353
353
  return;
354
354
  }
355
- console.error(`${name} ship should be run by a coding agent (e.g. claude code, gemini cli).`);
355
+ console.error(`${name} ship should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
356
356
  console.error(`open your agent and ask it to run '${name} ship' for you.`);
357
357
  console.error(`refer to the using-vit skill (skills/vit/SKILL.md) for a shipping guide.`);
358
358
  process.exitCode = 1;
package/src/cmd/skim.js CHANGED
@@ -29,7 +29,7 @@ export default function register(program) {
29
29
  try {
30
30
  const gate = requireAgent();
31
31
  if (!gate.ok) {
32
- console.error(`${name} skim should be run by a coding agent (e.g. claude code, gemini cli).`);
32
+ console.error(`${name} skim should be run by a coding agent (e.g. claude code, codex, gemini cli, opencode).`);
33
33
  console.error(`open your agent and ask it to run '${name} skim' for you.`);
34
34
  process.exitCode = 1;
35
35
  return;
package/src/lib/agent.js CHANGED
@@ -5,6 +5,7 @@ const CODING_AGENTS = {
5
5
  CLAUDECODE: 'claude code',
6
6
  GEMINI_CLI: 'gemini cli',
7
7
  CODEX_CI: 'codex',
8
+ OPENCODE: 'opencode',
8
9
  };
9
10
 
10
11
  export function detectCodingAgent() {