@callmeradical/augy 0.1.0 → 0.3.0

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,43 +0,0 @@
1
- // src/agents.ts
2
- import { homedir } from "os";
3
- import { join } from "path";
4
- function resolveHome(p) {
5
- return p.startsWith("~") ? join(homedir(), p.slice(1)) : p;
6
- }
7
- function codexSkillsPath() {
8
- const codexHome = process.env["CODEX_HOME"];
9
- if (codexHome) return join(codexHome, "skills");
10
- return resolveHome("~/.codex/skills");
11
- }
12
- var AGENTS = [
13
- {
14
- id: "opencode",
15
- name: "OpenCode",
16
- skillsPath: resolveHome("~/.opencode/skills"),
17
- skillFile: "SKILL.md"
18
- },
19
- {
20
- id: "claude",
21
- name: "Claude",
22
- skillsPath: resolveHome("~/.claude/skills"),
23
- skillFile: "SKILL.md"
24
- },
25
- {
26
- id: "codex",
27
- name: "Codex",
28
- skillsPath: codexSkillsPath(),
29
- skillFile: "SKILL.md"
30
- }
31
- ];
32
- function agentById(id) {
33
- return AGENTS.find((a) => a.id === id);
34
- }
35
- function agentSkillPath(agent, skillName) {
36
- return join(agent.skillsPath, skillName);
37
- }
38
-
39
- export {
40
- AGENTS,
41
- agentById,
42
- agentSkillPath
43
- };
File without changes