@arcforge/types 2.0.79 → 2.0.81
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/package.json +1 -1
- package/src/handle.ts +6 -0
package/package.json
CHANGED
package/src/handle.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AxonEntry } from "./session"
|
|
2
2
|
import type { AxonScript } from "./scripts"
|
|
3
|
+
import type { AxonPrompt } from "./prompts"
|
|
3
4
|
import type { AxonPartialBlueprint } from "./blueprint"
|
|
4
5
|
import type { AxonHookName, AxonHooks } from "./hooks"
|
|
5
6
|
import type { AxonAmbient } from "./session/events/activity"
|
|
@@ -100,6 +101,11 @@ export type AxonHandle = {
|
|
|
100
101
|
/** Render a prompt by name. Static .md returns as-is; dynamic .vue renders with props. */
|
|
101
102
|
prompt(name: string, props?: Record<string, unknown>): Promise<string>
|
|
102
103
|
|
|
104
|
+
/** Prompt enumeration — every prompt the blueprint declares. Rendering stays on `prompt(name)`. */
|
|
105
|
+
prompts: {
|
|
106
|
+
list(): AxonPrompt[]
|
|
107
|
+
}
|
|
108
|
+
|
|
103
109
|
/** One-shot agent invocation. */
|
|
104
110
|
request(input: AxonRequestInput | string): Promise<AxonResult>
|
|
105
111
|
|