@sudobility/screenwriter_types 0.1.3 → 0.1.4
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/CLAUDE.md +4 -0
- package/dist/ai/actions.d.ts +691 -0
- package/dist/api/routes.d.ts +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +230 -0
- package/dist/index.js.map +1 -1
- package/dist/templates/index.d.ts +8 -8
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -48,3 +48,7 @@ bun run lint
|
|
|
48
48
|
## Related
|
|
49
49
|
|
|
50
50
|
`writing_core`, `screenwriter_api`, `screenwriter_client`, `screenwriter_lib`, `screenwriter_plans`
|
|
51
|
+
|
|
52
|
+
## Synchronous AI actions (`src/ai/actions.ts`)
|
|
53
|
+
|
|
54
|
+
Request, model (what the ShapeShyft endpoint returns: every field required, nullable never optional, objects closed) and result Zod schemas for `POST /ai/{action}` in `screenwriter_api`: `generate-character-skeleton`, `generate-script`, `polish-character-dialogue`, `polish-scene`, plus `AI_ACTION_LIMITS`, `CHARACTER_SKELETON_KEYS` (the flat skeleton the app's `CharacterSkeletonEditor` edits: `age` required, ~34 optional strings across Physical/Social/Psychological), the `/ai/{action}` rows in `API_ROUTES` (`U`), and `AiActionResponse`. `AI_ACTION_MODEL_SCHEMAS` feeds `bun run ai:schemas` in the API, which is what gets stored on the ShapeShyft endpoints, so changing a model schema means updating those endpoints too.
|