@turri-dev/cli 0.1.7-next.9aec40e → 0.1.7-next.eb57c34
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/dist/host.d.ts +1 -0
- package/dist/host.js +2 -0
- package/docs/hosting.md +1 -0
- package/package.json +1 -1
package/dist/host.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type { AskUserIO } from "./ask.ts";
|
|
|
10
10
|
export * as pi from "@earendil-works/pi-coding-agent";
|
|
11
11
|
export { configForSpec, hasProjectConfig, modelSpec, projectModels, readProjectConfig, stacksOf, type ProjectConfig } from "./config.ts";
|
|
12
12
|
export { MODULES_DIR, projectDirOf, resolveTemplateDirs } from "./regenerate/paths.ts";
|
|
13
|
+
export { BEDROCK_DEFAULT, BEDROCK_REGIONS, bedrockModels, initConfig, VENDORS, type BedrockChoice, type Vendor } from "./init-config.ts";
|
|
13
14
|
export { checkPlainFile, type CheckResult } from "./plain/check.ts";
|
|
14
15
|
export { plainFileParser } from "./plain/parser.ts";
|
|
15
16
|
export { FUNCTIONAL_REQUIREMENTS, iterateFunctionalSpecs } from "./plain/spec.ts";
|
package/dist/host.js
CHANGED
|
@@ -11,6 +11,8 @@ export * as pi from "@earendil-works/pi-coding-agent";
|
|
|
11
11
|
// The project and its settings.
|
|
12
12
|
export { configForSpec, hasProjectConfig, modelSpec, projectModels, readProjectConfig, stacksOf } from "./config.js";
|
|
13
13
|
export { MODULES_DIR, projectDirOf, resolveTemplateDirs } from "./regenerate/paths.js";
|
|
14
|
+
// A project's first config.turri.yaml, as `turri init-config` writes it - the vendor whose models it takes chosen by the host.
|
|
15
|
+
export { BEDROCK_DEFAULT, BEDROCK_REGIONS, bedrockModels, initConfig, VENDORS } from "./init-config.js";
|
|
14
16
|
// A spec: parsed, checked, coloured.
|
|
15
17
|
export { checkPlainFile } from "./plain/check.js";
|
|
16
18
|
export { plainFileParser } from "./plain/parser.js";
|
package/docs/hosting.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| `createTurriExtension(host)` | turri's conversation as an extension of pi's: every tool, slash command, rule and skill the terminal has. The host is told of its jobs and asks its questions - see below. |
|
|
12
12
|
| `pi` | pi itself, as turri's extension is built against it. Make the session with this one - `pi.createAgentSession`, `pi.DefaultResourceLoader` - not another copy. |
|
|
13
13
|
| `readProjectConfig`, `projectModels`, `modelSpec`, `configForSpec`, `hasProjectConfig`, `stacksOf` | the project's settings, as [config.turri.yaml](config.md) has them. |
|
|
14
|
+
| `initConfig(dir, { vendor, bedrock, force })`, `VENDORS`, `BEDROCK_REGIONS`, `BEDROCK_DEFAULT`, `bedrockModels` | a project's first config.turri.yaml, as `turri init-config` writes it: the host asks which vendor's models - `VENDORS` has each one's label and its two models, `BEDROCK_REGIONS` where Bedrock serves each maker's - and `initConfig` writes it, saying what it did. One already there keeps everything but its two models. |
|
|
14
15
|
| `checkPlainFile`, `plainFileParser`, `resolveTemplateDirs`, `iterateFunctionalSpecs`, `FUNCTIONAL_REQUIREMENTS` | a spec checked and parsed, its functional specs one by one - as `turri validate` reads it. |
|
|
15
16
|
| `highlightLines`, `roleOf` | a spec's lines coloured by turri's own \*\*\*plain grammar. |
|
|
16
17
|
| `functionalityCompletion`, `createWorkLoop`, `createJobRegistry`, `promptOf`, `describeModules` | how far each functional spec is built, and - on a loop of the host's own with `dryRun` - the work a spec change would plan, as `turri glimpse` does. |
|