@blockslides/ai-context 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blockslides/ai-context",
3
3
  "description": "AI context snippets for BlockSlides (v1 atoms, examples, schemas, types)",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "keywords": [
6
6
  "blockslides",
7
7
  "ai",
@@ -1,5 +1,4 @@
1
1
  export const bulletList = `
2
- <Context>
3
2
  <bulletList>
4
3
  Node: bulletList
5
4
  Attrs:
@@ -13,7 +12,6 @@ Semantics:
13
12
  - Use when you need bullet points inside a column or blockquote.
14
13
  - Do not use bulletList as a top-level child of doc; it belongs inside a column/row structure.
15
14
  </bulletList>
16
- </Context>
17
15
  `.trim();
18
16
 
19
17
 
@@ -6,16 +6,6 @@ export const editingRules = `
6
6
  - Keep the document valid: slide > row > column > blocks.
7
7
  </General editing rules>
8
8
 
9
- <Layout and structure>
10
- - Do not change the overall hierarchy: doc > slide > row > column > blocks.
11
- - You may add, remove, or reorder blocks inside a column if requested, but keep the slide/row/column structure intact.
12
- - When duplicating content, generate new ids for new nodes but keep existing ids unchanged.
13
- - Example (valid move):
14
- - Move a heading block from one column's content array to another column's content array within the same slide.
15
- - Example (invalid change):
16
- - Replacing a slide node with a column node, or inserting a column directly under doc.
17
- </Layout and structure>
18
-
19
9
  <Centering content in a column>
20
10
  - Columns are flex containers. Use their alignment attrs instead of per-block hacks.
21
11
  - To center all content vertically and horizontally inside a column:
@@ -1,5 +1,4 @@
1
1
  export const row = `
2
- <Context>
3
2
  <row>
4
3
  Node: row
5
4
  Attrs:
@@ -15,7 +14,6 @@ Semantics:
15
14
  - 1-1-1-1: four equal columns
16
15
  - Empty layout ("", "1") acts as a single full-width column.
17
16
  </row>
18
- </Context>
19
17
  `.trim();
20
18
 
21
19