Skip to content

feat: exports surface + createVisionDelegator - #15

Merged
rz1989s merged 1 commit into
mainfrom
feat/exports-surface
Jul 24, 2026
Merged

feat: exports surface + createVisionDelegator#15
rz1989s merged 1 commit into
mainfrom
feat/exports-surface

Conversation

@rz1989s

@rz1989s rz1989s commented Jul 24, 2026

Copy link
Copy Markdown
Member

Mirrors armory-todo #12/#13. Adds exports map + src/index.ts re-exporting capability/delegate/config pure functions + src/index.d.ts (dual-condition: types→.d.ts, default→.ts). Adds createVisionDelegator({modelRegistry, cwd, agentDir}) so consumers with a ModelRuntime (e.g. @getpipher/armory-fleet SPEC-2) can delegate without constructing an ExtensionContext — they construct new ModelRegistry(modelRuntime) (a pi-coding-agent export) and pass the registry slice. Additive; 353 tests + typecheck green.

…onsumers

Mirrors armory-todo #12/#13. Adds exports map (types→./src/index.d.ts,
default→./src/index.ts) + src/index.ts re-exporting capability/delegate/config
pure functions + src/index.d.ts. Adds createVisionDelegator({modelRegistry, cwd,
agentDir}) — takes a ModelRegistry (or the {find, getApiKeyAndHeaders} slice) so
consumers with a ModelRuntime (e.g. armory-fleet) delegate without constructing
an ExtensionContext. ModelRegistry is a pi-coding-agent export; consumers
construct new ModelRegistry(modelRuntime) themselves. Additive, no behavior
change to the vision extension.
@rz1989s
rz1989s merged commit 6515907 into main Jul 24, 2026
2 checks passed
@rz1989s
rz1989s deleted the feat/exports-surface branch July 24, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant