markform 0.1.6 → 0.1.8

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.
Files changed (47) hide show
  1. package/README.md +464 -207
  2. package/dist/ai-sdk.d.mts +1 -2
  3. package/dist/ai-sdk.mjs +3 -2
  4. package/dist/{apply-DMQl-VVd.mjs → apply-BUU2QcJ2.mjs} +130 -23
  5. package/dist/bin.d.mts +0 -1
  6. package/dist/bin.mjs +3 -6
  7. package/dist/{cli-CXjkdym_.mjs → cli-BZh25bvy.mjs} +1380 -632
  8. package/dist/cli.d.mts +0 -1
  9. package/dist/cli.mjs +2 -6
  10. package/dist/coreTypes-BSPJ9H27.d.mts +3253 -0
  11. package/dist/{coreTypes-pyctKRgc.mjs → coreTypes-DJtu8OOp.mjs} +26 -4
  12. package/dist/index.d.mts +112 -5
  13. package/dist/index.mjs +6 -5
  14. package/dist/{session-uF0e6m6k.mjs → session-CmHdAPyg.mjs} +3 -2
  15. package/dist/session-DSTNiHza.mjs +4 -0
  16. package/dist/{shared-u22MtBRo.mjs → shared-C9yW5FLZ.mjs} +2 -1
  17. package/dist/{shared-DRlgu2ZJ.mjs → shared-DQ6y3Ggc.mjs} +3 -1
  18. package/dist/{src-o_5TSoHQ.mjs → src-kUggXhN1.mjs} +519 -98
  19. package/docs/markform-apis.md +30 -1
  20. package/docs/markform-reference.md +65 -6
  21. package/docs/markform-spec.md +2 -2
  22. package/examples/earnings-analysis/earnings-analysis.form.md +1 -0
  23. package/examples/movie-research/movie-research-basic.form.md +1 -0
  24. package/examples/movie-research/movie-research-deep.form.md +16 -56
  25. package/examples/movie-research/movie-research-demo.form.md +60 -0
  26. package/examples/rejection-test/rejection-test-mock-filled.form.md +41 -0
  27. package/examples/rejection-test/rejection-test-mock-filled.report.md +15 -0
  28. package/examples/rejection-test/rejection-test-mock-filled.schema.json +59 -0
  29. package/examples/rejection-test/rejection-test-mock-filled.yml +13 -0
  30. package/examples/rejection-test/rejection-test.form.md +35 -0
  31. package/examples/rejection-test/rejection-test.session.yaml +88 -0
  32. package/examples/simple/simple-mock-filled.report.md +96 -0
  33. package/examples/simple/simple-mock-filled.schema.json +374 -0
  34. package/examples/simple/simple-mock-filled.yml +87 -0
  35. package/examples/simple/simple-skipped-filled.report.md +90 -0
  36. package/examples/simple/simple-skipped-filled.schema.json +374 -0
  37. package/examples/simple/simple-skipped-filled.yml +77 -0
  38. package/examples/simple/simple-with-skips.session.yaml +3 -3
  39. package/examples/simple/simple.form.md +1 -0
  40. package/examples/simple/simple.schema.json +374 -0
  41. package/examples/simple/simple.session.yaml +3 -3
  42. package/examples/startup-deep-research/startup-deep-research.form.md +1 -0
  43. package/examples/startup-research/startup-research.form.md +1 -0
  44. package/package.json +11 -9
  45. package/dist/coreTypes-9XZSNOv6.d.mts +0 -8951
  46. package/dist/session-B_stoXQn.mjs +0 -4
  47. package/examples/movie-research/movie-research-minimal.form.md +0 -68
@@ -1,4 +0,0 @@
1
- import "./coreTypes-pyctKRgc.mjs";
2
- import { n as serializeSession, t as parseSession } from "./session-uF0e6m6k.mjs";
3
-
4
- export { serializeSession };
@@ -1,68 +0,0 @@
1
- ---
2
- markform:
3
- spec: MF/0.1
4
- title: Movie Research (Minimal)
5
- description: Quick movie lookup with just the essentials (title, year, ratings, summary).
6
- roles:
7
- - user
8
- - agent
9
- role_instructions:
10
- user: "Enter the movie title."
11
- agent: |
12
- Quickly identify the movie and fill in basic info from IMDB.
13
- This is a minimal lookup - just get the core facts.
14
- ---
15
- {% form id="movie_research_minimal" title="Movie Research (Minimal)" %}
16
-
17
- ## Movie Research Example
18
-
19
- {% group id="movie_input" title="Movie Identification" %}
20
-
21
- What movie do you want to research? \[*This field is filled in by the user (`role="user"`).*\]
22
-
23
- {% field kind="string" id="movie" label="Movie" role="user" required=true minLength=1 maxLength=300 %}{% /field %}
24
- {% instructions ref="movie" %}Enter the movie title (add year or details for disambiguation).{% /instructions %}
25
-
26
- {% /group %}
27
-
28
- ## About the Movie
29
-
30
- {% group id="about_the_movie" title="About the Movie" %}
31
-
32
- **Title:**
33
-
34
- {% field kind="string" id="full_title" label="Full Title" role="agent" required=true %}{% /field %}
35
- {% instructions ref="full_title" %}Official title, including subtitle if any.{% /instructions %}
36
-
37
- **Release year:**
38
-
39
- {% field kind="number" id="year" label="Release Year" role="agent" required=true min=1888 max=2030 %}{% /field %}
40
-
41
- **IMDB:**
42
-
43
- {% field kind="url" id="imdb_url" label="IMDB URL" role="agent" required=true %}{% /field %}
44
-
45
- **MPAA rating:**
46
-
47
- {% field kind="single_select" id="mpaa_rating" label="MPAA Rating" role="agent" %}
48
- - [ ] G {% #g %}
49
- - [ ] PG {% #pg %}
50
- - [ ] PG-13 {% #pg_13 %}
51
- - [ ] R {% #r %}
52
- - [ ] NC-17 {% #nc_17 %}
53
- - [ ] NR/Unrated {% #nr %}
54
- {% /field %}
55
-
56
- **IMDB rating:**
57
-
58
- {% field kind="number" id="imdb_rating" label="IMDB Rating" role="agent" min=1.0 max=10.0 %}{% /field %}
59
- {% instructions ref="imdb_rating" %}IMDB user rating (1.0-10.0 scale).{% /instructions %}
60
-
61
- **Summary:**
62
-
63
- {% field kind="string" id="logline" label="One-Line Summary" role="agent" maxLength=300 %}{% /field %}
64
- {% instructions ref="logline" %}Brief plot summary in 1-2 sentences, no spoilers.{% /instructions %}
65
-
66
- {% /group %}
67
-
68
- {% /form %}