@kisev/agentomatic 11.0.0-dev.46.gfbe1e4c6992e
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 +95 -0
- package/README.ru.md +98 -0
- package/dist/agent-profiles.d.ts +125 -0
- package/dist/agent-profiles.js +820 -0
- package/dist/assets/agents/architect.md +67 -0
- package/dist/assets/agents/critic.md +55 -0
- package/dist/assets/agents/manager.md +40 -0
- package/dist/assets/agents/mapper.md +33 -0
- package/dist/assets/agents/review.md +37 -0
- package/dist/assets/agents/worker.md +78 -0
- package/dist/assets/commands/agents-md.md +10 -0
- package/dist/assets/commands/askme.md +10 -0
- package/dist/assets/commands/ast-grep.md +10 -0
- package/dist/assets/commands/briefing.md +10 -0
- package/dist/assets/commands/code-explain.md +10 -0
- package/dist/assets/commands/code-review.md +10 -0
- package/dist/assets/commands/commit-msg.md +10 -0
- package/dist/assets/commands/docs-prepare.md +10 -0
- package/dist/assets/commands/docs-review.md +10 -0
- package/dist/assets/commands/goal.md +10 -0
- package/dist/assets/commands/humanize.md +10 -0
- package/dist/assets/commands/mattermost-triage.md +10 -0
- package/dist/assets/commands/mattermost.md +10 -0
- package/dist/assets/commands/mr-prepare.md +10 -0
- package/dist/assets/commands/release-prepare.md +10 -0
- package/dist/assets/commands/release-review.md +10 -0
- package/dist/assets/commands/rtk-stats.md +13 -0
- package/dist/assets/commands/rtk.md +10 -0
- package/dist/assets/commands/skill-improve.md +10 -0
- package/dist/assets/commands/slides-prompts-prepare.md +10 -0
- package/dist/assets/commands/spec-manage.md +13 -0
- package/dist/assets/commands/stopit.md +10 -0
- package/dist/assets/commands/task-prepare.md +10 -0
- package/dist/assets/commands/task-review.md +10 -0
- package/dist/assets/commands/task-triage.md +10 -0
- package/dist/assets/commands/taskmatic.md +10 -0
- package/dist/assets/commands/team-retro.md +10 -0
- package/dist/assets/commands/team-roadmap.md +10 -0
- package/dist/assets/commands/team-sprint-close.md +10 -0
- package/dist/assets/commands/team-sprint-start.md +10 -0
- package/dist/assets/lsp-catalog.json +30 -0
- package/dist/assets/migration-inventory.json +301 -0
- package/dist/assets/plugins/memomatic.js +3 -0
- package/dist/assets/plugins/rtk.js +3 -0
- package/dist/assets/plugins/rules-injector.js +3 -0
- package/dist/assets/plugins/zed-bell.js +3 -0
- package/dist/catalog.d.ts +8 -0
- package/dist/catalog.js +39 -0
- package/dist/cli-output.d.ts +27 -0
- package/dist/cli-output.js +296 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +1135 -0
- package/dist/config-setup.d.ts +71 -0
- package/dist/config-setup.js +438 -0
- package/dist/contracts.d.ts +52 -0
- package/dist/contracts.js +102 -0
- package/dist/doctor.d.ts +44 -0
- package/dist/doctor.js +638 -0
- package/dist/generate-assets.d.ts +1 -0
- package/dist/generate-assets.js +54 -0
- package/dist/index.d.ts +125 -0
- package/dist/index.js +141 -0
- package/dist/installer.d.ts +56 -0
- package/dist/installer.js +710 -0
- package/dist/jsonc.d.ts +56 -0
- package/dist/jsonc.js +432 -0
- package/dist/lifecycle.d.ts +77 -0
- package/dist/lifecycle.js +736 -0
- package/dist/package-metadata.d.ts +4 -0
- package/dist/package-metadata.js +42 -0
- package/dist/plugins/memomatic.d.ts +76 -0
- package/dist/plugins/memomatic.js +101 -0
- package/dist/plugins/rtk.d.ts +41 -0
- package/dist/plugins/rtk.js +177 -0
- package/dist/plugins/rules-injector.d.ts +22 -0
- package/dist/plugins/rules-injector.js +131 -0
- package/dist/plugins/zed-bell.d.ts +13 -0
- package/dist/plugins/zed-bell.js +14 -0
- package/dist/reconcile.d.ts +47 -0
- package/dist/reconcile.js +490 -0
- package/dist/registry.d.ts +21 -0
- package/dist/registry.js +92 -0
- package/dist/routing.d.ts +133 -0
- package/dist/routing.js +578 -0
- package/dist/runtime/state.d.ts +9 -0
- package/dist/runtime/state.js +193 -0
- package/dist/runtime/worktree.d.ts +33 -0
- package/dist/runtime/worktree.js +220 -0
- package/dist/terminal-wizard.d.ts +3 -0
- package/dist/terminal-wizard.js +237 -0
- package/package.json +72 -0
package/README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# OpenCode Integration
|
|
2
|
+
|
|
3
|
+
[Русский](README.ru.md)
|
|
4
|
+
|
|
5
|
+
`@kisev/agentomatic` is the first-class OpenCode-specific component of
|
|
6
|
+
Agent Skills. It complements the portable skills but has its own installation,
|
|
7
|
+
update, and removal lifecycle.
|
|
8
|
+
|
|
9
|
+
## What It Adds
|
|
10
|
+
|
|
11
|
+
- OpenCode slash-command adapters for installed portable skills.
|
|
12
|
+
- Six fixed agents: `manager`, `architect`, `mapper`, `worker`, `review`, and
|
|
13
|
+
`critic`.
|
|
14
|
+
- Capability routing plus direct CLI diagnostics, reconciliation, and profiles.
|
|
15
|
+
- A confirmed `config` command that connects the package and recommended
|
|
16
|
+
fragments into `opencode.json(c)`, `tui.json`, `kilo.json(c)`, and
|
|
17
|
+
`mimocode.json(c)` while preserving existing entries and comments.
|
|
18
|
+
- Optional plugin wrappers: `rules-injector`, `zed-bell`, and `memomatic`
|
|
19
|
+
personal learning memory; the `rtk` compression wrapper is deployed by
|
|
20
|
+
default and observable through `/rtk-stats` and `doctor`.
|
|
21
|
+
|
|
22
|
+
The package does not contain, install, update, inspect, or remove portable skills.
|
|
23
|
+
Their lifecycle is owned by the `skills` CLI.
|
|
24
|
+
|
|
25
|
+
## Memomatic
|
|
26
|
+
|
|
27
|
+
Memomatic is personal learning memory inspired by the OpenClaw architecture:
|
|
28
|
+
tiered Markdown (`MEMORY.md`, `USER.md`, daily notes, `DREAMS.md`), a rebuildable
|
|
29
|
+
SQLite index with FTS5 keyword search and optional local embeddings, and a
|
|
30
|
+
nightly dream sweep that ingests session transcripts, promotes repeatedly useful
|
|
31
|
+
entries through deterministic gates and one bounded model turn, supersedes
|
|
32
|
+
outdated facts by key, and archives every pre-image.
|
|
33
|
+
|
|
34
|
+
- State: `$XDG_STATE_HOME/memomatic/` (corpus, index, history, archive).
|
|
35
|
+
- Config: `$XDG_CONFIG_HOME/memomatic/settings.json` (embedding endpoint, dream
|
|
36
|
+
model and variant, thresholds) and `MEMORY_RULES.md` with manual directives:
|
|
37
|
+
`- never-save: <topic>` and opt-in `- auto-clean: older-than=90d scope=episodic`.
|
|
38
|
+
- Tools: `memory_search`, `memory_get`, `memory_write`, `memory_forget`, exposed
|
|
39
|
+
by the plugin, by the MCP stdio server (`memomatic mcp-serve`),
|
|
40
|
+
and by the CLI (`search`, `status`, `index`, `dream --dry-run`).
|
|
41
|
+
- Scheduling: copy `memomatic-dream.service` and `memomatic-dream.timer` from the
|
|
42
|
+
package `assets/systemd/` into `~/.config/systemd/user/` and run
|
|
43
|
+
`systemctl --user enable --now memomatic-dream.timer`; run the sweep another
|
|
44
|
+
way by invoking `memomatic dream` yourself.
|
|
45
|
+
- Forgetting is explicit or rule-gated: nothing is deleted without
|
|
46
|
+
`memory_forget` or an `auto-clean` directive; pinned entries never decay.
|
|
47
|
+
|
|
48
|
+
## Requirements
|
|
49
|
+
|
|
50
|
+
- Node.js 22 or later.
|
|
51
|
+
- OpenCode `>=1.18.29 <1.19.0`.
|
|
52
|
+
- A persistent npm project that owns the dependency.
|
|
53
|
+
|
|
54
|
+
## Project Install
|
|
55
|
+
|
|
56
|
+
Install the package in the repository's npm project and preview the managed
|
|
57
|
+
assets:
|
|
58
|
+
|
|
59
|
+
```shell
|
|
60
|
+
npm install --save-exact @kisev/agentomatic
|
|
61
|
+
npx --yes @kisev/agentomatic@latest install --dry-run
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Run the exact confirmation command printed by the preview. If the selected
|
|
65
|
+
assets need core integration, connect the package into the user-owned OpenCode
|
|
66
|
+
configuration yourself or through the confirmed `config` command, which merges
|
|
67
|
+
the `plugin` entry while preserving existing entries:
|
|
68
|
+
|
|
69
|
+
```shell
|
|
70
|
+
npx --yes @kisev/agentomatic@latest config --global --dry-run
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
```json
|
|
74
|
+
{
|
|
75
|
+
"$schema": "https://opencode.ai/config.json",
|
|
76
|
+
"plugin": ["@kisev/agentomatic"]
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Restart OpenCode after activation or asset changes. The `install` and
|
|
81
|
+
`uninstall` commands never edit `opencode.json`; `config` is the only confirmed
|
|
82
|
+
path for configuration fragments, and command adapter selections do not install
|
|
83
|
+
portable skills.
|
|
84
|
+
|
|
85
|
+
## Documentation
|
|
86
|
+
|
|
87
|
+
The canonical documentation lives in `docs/`, not in the package source:
|
|
88
|
+
|
|
89
|
+
- [Complete OpenCode integration guide](https://github.com/kisev/skills/blob/main/docs/how-to/opencode-integration.md)
|
|
90
|
+
- [Portable skills guide](https://github.com/kisev/skills/blob/main/docs/how-to/portable-skills.md)
|
|
91
|
+
- [Documentation index](https://github.com/kisev/skills/blob/main/docs/README.md)
|
|
92
|
+
|
|
93
|
+
The complete guide covers global installation, asset selection, confirmation,
|
|
94
|
+
activation, `config` fragments, `doctor`, update, `reconcile`, agent profiles,
|
|
95
|
+
ownership, and uninstall.
|
package/README.ru.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Интеграция с OpenCode
|
|
2
|
+
|
|
3
|
+
[English](README.md)
|
|
4
|
+
|
|
5
|
+
`@kisev/agentomatic` - полноценный компонент Agent Skills для OpenCode. Он
|
|
6
|
+
дополняет переносимые навыки, но имеет собственный жизненный цикл установки,
|
|
7
|
+
обновления и удаления.
|
|
8
|
+
|
|
9
|
+
## Что добавляет пакет
|
|
10
|
+
|
|
11
|
+
- Адаптеры слеш-команд OpenCode для установленных переносимых навыков.
|
|
12
|
+
- Шесть агентов с фиксированными ролями: `manager`, `architect`, `mapper`, `worker`,
|
|
13
|
+
`review` и `critic`.
|
|
14
|
+
- Маршрутизация по возможностям и прямой CLI для `doctor`, `reconcile` и
|
|
15
|
+
управления профилями агентов.
|
|
16
|
+
- Команда `config` с подтверждением: подключает пакет и рекомендованные
|
|
17
|
+
фрагменты в `opencode.json(c)`, `tui.json`, `kilo.json(c)` и
|
|
18
|
+
`mimocode.json(c)`, сохраняя существующие записи и комментарии.
|
|
19
|
+
- Необязательные обертки плагинов `rules-injector`, `zed-bell` и персональная
|
|
20
|
+
обучающая память `memomatic`; обертка сжатия `rtk` развертывается по умолчанию
|
|
21
|
+
и наблюдаема через `/rtk-stats` и `doctor`.
|
|
22
|
+
|
|
23
|
+
Пакет не содержит, не устанавливает, не обновляет, не проверяет и не удаляет
|
|
24
|
+
переносимые навыки. Их жизненным циклом управляет CLI `skills`.
|
|
25
|
+
|
|
26
|
+
## Memomatic
|
|
27
|
+
|
|
28
|
+
Memomatic - персональная обучающая память по мотивам архитектуры OpenClaw:
|
|
29
|
+
ярусный Markdown (`MEMORY.md`, `USER.md`, ежедневные записи, `DREAMS.md`),
|
|
30
|
+
пересобираемый SQLite-индекс с полнотекстовым поиском FTS5 и опциональными
|
|
31
|
+
локальными эмбеддингами, а также ночной проход сновидений, который инжестит
|
|
32
|
+
транскрипты сессий, продвигает стабильно полезные записи детерминированными
|
|
33
|
+
воротами и одной ограниченной модельной фазой, замещает устаревшие факты по
|
|
34
|
+
ключу и сохраняет все предобразы.
|
|
35
|
+
|
|
36
|
+
- Состояние: `$XDG_STATE_HOME/memomatic/` (корпус, индекс, история, архив).
|
|
37
|
+
- Настройки: `$XDG_CONFIG_HOME/memomatic/settings.json` (эндпоинт эмбеддера,
|
|
38
|
+
модель и вариант мышления для сновидений, пороги) и `MEMORY_RULES.md` с
|
|
39
|
+
ручными директивами: `- never-save: <тема>` и опциональная
|
|
40
|
+
`- auto-clean: older-than=90d scope=episodic`.
|
|
41
|
+
- Инструменты: `memory_search`, `memory_get`, `memory_write`, `memory_forget` -
|
|
42
|
+
через плагин, MCP-сервер stdio (`memomatic mcp-serve`) и CLI
|
|
43
|
+
(`search`, `status`, `index`, `dream --dry-run`).
|
|
44
|
+
- Расписание: скопируйте `memomatic-dream.service` и `memomatic-dream.timer` из
|
|
45
|
+
`assets/systemd/` пакета в `~/.config/systemd/user/` и выполните
|
|
46
|
+
`systemctl --user enable --now memomatic-dream.timer`; альтернативный запуск -
|
|
47
|
+
командой `memomatic dream`.
|
|
48
|
+
- Забывание явно или по правилу: ничего не удаляется без `memory_forget` или
|
|
49
|
+
директивы `auto-clean`; закрепленные записи не затухают.
|
|
50
|
+
|
|
51
|
+
## Требования
|
|
52
|
+
|
|
53
|
+
- Node.js 22 или новее.
|
|
54
|
+
- OpenCode `>=1.18.29 <1.19.0`.
|
|
55
|
+
- Постоянный npm-проект, которому принадлежит зависимость.
|
|
56
|
+
|
|
57
|
+
## Установка в проект
|
|
58
|
+
|
|
59
|
+
Установите пакет в npm-проект репозитория и предварительно просмотрите
|
|
60
|
+
управляемые файлы:
|
|
61
|
+
|
|
62
|
+
```shell
|
|
63
|
+
npm install --save-exact @kisev/agentomatic
|
|
64
|
+
npx --yes @kisev/agentomatic@latest install --dry-run
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Выполните точную команду подтверждения, которую выведет предварительный просмотр.
|
|
68
|
+
Если для выбранных файлов нужна основная интеграция, подключите пакет в
|
|
69
|
+
пользовательскую конфигурацию OpenCode вручную или подтвержденной командой
|
|
70
|
+
`config`, которая добавляет запись `plugin` с сохранением существующих записей:
|
|
71
|
+
|
|
72
|
+
```shell
|
|
73
|
+
npx --yes @kisev/agentomatic@latest config --global --dry-run
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"$schema": "https://opencode.ai/config.json",
|
|
79
|
+
"plugin": ["@kisev/agentomatic"]
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Перезапустите OpenCode после активации или изменения файлов. Команды `install` и
|
|
84
|
+
`uninstall` не редактируют `opencode.json`; `config` - единственный
|
|
85
|
+
подтвержденный путь для фрагментов конфигурации, а выбор адаптеров команд не
|
|
86
|
+
устанавливает переносимые навыки.
|
|
87
|
+
|
|
88
|
+
## Документация
|
|
89
|
+
|
|
90
|
+
Каноническая документация находится в `docs/`, а не в исходном коде пакета:
|
|
91
|
+
|
|
92
|
+
- [Полная инструкция по интеграции OpenCode](https://github.com/kisev/skills/blob/main/docs/ru/how-to/opencode-integration.md)
|
|
93
|
+
- [Инструкция по переносимым навыкам](https://github.com/kisev/skills/blob/main/docs/ru/how-to/portable-skills.md)
|
|
94
|
+
- [Индекс документации](https://github.com/kisev/skills/blob/main/docs/ru/README.md)
|
|
95
|
+
|
|
96
|
+
Полная инструкция описывает глобальную установку, выбор файлов, подтверждение,
|
|
97
|
+
активацию, фрагменты `config`, `doctor`, обновление, `reconcile`, профили
|
|
98
|
+
агентов, владение файлами и удаление.
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { LifecycleError, type SupersededPlan, type FileMutation, type Scope, type TransactionOptions } from "./lifecycle.js";
|
|
2
|
+
export { type Scope as AgentProfileScope } from "./lifecycle.js";
|
|
3
|
+
export declare const FIXED_AGENT_ROLES: readonly ["manager", "architect", "mapper", "worker", "review", "critic"];
|
|
4
|
+
export type FixedAgentRole = (typeof FIXED_AGENT_ROLES)[number];
|
|
5
|
+
export type AgentModelSelection = {
|
|
6
|
+
model: string;
|
|
7
|
+
variant?: string;
|
|
8
|
+
};
|
|
9
|
+
export type AgentProfileConfig = {
|
|
10
|
+
schema_version: 1;
|
|
11
|
+
fixed: Record<FixedAgentRole, AgentModelSelection | Record<string, never>>;
|
|
12
|
+
additional_critics: Record<string, AgentModelSelection>;
|
|
13
|
+
};
|
|
14
|
+
export type DeploymentRecord = {
|
|
15
|
+
kind: "fixed" | "additional-critic";
|
|
16
|
+
template: FixedAgentRole;
|
|
17
|
+
canonical_sha256: string;
|
|
18
|
+
configuration_sha256: string;
|
|
19
|
+
rendered_sha256: string;
|
|
20
|
+
};
|
|
21
|
+
export type DeploymentManifest = {
|
|
22
|
+
schema_version: 1;
|
|
23
|
+
package: "@kisev/agentomatic";
|
|
24
|
+
package_version: string;
|
|
25
|
+
scope: Scope;
|
|
26
|
+
critic_pool: string[];
|
|
27
|
+
profiles: Record<string, DeploymentRecord>;
|
|
28
|
+
};
|
|
29
|
+
export type AgentOwnership = "package-owned" | "managed" | "user-owned";
|
|
30
|
+
export type AgentState = "current" | "missing" | "drift" | "collision";
|
|
31
|
+
export type AgentProfileRecord = {
|
|
32
|
+
name: string;
|
|
33
|
+
ownership: AgentOwnership;
|
|
34
|
+
state: AgentState;
|
|
35
|
+
model?: string;
|
|
36
|
+
variant?: string;
|
|
37
|
+
rendered_sha256?: string;
|
|
38
|
+
};
|
|
39
|
+
export type AgentInventory = {
|
|
40
|
+
schema_version: 1;
|
|
41
|
+
scope: Scope;
|
|
42
|
+
root: string;
|
|
43
|
+
package_version: string;
|
|
44
|
+
critic_pool: string[];
|
|
45
|
+
profiles: AgentProfileRecord[];
|
|
46
|
+
user_owned: string[];
|
|
47
|
+
collisions: string[];
|
|
48
|
+
drift: string[];
|
|
49
|
+
requires_restart: false;
|
|
50
|
+
digest: string;
|
|
51
|
+
};
|
|
52
|
+
export type AgentProfileAction = "install" | "model-set" | "critic-add" | "critic-remove" | "reconcile" | "uninstall";
|
|
53
|
+
export type AgentProfileRequest = {
|
|
54
|
+
action: AgentProfileAction;
|
|
55
|
+
name?: string;
|
|
56
|
+
model?: string;
|
|
57
|
+
variant?: string | null;
|
|
58
|
+
};
|
|
59
|
+
export type AgentProfileOperation = {
|
|
60
|
+
path: string;
|
|
61
|
+
operation: "create" | "update" | "remove" | "unchanged" | "conflict";
|
|
62
|
+
reason: string;
|
|
63
|
+
sha256?: string;
|
|
64
|
+
};
|
|
65
|
+
export type AgentProfilePlan = {
|
|
66
|
+
schema_version: 1;
|
|
67
|
+
domain: "agent-profiles";
|
|
68
|
+
action: AgentProfileAction;
|
|
69
|
+
scope: Scope;
|
|
70
|
+
root: string;
|
|
71
|
+
operations: AgentProfileOperation[];
|
|
72
|
+
critic_pool: string[];
|
|
73
|
+
plan_digest: string;
|
|
74
|
+
confirmation_digest?: string;
|
|
75
|
+
superseded_plan?: SupersededPlan;
|
|
76
|
+
digest: string;
|
|
77
|
+
receipt_expires_at?: string;
|
|
78
|
+
requires_restart: boolean;
|
|
79
|
+
};
|
|
80
|
+
export type AgentProfileResult = {
|
|
81
|
+
status: "ok";
|
|
82
|
+
applied: boolean;
|
|
83
|
+
requires_restart: boolean;
|
|
84
|
+
plan: AgentProfilePlan;
|
|
85
|
+
};
|
|
86
|
+
export declare class AgentProfileError extends LifecycleError {
|
|
87
|
+
}
|
|
88
|
+
type LegacyManifest = {
|
|
89
|
+
schema_version: 1;
|
|
90
|
+
package: string;
|
|
91
|
+
version: string;
|
|
92
|
+
files: Record<string, {
|
|
93
|
+
sha256: string;
|
|
94
|
+
}>;
|
|
95
|
+
};
|
|
96
|
+
export type LegacyAgentOwnership = {
|
|
97
|
+
manifest: LegacyManifest;
|
|
98
|
+
manifestPath: string;
|
|
99
|
+
manifestSha256: string;
|
|
100
|
+
};
|
|
101
|
+
type BuiltPlan = {
|
|
102
|
+
plan: AgentProfilePlan;
|
|
103
|
+
mutations: FileMutation[];
|
|
104
|
+
inventoryDigest: string;
|
|
105
|
+
config: AgentProfileConfig;
|
|
106
|
+
manifest?: DeploymentManifest;
|
|
107
|
+
expectedConfig?: Buffer;
|
|
108
|
+
expectedManifest?: Buffer;
|
|
109
|
+
legacyTransferred: string[];
|
|
110
|
+
};
|
|
111
|
+
export declare function validateAgentName(name: string): string;
|
|
112
|
+
export declare function validateModel(model: string): string;
|
|
113
|
+
export declare function validateVariant(variant: string | null | undefined): string | undefined;
|
|
114
|
+
export declare function renderAgentProfile(name: string, config: AgentProfileConfig, canonical: Record<FixedAgentRole, Buffer>): Buffer;
|
|
115
|
+
export declare function buildAgentProfilePlan(request: AgentProfileRequest, scope: Scope, cwd?: string, home?: string, legacy?: LegacyAgentOwnership, selectedAgents?: readonly FixedAgentRole[]): Promise<BuiltPlan>;
|
|
116
|
+
export declare function validateBuiltAgentProfilePlan(built: BuiltPlan): Promise<void>;
|
|
117
|
+
export declare function listAgentProfiles(scope: Scope, cwd?: string, home?: string): Promise<AgentInventory>;
|
|
118
|
+
export declare function previewAgentProfileChange(request: AgentProfileRequest, scope: Scope, cwd?: string, home?: string): Promise<AgentProfilePlan>;
|
|
119
|
+
export declare function applyAgentProfileChange(request: AgentProfileRequest, scope: Scope, confirmationDigest: string, cwd?: string, home?: string, options?: TransactionOptions): Promise<AgentProfileResult>;
|
|
120
|
+
export declare function availableModels(): Promise<string[]>;
|
|
121
|
+
export declare function availableModelVariants(model: string): Promise<string[]>;
|
|
122
|
+
export declare function inspectFileMode(path: string): Promise<number | undefined>;
|
|
123
|
+
export declare function readLegacyManifest(root: string): Promise<LegacyAgentOwnership | undefined>;
|
|
124
|
+
export declare function applyBuiltAgentPlan(built: BuiltPlan, stateRoot: string, options?: TransactionOptions): Promise<void>;
|
|
125
|
+
export type { BuiltPlan as InternalAgentProfilePlan, LegacyManifest as LegacyInstallerManifest };
|