@livepreso/cdk 0.0.4 → 0.1.0

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.
@@ -2987,7 +2987,8 @@ const TOOL_DEFINITIONS = [
2987
2987
  name: "call_actions",
2988
2988
  description: stripIndent(`
2989
2989
  Change content across any number of targets in one request. Every
2990
- step changes something: read with read_deck instead, which covers a
2990
+ step changes something, or is a query that takes input and is listed
2991
+ under "calls". Read everything else with read_deck, which covers a
2991
2992
  whole deck in one call. A target's steps succeed or fail together
2992
2993
  and leave other targets alone: "succeeded" counts the steps that
2993
2994
  went through, and "refused" names each target whose steps were all
@@ -3013,7 +3014,7 @@ const TOOL_DEFINITIONS = [
3013
3014
 
3014
3015
  value the text a field shows
3015
3016
  from where that text came from: "default",
3016
- "everyone" or "personal"
3017
+ "everyone", "personal" or "query"
3017
3018
  default the copy the deck was built with, which is
3018
3019
  what reverting restores
3019
3020
  type "text" or "image"
@@ -3054,15 +3055,27 @@ const TOOL_DEFINITIONS = [
3054
3055
  of the two it is, and a "value" of null is a field that has neither
3055
3056
  an edit nor copy the deck built in.
3056
3057
 
3058
+ A field with no "value" or "default" controls the slide rather than
3059
+ holding text. Call it to change the slide.
3060
+
3061
+ "from": "query" marks a value the field's query returned, such as copy
3062
+ from a feed. One query gives the value itself, and several give an
3063
+ object keyed by query name. A query that could not run is under
3064
+ "unread" with the reason. For "no-render", show the slide and read
3065
+ again.
3066
+
3067
+ A call listed with "kind": "query" is one that takes input, which is
3068
+ why read_deck does not answer it. Run it with call_actions.
3069
+
3057
3070
  Fields under "shared" are one value the whole deck reads: name the
3058
3071
  target each one gives to change it, and every target showing it
3059
3072
  changes. A call carries "requiresRender" where it only runs on the
3060
3073
  slide the preview has open. A target that could not be read at all
3061
3074
  is named under "unread".
3062
3075
 
3063
- A target named under "unwritable" cannot be changed, and the entry
3064
- says why. Its calls still answer what can be done where a value
3065
- belongs, so read them to learn what a field takes.
3076
+ A target named under "unwritable" cannot have a stored value
3077
+ changed, and the entry says why. A call marked "stateless" still
3078
+ runs there. Read the other calls to learn what a field takes.
3066
3079
  `),
3067
3080
  inputSchema: {
3068
3081
  type: "object",