@turri-dev/cli 0.2.4-next.35ab04b → 0.2.4-next.636a651
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 +2 -2
- package/dist/chat-idle.d.ts +2 -2
- package/dist/chat-idle.js +2 -2
- package/dist/chats.d.ts +0 -10
- package/dist/chats.js +0 -23
- package/dist/cli.js +5 -7
- package/dist/config-edit.js +1 -3
- package/dist/config.d.ts +20 -22
- package/dist/config.js +49 -22
- package/dist/conformance-switch.d.ts +7 -17
- package/dist/conformance-switch.js +24 -46
- package/dist/drift-cli.js +1 -1
- package/dist/extension.d.ts +8 -10
- package/dist/extension.js +157 -217
- package/dist/genome.js +9 -48
- package/dist/graph.js +3 -5
- package/dist/host-session.d.ts +4 -15
- package/dist/host-session.js +2 -4
- package/dist/host.d.ts +1 -3
- package/dist/host.js +1 -4
- package/dist/identity.js +0 -1
- package/dist/init-config.d.ts +0 -1
- package/dist/init-config.js +2 -9
- package/dist/installed-providers.d.ts +1 -1
- package/dist/installed-providers.js +1 -1
- package/dist/loop-cli.d.ts +4 -3
- package/dist/loop-cli.js +13 -11
- package/dist/loop-tools.d.ts +26 -3
- package/dist/loop-tools.js +85 -20
- package/dist/new-project.js +2 -2
- package/dist/pi-launch.js +1 -1
- package/dist/pi.js +9 -6
- package/dist/plain/check.d.ts +1 -8
- package/dist/plain/check.js +3 -38
- package/dist/regenerate/activity.d.ts +0 -7
- package/dist/regenerate/activity.js +2 -20
- package/dist/regenerate/agent-shell.js +3 -1
- package/dist/regenerate/audit.js +9 -0
- package/dist/regenerate/chunk-plan.d.ts +5 -0
- package/dist/regenerate/chunk-plan.js +16 -1
- package/dist/regenerate/failure-reports.d.ts +28 -0
- package/dist/regenerate/failure-reports.js +79 -0
- package/dist/regenerate/job-panel.js +3 -1
- package/dist/regenerate/jobs-tree.js +1 -1
- package/dist/regenerate/jobs.d.ts +2 -0
- package/dist/regenerate/jobs.js +4 -0
- package/dist/regenerate/ledger-view.d.ts +11 -24
- package/dist/regenerate/ledger-view.js +14 -60
- package/dist/regenerate/ledger.d.ts +1 -14
- package/dist/regenerate/ledger.js +1 -1
- package/dist/regenerate/loop.d.ts +37 -60
- package/dist/regenerate/loop.js +174 -106
- package/dist/regenerate/regenerate.d.ts +0 -2
- package/dist/regenerate/regenerate.js +4 -15
- package/dist/regenerate/standing.js +1 -1
- package/dist/regenerate/submit-work.d.ts +2 -0
- package/dist/regenerate/submit-work.js +8 -3
- package/dist/regenerate/testing-steps.d.ts +11 -0
- package/dist/regenerate/testing-steps.js +22 -3
- package/dist/regenerate-cli.js +18 -9
- package/dist/self-invocation.d.ts +11 -0
- package/dist/self-invocation.js +33 -7
- package/dist/sentinel.js +8 -5
- package/dist/skill.d.ts +0 -11
- package/dist/skill.js +0 -9
- package/dist/stacks.js +1 -1
- package/dist/tools.js +2 -3
- package/dist/turri-versions.js +2 -1
- package/docs/README.md +0 -2
- package/docs/authoring-plain.md +3 -3
- package/docs/chats.md +1 -3
- package/docs/config.md +11 -13
- package/docs/deploy.md +1 -1
- package/docs/development.md +2 -3
- package/docs/headless.md +5 -4
- package/docs/hosting.md +6 -6
- package/docs/parser.md +2 -2
- package/docs/regenerating.md +14 -12
- package/docs/sentinel.md +4 -4
- package/docs/skills-and-gates.md +4 -8
- package/docs/using.md +10 -18
- package/genome/rules/test-plain-files.md +15 -7
- package/genome/rules/turri-regeneration.md +4 -9
- package/genome/skills/convert-old-syntax/SKILL.md +5 -5
- package/package.json +1 -1
- package/dist/advisor-chat.d.ts +0 -63
- package/dist/advisor-chat.js +0 -290
- package/dist/change-plain-cli.d.ts +0 -1
- package/dist/change-plain-cli.js +0 -55
- package/dist/ledger-cli.d.ts +0 -1
- package/dist/ledger-cli.js +0 -50
- package/dist/ledger-tools.d.ts +0 -10
- package/dist/ledger-tools.js +0 -64
- package/dist/regenerate/advisor-records.d.ts +0 -93
- package/dist/regenerate/advisor-records.js +0 -110
- package/dist/regenerate/advisor-runs.d.ts +0 -87
- package/dist/regenerate/advisor-runs.js +0 -327
- package/dist/regenerate/test-advisor.d.ts +0 -101
- package/dist/regenerate/test-advisor.js +0 -379
- package/dist/spec-tools.d.ts +0 -36
- package/dist/spec-tools.js +0 -128
- package/docs/test-advisor.md +0 -110
package/dist/extension.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { stackOnMachine } from "./stack.ts";
|
|
|
4
4
|
import { createAskUserTool } from "./tools.ts";
|
|
5
5
|
import { fromWorkingDir } from "./loop-tools.ts";
|
|
6
6
|
import { type WorkLoop } from "./regenerate/loop.ts";
|
|
7
|
-
import { type TestAdvisor } from "./regenerate/advisor-runs.ts";
|
|
8
7
|
import { type AskUser, type AskUserIO } from "./ask.ts";
|
|
9
8
|
import { type TurriCore, type TurriHost } from "./chats.ts";
|
|
10
9
|
/**
|
|
@@ -15,6 +14,12 @@ import { type TurriCore, type TurriHost } from "./chats.ts";
|
|
|
15
14
|
* exchange is therefore reported back, so the interview is visible while it happens and
|
|
16
15
|
* survives in the tool's result afterwards.
|
|
17
16
|
*/
|
|
17
|
+
/**
|
|
18
|
+
* What a question gets with nobody to answer it - print, json and rpc modes. What is the agent's to decide it decides; the
|
|
19
|
+
* person's own files it leaves as they are, as it would have without their yes - a testing script it finds wrong is said,
|
|
20
|
+
* not rewritten.
|
|
21
|
+
*/
|
|
22
|
+
export declare const NO_USER_ANSWER: string;
|
|
18
23
|
export declare function askUserVia(ctx: ExtensionContext, onExchange: (question: string, answer: string, said?: string) => void,
|
|
19
24
|
/** Given, "/btw ..." typed as an answer is a side question: answered with this, and the question asked again. */
|
|
20
25
|
aside?: (question: string) => Promise<string>,
|
|
@@ -39,11 +44,6 @@ export type { TurriHost } from "./chats.ts";
|
|
|
39
44
|
export declare function createTurriCore(host?: TurriHost, options?: {
|
|
40
45
|
persist?: boolean;
|
|
41
46
|
dialogs?: (chat: string) => AskUserIO | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the session has a test advisor (docs/test-advisor.md): the terminal's chat and a host - never pi's print,
|
|
44
|
-
* json and rpc modes, which end when the answer is printed, nor a headless command, which builds its own loop.
|
|
45
|
-
*/
|
|
46
|
-
advisor?: boolean;
|
|
47
47
|
}): TurriCore;
|
|
48
48
|
/** The session of this process: pi-launch.ts's, or one made as pi first builds the extension (`pi -e src/extension.ts`). */
|
|
49
49
|
export declare function processSession(make?: () => TurriCore): TurriCore;
|
|
@@ -137,13 +137,11 @@ export declare function machineNeeds(cwd: string, work?: (cwd: string) => Return
|
|
|
137
137
|
export declare function projectConfigBlock(root: string): string;
|
|
138
138
|
/**
|
|
139
139
|
* Conformance tests turned on, for the session: `conformance-tests: true` written where the module's value comes from
|
|
140
|
-
* (conformance-switch.ts)
|
|
141
|
-
*
|
|
140
|
+
* (conformance-switch.ts) - what /conform does when they are off, and a host's turnOnConformance. Every chat is told at
|
|
141
|
+
* its next turn. `plainFile`, absolute or from the project, picks the module whose stack's file
|
|
142
142
|
* is written when that names the key. Returns the file written, from the project. Starts no conformance pulse.
|
|
143
143
|
*/
|
|
144
144
|
export declare function turnOnConformance(core: TurriCore, plainFile?: string): string;
|
|
145
|
-
/** The session's test advisor, when it has one: the chat's and a host's - never pi's print, json and rpc modes'. */
|
|
146
|
-
export declare function sessionAdvisor(session: TurriCore): TestAdvisor | undefined;
|
|
147
145
|
export { fromWorkingDir };
|
|
148
146
|
/**
|
|
149
147
|
* What the agent is to do with a job that just ended, unasked: what the project's guidance says to do then, or else say
|