agent-devkit 0.0.1 → 0.0.3

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/README.md CHANGED
@@ -1,12 +1,182 @@
1
- # Agent DevKit npm package
1
+ # Agent DevKit
2
2
 
3
- Install the Agent DevKit CLI from npm:
3
+ Agent DevKit is a CLI runtime for specialist AI agents, capabilities,
4
+ provider-aware automations and local host adapters for Codex and Claude.
5
+
6
+ The npm package installs the canonical command:
7
+
8
+ ```bash
9
+ agent
10
+ ```
11
+
12
+ ## Install
4
13
 
5
14
  ```bash
6
15
  npm install -g agent-devkit
16
+ ```
17
+
18
+ Validate the installation:
19
+
20
+ ```bash
7
21
  agent --version
22
+ agent -v
8
23
  agent doctor
9
24
  ```
10
25
 
11
- The npm package installs the canonical `agent` command. The runtime remains
12
- provider-aware and stores credentials only by reference.
26
+ Expected version for this release:
27
+
28
+ ```text
29
+ agent 0.0.3
30
+ ```
31
+
32
+ ## Quick Start
33
+
34
+ List available agents and capabilities:
35
+
36
+ ```bash
37
+ agent agents list
38
+ agent capabilities list
39
+ agent providers list
40
+ agent llm list
41
+ agent commands list
42
+ ```
43
+
44
+ Install project-local host artifacts for Codex, Claude Code and Claude
45
+ Desktop/Claude.ai:
46
+
47
+ ```bash
48
+ cd /path/to/your/project
49
+ agent install project --target . --host all
50
+ agent doctor --project .
51
+ ```
52
+
53
+ Run a natural-language task:
54
+
55
+ ```bash
56
+ agent "analise o problema relatado no card 9900"
57
+ ```
58
+
59
+ Natural-language mode requires an LLM backend. Deterministic commands such as
60
+ `agent agents list`, `agent capabilities list`, `agent doctor`, `agent provider`
61
+ and `agent run` do not require an LLM.
62
+
63
+ ## Configure LLM Backends
64
+
65
+ Agent DevKit stores references to credentials, not secret values. API keys stay
66
+ in environment variables.
67
+
68
+ OpenAI:
69
+
70
+ ```bash
71
+ export OPENAI_API_KEY="..."
72
+ agent llm configure openai --api-key-env OPENAI_API_KEY --model gpt-5 --set-default
73
+ agent llm doctor
74
+ ```
75
+
76
+ Anthropic:
77
+
78
+ ```bash
79
+ export ANTHROPIC_API_KEY="..."
80
+ agent llm configure anthropic --api-key-env ANTHROPIC_API_KEY --model claude-sonnet-4-5 --set-default
81
+ ```
82
+
83
+ OpenRouter:
84
+
85
+ ```bash
86
+ export OPENROUTER_API_KEY="..."
87
+ agent llm configure openrouter --api-key-env OPENROUTER_API_KEY --model openai/gpt-5 --set-default
88
+ ```
89
+
90
+ Local or host-authenticated backends:
91
+
92
+ ```bash
93
+ agent llm configure ollama --base-url http://localhost:11434/v1 --model qwen2.5-coder --set-default
94
+ agent llm configure codex-cli --set-default
95
+ agent llm configure claude-code --set-default
96
+ ```
97
+
98
+ ## Configure Providers
99
+
100
+ Configure only the provider you need for a task. Missing optional providers are
101
+ reported as partial diagnostics and do not break local discovery.
102
+
103
+ Azure DevOps:
104
+
105
+ ```bash
106
+ export AZURE_DEVOPS_ORG="your-org"
107
+ export AZURE_DEVOPS_PAT="..."
108
+ agent provider configure azure-devops --env AZURE_DEVOPS_ORG --env AZURE_DEVOPS_PAT
109
+ agent provider doctor azure-devops
110
+ ```
111
+
112
+ AWS:
113
+
114
+ ```bash
115
+ export AWS_PROFILE="default"
116
+ export AWS_REGION="us-east-1"
117
+ agent provider configure aws --env AWS_PROFILE --env AWS_REGION
118
+ agent provider doctor aws
119
+ ```
120
+
121
+ TOPdesk:
122
+
123
+ ```bash
124
+ export TOPDESK_BASE_URL="https://your-instance.topdesk.net"
125
+ export TOPDESK_USERNAME="user"
126
+ export TOPDESK_APP_PASSWORD="..."
127
+ agent provider configure topdesk --env TOPDESK_BASE_URL --env TOPDESK_USERNAME --env TOPDESK_APP_PASSWORD
128
+ agent provider doctor topdesk
129
+ ```
130
+
131
+ You can also inspect a credentials file without printing secret values:
132
+
133
+ ```bash
134
+ agent credential resolve topdesk --env-file ./topdesk.env
135
+ ```
136
+
137
+ ## Deterministic Capability Runs
138
+
139
+ Use `agent run` when you want direct execution without natural-language routing:
140
+
141
+ ```bash
142
+ agent run azure-devops-orchestrator read-card --project "Project" --id 9900 --include-comments
143
+ agent run aws-cloudwatch-log-analyzer search-log-events --help
144
+ ```
145
+
146
+ Inspect a capability contract before running it:
147
+
148
+ ```bash
149
+ agent inspect azure-devops-orchestrator read-card
150
+ ```
151
+
152
+ ## Memory
153
+
154
+ Agent DevKit can keep local usage memory for routines and source preferences:
155
+
156
+ ```bash
157
+ agent memory show
158
+ agent memory reset --all
159
+ ```
160
+
161
+ ## Host Installation
162
+
163
+ Install only one host adapter when needed:
164
+
165
+ ```bash
166
+ agent install project --target . --host codex
167
+ agent install project --target . --host claude-code
168
+ agent install project --target . --host claude-desktop
169
+ agent install global --host all
170
+ ```
171
+
172
+ Preview writes without touching the filesystem:
173
+
174
+ ```bash
175
+ agent install project --target . --host all --dry-run --json
176
+ ```
177
+
178
+ ## Links
179
+
180
+ - GitHub: https://github.com/jhenriquedev/agent-devkit
181
+ - npm: https://www.npmjs.com/package/agent-devkit
182
+ - License: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-devkit",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Agent DevKit CLI runtime for specialist AI agents, capabilities and provider-aware automations.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/runtime/README.md CHANGED
@@ -11,6 +11,138 @@ Nome publico do projeto no GitHub: `agent-devkit`. Nome do produto:
11
11
  > versionados e prontos para uso, com baixo consumo de contexto, decisoes mais
12
12
  > consistentes e artefatos padronizados.
13
13
 
14
+ ## Instalacao rapida
15
+
16
+ Instale o CLI publicado no npm:
17
+
18
+ ```bash
19
+ npm install -g agent-devkit
20
+ ```
21
+
22
+ Valide a instalacao:
23
+
24
+ ```bash
25
+ agent --version
26
+ agent -v
27
+ agent doctor
28
+ ```
29
+
30
+ O pacote instala o comando canonico `agent`. O nome do pacote npm e
31
+ `agent-devkit`.
32
+
33
+ ## Primeiro uso
34
+
35
+ Comandos deterministicos nao precisam de LLM configurada:
36
+
37
+ ```bash
38
+ agent agents list
39
+ agent capabilities list
40
+ agent providers list
41
+ agent llm list
42
+ agent doctor
43
+ ```
44
+
45
+ Instale os artefatos locais do Agent DevKit no projeto atual:
46
+
47
+ ```bash
48
+ cd /caminho/do/projeto
49
+ agent install project --target . --host all
50
+ agent doctor --project .
51
+ ```
52
+
53
+ Use prompts livres pelo proprio comando `agent`:
54
+
55
+ ```bash
56
+ agent "analise o problema relatado no card 9900"
57
+ ```
58
+
59
+ Esse modo usa backend LLM. Se nenhum backend estiver configurado, a CLI informa
60
+ como configurar ou como executar uma capability deterministica com `agent run`.
61
+
62
+ ## Configurar LLM
63
+
64
+ O Agent DevKit nao grava chaves em claro. Ele salva referencias para variaveis
65
+ de ambiente em `~/.ai-devkit/config.json`.
66
+
67
+ OpenAI:
68
+
69
+ ```bash
70
+ export OPENAI_API_KEY="..."
71
+ agent llm configure openai --api-key-env OPENAI_API_KEY --model gpt-5 --set-default
72
+ agent llm doctor
73
+ ```
74
+
75
+ Anthropic:
76
+
77
+ ```bash
78
+ export ANTHROPIC_API_KEY="..."
79
+ agent llm configure anthropic --api-key-env ANTHROPIC_API_KEY --model claude-sonnet-4-5 --set-default
80
+ ```
81
+
82
+ OpenRouter:
83
+
84
+ ```bash
85
+ export OPENROUTER_API_KEY="..."
86
+ agent llm configure openrouter --api-key-env OPENROUTER_API_KEY --model openai/gpt-5 --set-default
87
+ ```
88
+
89
+ LLMs locais ou CLIs autenticadas:
90
+
91
+ ```bash
92
+ agent llm configure ollama --base-url http://localhost:11434/v1 --model qwen2.5-coder --set-default
93
+ agent llm configure codex-cli --set-default
94
+ agent llm configure claude-code --set-default
95
+ ```
96
+
97
+ ## Configurar providers
98
+
99
+ Providers tambem sao configurados por referencia. Configure apenas o que for
100
+ necessario para a tarefa; o agente pode seguir com fallback quando um provider
101
+ opcional nao estiver disponivel.
102
+
103
+ Azure DevOps:
104
+
105
+ ```bash
106
+ export AZURE_DEVOPS_ORG="sua-org"
107
+ export AZURE_DEVOPS_PAT="..."
108
+ agent provider configure azure-devops --env AZURE_DEVOPS_ORG --env AZURE_DEVOPS_PAT
109
+ agent provider doctor azure-devops
110
+ ```
111
+
112
+ AWS:
113
+
114
+ ```bash
115
+ export AWS_PROFILE="default"
116
+ export AWS_REGION="us-east-1"
117
+ agent provider configure aws --env AWS_PROFILE --env AWS_REGION
118
+ agent provider doctor aws
119
+ ```
120
+
121
+ TOPdesk:
122
+
123
+ ```bash
124
+ export TOPDESK_BASE_URL="https://sua-instancia.topdesk.net"
125
+ export TOPDESK_USERNAME="usuario"
126
+ export TOPDESK_APP_PASSWORD="..."
127
+ agent provider configure topdesk --env TOPDESK_BASE_URL --env TOPDESK_USERNAME --env TOPDESK_APP_PASSWORD
128
+ agent provider doctor topdesk
129
+ ```
130
+
131
+ Exemplo de uso deterministico com uma capability:
132
+
133
+ ```bash
134
+ agent run azure-devops-orchestrator read-card --project "Projeto" --id 9900 --include-comments
135
+ ```
136
+
137
+ Comandos uteis:
138
+
139
+ ```bash
140
+ agent commands list
141
+ agent inspect azure-devops-orchestrator read-card
142
+ agent memory show
143
+ agent memory reset --all
144
+ ```
145
+
14
146
  ## O que e
15
147
 
16
148
  O Agent DevKit e um repositorio agent-native. Seu produto principal nao e uma pasta
package/runtime/agent CHANGED
@@ -13,7 +13,7 @@ def normalize_args(argv: list[str]) -> list[str]:
13
13
  return ["agent"]
14
14
  commands = set(DETERMINISTIC_COMMANDS) | set(LLM_COMMANDS)
15
15
  first = argv[0]
16
- if first in {"--help", "-h", "--version"}:
16
+ if first in {"--help", "-h", "--version", "-v"}:
17
17
  return argv
18
18
  if first == "--json":
19
19
  if len(argv) == 1:
@@ -1,3 +1,3 @@
1
1
  """Public CLI implementation for AI DevKit."""
2
2
 
3
- __version__ = "0.0.1"
3
+ __version__ = "0.0.3"
@@ -109,7 +109,7 @@ def build_parser(prog: str | None = None) -> argparse.ArgumentParser:
109
109
  description="AI DevKit CLI",
110
110
  )
111
111
  parser.add_argument("--json", action="store_true", help="print machine-readable JSON")
112
- parser.add_argument("--version", action="store_true", help="print CLI version and exit")
112
+ parser.add_argument("-v", "--version", action="store_true", help="print CLI version and exit")
113
113
 
114
114
  subparsers = parser.add_subparsers(dest="command")
115
115
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "claude-code-ai-devkit",
3
3
  "name": "AI DevKit",
4
- "version": "0.0.1",
4
+ "version": "0.0.3",
5
5
  "description": "Thin Claude Code adapter for routing software support, infrastructure, data, and development tasks through the local AI DevKit runtime.",
6
6
  "runtime": {
7
7
  "command": "agent",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "claude-skill-ai-devkit",
3
3
  "name": "AI DevKit Claude Skill",
4
- "version": "0.0.1",
4
+ "version": "0.0.3",
5
5
  "description": "Skill bundle for Claude Desktop and Claude.ai to route support, infrastructure, data, documentation, and development work through AI DevKit practices.",
6
6
  "runtime": {
7
7
  "command": "agent",
@@ -34,7 +34,7 @@ python3 scripts/validate-repo.py --json
34
34
  python3 scripts/validate-repo.py --strict
35
35
  python3 scripts/mvp-readiness.py
36
36
  python3 scripts/mvp-readiness.py --json
37
- npm run release:verify -- v0.0.1
37
+ npm run release:verify -- v0.0.3
38
38
  ```
39
39
 
40
40
  ## Regras
@@ -63,7 +63,7 @@ function run(command, args, options = {}) {
63
63
  async function main() {
64
64
  const [rawVersion] = process.argv.slice(2);
65
65
  if (!rawVersion) {
66
- throw new Error("Usage: npm run release:verify -- v0.0.1");
66
+ throw new Error("Usage: npm run release:verify -- v0.0.3");
67
67
  }
68
68
 
69
69
  const version = normalizeVersion(rawVersion);