@kisev/agentomatic 11.0.2 → 12.0.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.
- package/README.md +32 -16
- package/README.ru.md +33 -16
- package/dist/agent-profiles.d.ts +8 -2
- package/dist/agent-profiles.js +131 -82
- package/dist/assets/agents/architect.md +4 -4
- package/dist/assets/agents/critic.md +10 -11
- package/dist/assets/agents/manager.md +11 -12
- package/dist/assets/agents/mapper.md +4 -4
- package/dist/assets/agents/review.md +11 -12
- package/dist/assets/agents/worker.md +29 -32
- package/dist/assets/commands/asd-ste100.md +10 -0
- package/dist/assets/commands/code-simplify.md +12 -0
- package/dist/assets/commands/eli5.md +10 -0
- package/dist/assets/commands/handoff.md +10 -0
- package/dist/assets/commands/rtk-stats.md +2 -2
- package/dist/assets/commands/skill-doctor.md +10 -0
- package/dist/assets/migration-inventory.json +17 -6
- package/dist/assets/plugins/code-simplify.js +3 -0
- package/dist/assets/plugins/rtk.js +1 -1
- package/dist/assets/plugins/rules-injector.js +1 -1
- package/dist/assets/plugins/zed-bell.js +1 -1
- package/dist/catalog.d.ts +2 -2
- package/dist/catalog.js +9 -3
- package/dist/cli-output.js +6 -6
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +1 -1257
- package/dist/command-cli.d.ts +1 -0
- package/dist/command-cli.js +1004 -0
- package/dist/config-setup.d.ts +14 -8
- package/dist/config-setup.js +197 -64
- package/dist/contracts.js +26 -0
- package/dist/doctor.d.ts +0 -1
- package/dist/doctor.js +42 -55
- package/dist/index.d.ts +13 -118
- package/dist/index.js +118 -125
- package/dist/installer.d.ts +25 -2
- package/dist/installer.js +68 -23
- package/dist/jsonc.d.ts +18 -2
- package/dist/jsonc.js +109 -5
- package/dist/opencode-config.d.ts +11 -0
- package/dist/opencode-config.js +237 -0
- package/dist/plugins/code-simplify.d.ts +25 -0
- package/dist/plugins/code-simplify.js +49 -0
- package/dist/plugins/events.d.ts +20 -0
- package/dist/plugins/events.js +48 -0
- package/dist/plugins/rtk.d.ts +9 -12
- package/dist/plugins/rtk.js +20 -5
- package/dist/plugins/rules-injector.d.ts +21 -11
- package/dist/plugins/rules-injector.js +43 -31
- package/dist/plugins/zed-bell.d.ts +8 -5
- package/dist/plugins/zed-bell.js +10 -2
- package/dist/reconcile.d.ts +4 -1
- package/dist/reconcile.js +12 -16
- package/dist/registry.d.ts +1 -0
- package/dist/registry.js +21 -5
- package/dist/routing.d.ts +5 -3
- package/dist/routing.js +57 -22
- package/dist/self-install.d.ts +7 -0
- package/dist/self-install.js +52 -1
- package/dist/terminal-wizard.d.ts +1 -1
- package/dist/terminal-wizard.js +2 -2
- package/package.json +11 -6
- package/dist/assets/commands/skill-improve.md +0 -10
- package/dist/assets/commands/stopit.md +0 -10
package/README.md
CHANGED
|
@@ -12,8 +12,8 @@ update, and removal lifecycle.
|
|
|
12
12
|
- Six fixed agents: `manager`, `architect`, `mapper`, `worker`, `review`, and
|
|
13
13
|
`critic`.
|
|
14
14
|
- Capability routing plus direct CLI diagnostics, reconciliation, and profiles.
|
|
15
|
-
- A confirmed `
|
|
16
|
-
fragments into `opencode.json(c)
|
|
15
|
+
- A confirmed `configure integration` command that connects the package and recommended
|
|
16
|
+
fragments into OpenCode `opencode.json(c)`/`cli.json`, `kilo.json(c)`, and
|
|
17
17
|
`mimocode.json(c)` while preserving existing entries and comments.
|
|
18
18
|
- Optional plugin wrappers: `rules-injector` and `zed-bell`;
|
|
19
19
|
the `rtk` compression wrapper is deployed by
|
|
@@ -61,7 +61,8 @@ migration guide](../../docs/how-to/memomatic.md).
|
|
|
61
61
|
## Requirements
|
|
62
62
|
|
|
63
63
|
- Node.js 22 or later.
|
|
64
|
-
- OpenCode `>=
|
|
64
|
+
- OpenCode `>=2.0.0 <2.1.0`. V1 users retain the last `11.0.x`
|
|
65
|
+
[release](https://github.com/kisev/skills/releases), not `dev`.
|
|
65
66
|
- A persistent npm project that owns the dependency.
|
|
66
67
|
|
|
67
68
|
## Project Install
|
|
@@ -70,38 +71,53 @@ Run the installer from the repository root (add `--global` for the global
|
|
|
70
71
|
scope); the confirmed install also provisions the persistent npm dependency:
|
|
71
72
|
|
|
72
73
|
```shell
|
|
74
|
+
# Registry version
|
|
75
|
+
npm view --prefer-online @kisev/agentomatic@latest version
|
|
76
|
+
|
|
77
|
+
# Preview, then confirm the install
|
|
73
78
|
npx --yes @kisev/agentomatic@latest install --dry-run
|
|
79
|
+
npx --yes @kisev/agentomatic@latest install
|
|
80
|
+
|
|
81
|
+
# Installed dependency in the owning npm project
|
|
82
|
+
npm list @kisev/agentomatic --depth=0
|
|
74
83
|
```
|
|
75
84
|
|
|
76
|
-
Use `@kisev/agentomatic@dev`
|
|
85
|
+
Use `@kisev/agentomatic@dev` in both view and npx commands for the development
|
|
86
|
+
snapshot. Tags can move between preview and installation. npx does not install
|
|
87
|
+
a global CLI, and a dry run does not provision the dependency. For a confirmed
|
|
88
|
+
global install, check `npm list --prefix "$HOME/.config/opencode" @kisev/agentomatic --depth=0`.
|
|
77
89
|
|
|
78
90
|
The confirmed install pins the executing version into the nearest npm project;
|
|
79
91
|
global installs own `~/.config/opencode` and create its `package.json` when
|
|
80
92
|
needed. Offline setups can provision the dependency by hand first:
|
|
81
93
|
`npm install --save-exact @kisev/agentomatic`, then run
|
|
82
94
|
`npx agentomatic install --dry-run` from that project so the executing version
|
|
83
|
-
matches the installed package.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
merges the `
|
|
87
|
-
existing entries. The separate `
|
|
95
|
+
matches the installed package. Confirm the printed plan summary in the install
|
|
96
|
+
step, or pass explicit selections with `--yes` outside a terminal.
|
|
97
|
+
When core integration is selected, the same confirmed install
|
|
98
|
+
merges the `plugins` entry into user-owned OpenCode configuration while preserving
|
|
99
|
+
existing entries. The separate `configure integration` command can apply additional fragments
|
|
88
100
|
or retry a failed configuration step:
|
|
89
101
|
|
|
90
102
|
```shell
|
|
91
|
-
npx agentomatic
|
|
103
|
+
npx agentomatic configure integration --global --dry-run
|
|
92
104
|
```
|
|
93
105
|
|
|
94
106
|
```json
|
|
95
107
|
{
|
|
96
108
|
"$schema": "https://opencode.ai/config.json",
|
|
97
|
-
"
|
|
109
|
+
"plugins": ["@kisev/agentomatic"]
|
|
98
110
|
}
|
|
99
111
|
```
|
|
100
112
|
|
|
101
|
-
Restart OpenCode after activation or asset changes.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
113
|
+
Restart OpenCode after activation or asset changes. A confirmed `install` can
|
|
114
|
+
apply its core config step and stage optional models and additional critics.
|
|
115
|
+
`configure` provides one settings menu; `status` shows the installed set and models.
|
|
116
|
+
`uninstall` proposes plugin disconnection, retains models, and removes the npm
|
|
117
|
+
dependency only with an explicit selection (`--remove-dependency`). Other
|
|
118
|
+
fragments use `configure integration`, and command adapter selections do not install portable
|
|
119
|
+
skills. OpenCode config output uses native V2 `plugins` and `permissions`;
|
|
120
|
+
only touched legacy sections migrate, with ambiguous cases reported as conflicts.
|
|
105
121
|
|
|
106
122
|
## Documentation
|
|
107
123
|
|
|
@@ -112,5 +128,5 @@ The canonical documentation lives in `docs/`, not in the package source:
|
|
|
112
128
|
- [Documentation index](https://github.com/kisev/skills/blob/main/docs/README.md)
|
|
113
129
|
|
|
114
130
|
The complete guide covers global installation, asset selection, confirmation,
|
|
115
|
-
activation, `
|
|
131
|
+
activation, `configure integration` fragments, `status`, `doctor`, update, maintenance, agent profiles,
|
|
116
132
|
ownership, and uninstall.
|
package/README.ru.md
CHANGED
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
- Адаптеры слеш-команд OpenCode для установленных переносимых навыков.
|
|
12
12
|
- Шесть агентов с фиксированными ролями: `manager`, `architect`, `mapper`, `worker`,
|
|
13
13
|
`review` и `critic`.
|
|
14
|
-
- Маршрутизация по возможностям и прямой CLI для `
|
|
14
|
+
- Маршрутизация по возможностям и прямой CLI для `status`, `doctor`, обслуживания и
|
|
15
15
|
управления профилями агентов.
|
|
16
|
-
- Команда `
|
|
17
|
-
фрагменты в `opencode.json(c)
|
|
16
|
+
- Команда `configure integration` с подтверждением: подключает пакет и рекомендованные
|
|
17
|
+
фрагменты в OpenCode `opencode.json(c)`/`cli.json`, `kilo.json(c)` и
|
|
18
18
|
`mimocode.json(c)`, сохраняя существующие записи и комментарии.
|
|
19
19
|
- Необязательные обертки плагинов `rules-injector` и `zed-bell`;
|
|
20
20
|
обертка сжатия `rtk` развертывается по умолчанию
|
|
@@ -63,7 +63,8 @@ Agentomatic не зависит от memomatic. См. [настройку MCP и
|
|
|
63
63
|
## Требования
|
|
64
64
|
|
|
65
65
|
- Node.js 22 или новее.
|
|
66
|
-
- OpenCode `>=
|
|
66
|
+
- OpenCode `>=2.0.0 <2.1.0`. Для V1 оставайтесь на последнем
|
|
67
|
+
[релизе `11.0.x`](https://github.com/kisev/skills/releases), а не на `dev`.
|
|
67
68
|
- Постоянный npm-проект, которому принадлежит зависимость.
|
|
68
69
|
|
|
69
70
|
## Установка в проект
|
|
@@ -72,10 +73,21 @@ Agentomatic не зависит от memomatic. См. [настройку MCP и
|
|
|
72
73
|
области); подтверждённая установка также пропишет постоянную npm-зависимость:
|
|
73
74
|
|
|
74
75
|
```shell
|
|
76
|
+
# Registry version
|
|
77
|
+
npm view --prefer-online @kisev/agentomatic@latest version
|
|
78
|
+
|
|
79
|
+
# Preview, then confirm the install
|
|
75
80
|
npx --yes @kisev/agentomatic@latest install --dry-run
|
|
81
|
+
npx --yes @kisev/agentomatic@latest install
|
|
82
|
+
|
|
83
|
+
# Installed dependency in the owning npm project
|
|
84
|
+
npm list @kisev/agentomatic --depth=0
|
|
76
85
|
```
|
|
77
86
|
|
|
78
|
-
|
|
87
|
+
Для dev-снимка укажите `@kisev/agentomatic@dev` и в просмотре, и в командах npx.
|
|
88
|
+
Теги могут сдвинуться между просмотром и установкой. npx не устанавливает CLI
|
|
89
|
+
глобально, а dry run не прописывает зависимость. После подтверждённой глобальной
|
|
90
|
+
установки проверьте `npm list --prefix "$HOME/.config/opencode" @kisev/agentomatic --depth=0`.
|
|
79
91
|
|
|
80
92
|
Подтверждённая установка закрепляет исполняемую версию в ближайшем npm-проекте;
|
|
81
93
|
глобальная установка владеет `~/.config/opencode` и при необходимости создаёт
|
|
@@ -83,28 +95,33 @@ npx --yes @kisev/agentomatic@latest install --dry-run
|
|
|
83
95
|
`npm install --save-exact @kisev/agentomatic`, затем запустить
|
|
84
96
|
`npx agentomatic install --dry-run` из этого проекта, чтобы версия исполнения
|
|
85
97
|
совпадала с установленным пакетом.
|
|
86
|
-
|
|
87
|
-
|
|
98
|
+
Подтвердите напечатанную сводку плана на шаге установки; вне терминала передайте
|
|
99
|
+
явный выбор компонентов вместе с `--yes`.
|
|
88
100
|
Если выбрана основная интеграция, та же подтверждённая установка добавляет
|
|
89
|
-
`
|
|
90
|
-
записей. Отдельная команда `
|
|
101
|
+
`plugins` в пользовательскую конфигурацию OpenCode с сохранением существующих
|
|
102
|
+
записей. Отдельная команда `configure integration` применяет дополнительные фрагменты
|
|
91
103
|
или повторяет неудавшийся шаг настройки:
|
|
92
104
|
|
|
93
105
|
```shell
|
|
94
|
-
npx agentomatic
|
|
106
|
+
npx agentomatic configure integration --global --dry-run
|
|
95
107
|
```
|
|
96
108
|
|
|
97
109
|
```json
|
|
98
110
|
{
|
|
99
111
|
"$schema": "https://opencode.ai/config.json",
|
|
100
|
-
"
|
|
112
|
+
"plugins": ["@kisev/agentomatic"]
|
|
101
113
|
}
|
|
102
114
|
```
|
|
103
115
|
|
|
104
|
-
Перезапустите OpenCode после активации или изменения файлов.
|
|
105
|
-
`
|
|
106
|
-
|
|
107
|
-
|
|
116
|
+
Перезапустите OpenCode после активации или изменения файлов. Подтверждённый
|
|
117
|
+
`install` настраивает core и предлагает модели и дополнительных критиков.
|
|
118
|
+
`configure` открывает единое меню настроек, `status` показывает состав и модели.
|
|
119
|
+
`uninstall` предлагает отключение плагина, сохраняет модели и удаляет npm-зависимость
|
|
120
|
+
только при явном выборе (`--remove-dependency`). Другие фрагменты применяет
|
|
121
|
+
`configure integration`, а выбор адаптеров команд не
|
|
122
|
+
устанавливает переносимые навыки. Конфиг OpenCode использует нативные `plugins`
|
|
123
|
+
и `permissions` V2; переводятся только затронутые старые разделы,
|
|
124
|
+
неоднозначные случаи показываются как конфликты.
|
|
108
125
|
|
|
109
126
|
## Документация
|
|
110
127
|
|
|
@@ -115,5 +132,5 @@ npx agentomatic config --global --dry-run
|
|
|
115
132
|
- [Индекс документации](https://github.com/kisev/skills/blob/main/docs/ru/README.md)
|
|
116
133
|
|
|
117
134
|
Полная инструкция описывает глобальную установку, выбор файлов, подтверждение,
|
|
118
|
-
активацию, фрагменты `
|
|
135
|
+
активацию, фрагменты `configure integration`, `status`, `doctor`, обновление, обслуживание, профили
|
|
119
136
|
агентов, владение файлами и удаление.
|
package/dist/agent-profiles.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export type AgentModelSelection = {
|
|
|
8
8
|
};
|
|
9
9
|
export type AgentProfileConfig = {
|
|
10
10
|
schema_version: 1;
|
|
11
|
+
selected_fixed: FixedAgentRole[];
|
|
12
|
+
selected_critics: string[];
|
|
11
13
|
fixed: Record<FixedAgentRole, AgentModelSelection | Record<string, never>>;
|
|
12
14
|
additional_critics: Record<string, AgentModelSelection>;
|
|
13
15
|
};
|
|
@@ -27,7 +29,7 @@ export type DeploymentManifest = {
|
|
|
27
29
|
profiles: Record<string, DeploymentRecord>;
|
|
28
30
|
};
|
|
29
31
|
export type AgentOwnership = "package-owned" | "managed" | "user-owned";
|
|
30
|
-
export type AgentState = "current" | "missing" | "drift" | "collision";
|
|
32
|
+
export type AgentState = "current" | "missing" | "drift" | "collision" | "not-installed";
|
|
31
33
|
export type AgentProfileRecord = {
|
|
32
34
|
name: string;
|
|
33
35
|
ownership: AgentOwnership;
|
|
@@ -54,6 +56,7 @@ export type AgentProfileRequest = {
|
|
|
54
56
|
name?: string;
|
|
55
57
|
model?: string;
|
|
56
58
|
variant?: string | null;
|
|
59
|
+
changes?: AgentProfileRequest[];
|
|
57
60
|
};
|
|
58
61
|
export type AgentProfileOperation = {
|
|
59
62
|
path: string;
|
|
@@ -70,6 +73,7 @@ export type AgentProfilePlan = {
|
|
|
70
73
|
operations: AgentProfileOperation[];
|
|
71
74
|
critic_pool: string[];
|
|
72
75
|
requires_restart: boolean;
|
|
76
|
+
digest: string;
|
|
73
77
|
};
|
|
74
78
|
export type AgentProfileResult = {
|
|
75
79
|
status: "ok";
|
|
@@ -109,7 +113,9 @@ export declare function buildAgentProfilePlan(request: AgentProfileRequest, scop
|
|
|
109
113
|
export declare function validateBuiltAgentProfilePlan(built: BuiltPlan): Promise<void>;
|
|
110
114
|
export declare function listAgentProfiles(scope: Scope, cwd?: string, home?: string): Promise<AgentInventory>;
|
|
111
115
|
export declare function previewAgentProfileChange(request: AgentProfileRequest, scope: Scope, cwd?: string, home?: string): Promise<AgentProfilePlan>;
|
|
112
|
-
export declare function applyAgentProfileChange(request: AgentProfileRequest, scope: Scope, cwd?: string, home?: string, options?: TransactionOptions
|
|
116
|
+
export declare function applyAgentProfileChange(request: AgentProfileRequest, scope: Scope, cwd?: string, home?: string, options?: TransactionOptions & {
|
|
117
|
+
expectedDigest?: string;
|
|
118
|
+
}): Promise<AgentProfileResult>;
|
|
113
119
|
export declare function availableModels(): Promise<string[]>;
|
|
114
120
|
export declare function availableModelVariants(model: string): Promise<string[]>;
|
|
115
121
|
export declare function inspectFileMode(path: string): Promise<number | undefined>;
|