Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
648 commits
Select commit Hold shift + click to select a range
485a98d
docs: fix encoding (mojibake CP1250/CP1252 -> UTF-8, header ids optio…
lukaszj321 Oct 7, 2025
3b60c7c
docs: fix encoding (mojibake CP1250/CP1252 -> UTF-8, header ids optio…
lukaszj321 Oct 7, 2025
dabf0a2
Merge pull request #23 from lukaszj321/master
lukaszj321 Oct 7, 2025
b347949
docs: fix mojibake -> UTF-8 (no BOM)
lukaszj321 Oct 7, 2025
2ddfe80
Merge pull request #24 from lukaszj321/master
lukaszj321 Oct 7, 2025
3b10926
docs: fix mojibake -> UTF-8 (no BOM)
lukaszj321 Oct 7, 2025
2d6a9b9
Merge branch 'oxandrolone' of https://github.com/lukaszj321/otcv8-dev…
lukaszj321 Oct 7, 2025
68b3313
docs: mojibake fix v2 (strip Ă‚, map ¦->Ł, add ‑ and header …
lukaszj321 Oct 7, 2025
08862ff
docs: mojibake fix v2 (strip Ă‚, map ¦->Ł, add ‑ and header …
lukaszj321 Oct 7, 2025
ff459df
Merge pull request #25 from lukaszj321/master
lukaszj321 Oct 7, 2025
f3ce63e
docs: mojibake fix v3 (double-UTF8 decode, nbsp/nbhyphen, header/arti…
lukaszj321 Oct 7, 2025
039e31c
Merge pull request #26 from lukaszj321/master
lukaszj321 Oct 7, 2025
9b95dfb
usuwam
lukaszj321 Oct 7, 2025
17025ff
Merge pull request #27 from lukaszj321/master
lukaszj321 Oct 7, 2025
867df16
test
lukaszj321 Oct 7, 2025
d99c67a
Merge pull request #28 from lukaszj321/master
lukaszj321 Oct 7, 2025
448c675
wczytanie backup
lukaszj321 Oct 7, 2025
7a01535
Merge pull request #29 from lukaszj321/master
lukaszj321 Oct 7, 2025
1669b75
fix reczny
lukaszj321 Oct 7, 2025
6f2a209
Merge pull request #30 from lukaszj321/master
lukaszj321 Oct 7, 2025
ab61885
utf8
lukaszj321 Oct 7, 2025
3e77c61
Merge pull request #31 from lukaszj321/master
lukaszj321 Oct 7, 2025
9816048
usuwam smieci
lukaszj321 Oct 7, 2025
52f869d
Merge branch 'oxandrolone' of https://github.com/lukaszj321/otcv8-dev…
lukaszj321 Oct 7, 2025
04b61b6
usuwam2
lukaszj321 Oct 7, 2025
6a549a0
usuwam
lukaszj321 Oct 7, 2025
d7c1c4d
Merge pull request #32 from lukaszj321/master
lukaszj321 Oct 7, 2025
8f565b6
fix
lukaszj321 Oct 7, 2025
60bbeef
Update overview.md
lukaszj321 Oct 7, 2025
12a0cc4
fix3
lukaszj321 Oct 7, 2025
1d39768
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
68ee39f
Merge pull request #33 from lukaszj321/master
lukaszj321 Oct 7, 2025
adacb1d
ggg
lukaszj321 Oct 7, 2025
ab88c75
Merge pull request #34 from lukaszj321/master
lukaszj321 Oct 7, 2025
4894895
backup z commita
lukaszj321 Oct 7, 2025
85f8609
Merge pull request #35 from lukaszj321/master
lukaszj321 Oct 7, 2025
77a5cca
usuwam stare skrypty
lukaszj321 Oct 7, 2025
1ae6768
Merge pull request #36 from lukaszj321/master
lukaszj321 Oct 7, 2025
ed3de91
Add .editorconfig for consistent coding style
lukaszj321 Oct 7, 2025
fe1bf97
Create .editorconfig
lukaszj321 Oct 7, 2025
9550ab5
Update .gitattributes
lukaszj321 Oct 7, 2025
6cac8a9
Update .gitattributes
lukaszj321 Oct 7, 2025
7da6221
poprawki znakow
lukaszj321 Oct 7, 2025
6bd7566
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
150930a
Merge pull request #37 from lukaszj321/master
lukaszj321 Oct 7, 2025
a10eccb
Update otclient_v_8_walidator_macierze_ast_i_round_trip_specyfikacja_…
lukaszj321 Oct 7, 2025
0988a06
Merge pull request #38 from lukaszj321/master
lukaszj321 Oct 7, 2025
22b9639
naprawione znaki
lukaszj321 Oct 7, 2025
39fdd30
Merge pull request #39 from lukaszj321/master
lukaszj321 Oct 7, 2025
3a6a0e1
Update luafunctions_client.md
lukaszj321 Oct 7, 2025
39f6d8e
Update luafunctions_client.md
lukaszj321 Oct 7, 2025
f2b3f2d
Update luafunctions_client.md
lukaszj321 Oct 7, 2025
971df40
Update luafunctions_client.md
lukaszj321 Oct 7, 2025
10584fe
xx
lukaszj321 Oct 7, 2025
3b4c5fe
Merge pull request #40 from lukaszj321/master
lukaszj321 Oct 7, 2025
fe62d98
Update android.md
lukaszj321 Oct 7, 2025
fcf7e4d
xx
lukaszj321 Oct 7, 2025
e807edc
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
18b3e24
Merge pull request #41 from lukaszj321/master
lukaszj321 Oct 7, 2025
9b01511
zse
lukaszj321 Oct 7, 2025
af80d72
Merge pull request #42 from lukaszj321/master
lukaszj321 Oct 7, 2025
3617fae
cc
lukaszj321 Oct 7, 2025
ec80562
Merge pull request #43 from lukaszj321/master
lukaszj321 Oct 7, 2025
75f69f8
Update mkdocs.yml
lukaszj321 Oct 7, 2025
f0f6de6
Update mkdocs.yml
lukaszj321 Oct 7, 2025
c8571e9
Update mkdocs.yml
lukaszj321 Oct 7, 2025
7425794
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
5451942
Merge pull request #44 from lukaszj321/master
lukaszj321 Oct 7, 2025
a735f88
Update mkdocs.yml
lukaszj321 Oct 7, 2025
47d09ff
zmiana na |
lukaszj321 Oct 7, 2025
444738e
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
6a819b0
Merge pull request #45 from lukaszj321/master
lukaszj321 Oct 7, 2025
d7cf15e
s
lukaszj321 Oct 7, 2025
0a55ad7
Merge branch 'oxandrolone' of https://github.com/lukaszj321/otcv8-dev…
lukaszj321 Oct 7, 2025
4086221
s
lukaszj321 Oct 7, 2025
01cd327
Update otclient_v_8_specyfikacja_ui.md
lukaszj321 Oct 7, 2025
9334a02
zzzz
lukaszj321 Oct 7, 2025
91254d3
Update otclient_v_8_specyfikacja_ui.md
lukaszj321 Oct 7, 2025
1a97dff
Update otclient_v_8_specyfikacja_ui.md
lukaszj321 Oct 7, 2025
85e7773
Update otclient_v_8_specyfikacja_ui.md
lukaszj321 Oct 7, 2025
3271d5e
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
ce1c50a
Merge pull request #46 from lukaszj321/master
lukaszj321 Oct 7, 2025
ebfb3a0
Update otclient_v_8_specyfikacja_ui.md
lukaszj321 Oct 7, 2025
4a77e06
Update otclient_v_8_specyfikacja_ui.md
lukaszj321 Oct 7, 2025
01825c4
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
895cc4b
zzzzzzz
lukaszj321 Oct 7, 2025
b11750e
Merge pull request #47 from lukaszj321/master
lukaszj321 Oct 7, 2025
7d02b20
naglowki fix1!
lukaszj321 Oct 7, 2025
971fb87
part2 doc
lukaszj321 Oct 7, 2025
3cad5d6
Merge pull request #48 from lukaszj321/master
lukaszj321 Oct 7, 2025
64552fc
Update mkdocs.yml
lukaszj321 Oct 7, 2025
85de940
Update mkdocs.yml
lukaszj321 Oct 7, 2025
56edb28
Remove redirects from mkdocs configuration
lukaszj321 Oct 7, 2025
a830c7e
wjezdza python
lukaszj321 Oct 7, 2025
23f0ac8
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
93c448a
Merge pull request #49 from lukaszj321/master pierwsze podejscie python
lukaszj321 Oct 7, 2025
764efe8
Update mkdocs.yml
lukaszj321 Oct 7, 2025
1298a6b
Add initial requirements for MkDocs and plugins
lukaszj321 Oct 7, 2025
2ae00f2
Update docs.yml
lukaszj321 Oct 7, 2025
fb69b79
Update docs.yml
lukaszj321 Oct 7, 2025
dce0b57
skrypty2
lukaszj321 Oct 7, 2025
decce1e
fix znakow python
lukaszj321 Oct 7, 2025
2146972
Merge pull request #50 from lukaszj321/master
lukaszj321 Oct 7, 2025
2910c0b
Update mkdocs.yml
lukaszj321 Oct 7, 2025
3aa52d6
znaki fix kolejny
lukaszj321 Oct 7, 2025
b448679
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
19b2507
Merge pull request #51 from lukaszj321/master
lukaszj321 Oct 7, 2025
7eceaa2
Update mkdocs.yml
lukaszj321 Oct 7, 2025
c76d1b5
Update docs.yml
lukaszj321 Oct 7, 2025
ac3caea
Create repair_mojibake_polish_hard.py
lukaszj321 Oct 7, 2025
f1d7c86
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 7, 2025
37933cf
Update mkdocs.yml
lukaszj321 Oct 7, 2025
afb7f15
Change validation warning levels to 'warn'
lukaszj321 Oct 7, 2025
3c6e41a
Update mkdocs.yml
lukaszj321 Oct 8, 2025
9335483
Refactor mkdocs.yml for improved structure
lukaszj321 Oct 8, 2025
a3bfed1
Update docs.yml
lukaszj321 Oct 8, 2025
22f59c1
Update docs.yml
lukaszj321 Oct 8, 2025
86046cb
Fix formatting for anchors warning in mkdocs.yml
lukaszj321 Oct 8, 2025
53fa3e0
Uncomment publish_branch line in docs workflow
lukaszj321 Oct 8, 2025
760e397
Update GitHub Actions workflow for MkDocs deployment
lukaszj321 Oct 8, 2025
75e6492
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 8, 2025
55c8cf4
Update mkdocs.yml
lukaszj321 Oct 8, 2025
49d1926
Specify versions for mkdocs and related packages
lukaszj321 Oct 8, 2025
6cf336f
Update docs.yml
lukaszj321 Oct 8, 2025
62e41f0
Create ci-build.sh
lukaszj321 Oct 8, 2025
11a6179
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 8, 2025
503790d
Merge pull request #52 from lukaszj321/master
lukaszj321 Oct 8, 2025
4bd1bb4
Delete docs/guides/architecture.md
lukaszj321 Oct 8, 2025
f407158
Delete docs/modules/modules_core.md
lukaszj321 Oct 8, 2025
67b796c
Delete docs/modules/modules_game_1.md
lukaszj321 Oct 8, 2025
5fe8804
Delete docs/modules/modules_game_2.md
lukaszj321 Oct 8, 2025
644d537
Delete docs/modules/modules_misc.md
lukaszj321 Oct 8, 2025
45e8456
Update mkdocs.yml
lukaszj321 Oct 8, 2025
6f40e4c
Update docs.yml
lukaszj321 Oct 8, 2025
3a46d5e
Update mkdocs.yml
lukaszj321 Oct 8, 2025
11676e3
Refactor GitHub Actions workflow for docs deployment
lukaszj321 Oct 8, 2025
aea26a6
Update mkdocs.yml
lukaszj321 Oct 8, 2025
41eb144
Update fmt.Println message from 'Hello' to 'Goodbye'
lukaszj321 Oct 8, 2025
03b48b3
Update mkdocs.yml by removing module entries
lukaszj321 Oct 8, 2025
ede6193
Update mkdocs.yml
lukaszj321 Oct 8, 2025
94461bc
Update mkdocs.yml
lukaszj321 Oct 8, 2025
52be04b
xz
lukaszj321 Oct 8, 2025
9faea38
Merge pull request #53 from lukaszj321/master
lukaszj321 Oct 8, 2025
8db3bb2
Delete scripts/ci-build.sh
lukaszj321 Oct 8, 2025
7b716f5
Refactor mkdocs.yml for better organization
lukaszj321 Oct 8, 2025
9dfcc13
Implement pip caching in GitHub Actions workflow
lukaszj321 Oct 8, 2025
e7f3daa
Update mkdocs.yml
lukaszj321 Oct 8, 2025
fcba8ce
Exclude additional directories from search
lukaszj321 Oct 8, 2025
71d9de3
Update mkdocs-material and pymdown-extensions versions
lukaszj321 Oct 8, 2025
5bea1d7
Refactor mkdocs.yml for search plugin and exclusions
lukaszj321 Oct 8, 2025
f25043f
Update docs.yml
lukaszj321 Oct 8, 2025
b64c27e
Create mkdocs.modules.yml
lukaszj321 Oct 8, 2025
d01a27a
Create docs-modules-deploy.yml
lukaszj321 Oct 8, 2025
e1d7231
Add GitHub Actions workflow for module deployment
lukaszj321 Oct 8, 2025
664568d
Create mkdocs_modules_hook.py
lukaszj321 Oct 8, 2025
ee3b4aa
Update mkdocs.modules.yml for improved structure
lukaszj321 Oct 8, 2025
0966c83
Update mkdocs_modules_hook.py
lukaszj321 Oct 8, 2025
049a55b
Modify mkdocs.modules.yml for site configuration
lukaszj321 Oct 8, 2025
82fd184
Update GitHub Actions workflow for docs deployment
lukaszj321 Oct 8, 2025
cf05bac
Refactor GitHub Actions workflow for documentation
lukaszj321 Oct 8, 2025
5882ed1
Update print statement from 'Hello' to 'Goodbye'
lukaszj321 Oct 8, 2025
dff3746
Delete mkdocs.modules.yml
lukaszj321 Oct 8, 2025
e3e7157
Delete scripts/mkdocs_modules_hook.py
lukaszj321 Oct 8, 2025
24ca9c6
Update docs.yml
lukaszj321 Oct 8, 2025
cf09dd0
Remove empty line in mkdocs.yml
lukaszj321 Oct 8, 2025
21a59b1
Delete .github/workflows/docs-modules-deploy.yml
lukaszj321 Oct 8, 2025
97d4148
Update deployment action in docs.yml
lukaszj321 Oct 8, 2025
833974b
Remove nav section for automatic menu generation
lukaszj321 Oct 8, 2025
a496c56
Refactor mkdocs.yml configuration
lukaszj321 Oct 8, 2025
61f5b08
Adjust build timeout and clean up dependencies
lukaszj321 Oct 8, 2025
7333713
Update docs.yml
lukaszj321 Oct 8, 2025
a06bfff
Update mkdocs.yml with new features and exclusions
lukaszj321 Oct 8, 2025
dd5401d
Update docs.yml
lukaszj321 Oct 8, 2025
9e969ba
Clean up mkdocs.yml file structure and comments
lukaszj321 Oct 8, 2025
b960125
Add mkdocs.modules.yml configuration file
lukaszj321 Oct 8, 2025
2608d00
Update docs.yml
lukaszj321 Oct 8, 2025
c4c3d62
Update docs.yml
lukaszj321 Oct 8, 2025
44b584f
Update docs.yml
lukaszj321 Oct 8, 2025
e1904f2
Refactor mkdocs.yml configuration and plugins
lukaszj321 Oct 8, 2025
c56fc39
Refactor mkdocs.yml plugin settings
lukaszj321 Oct 8, 2025
72d8246
Update docs.yml
lukaszj321 Oct 8, 2025
7126330
Update mkdocs.yml
lukaszj321 Oct 8, 2025
3a0b2c8
Update docs.yml
lukaszj321 Oct 8, 2025
7f162b3
Update mkdocs.yml
lukaszj321 Oct 8, 2025
f51965d
Update docs.yml
lukaszj321 Oct 8, 2025
d73a0ae
Modify validation settings for mkdocs
lukaszj321 Oct 8, 2025
3d4ac69
sphinx
lukaszj321 Oct 8, 2025
0fd81dd
Merge pull request #54 from lukaszj321/master
lukaszj321 Oct 8, 2025
490f52b
sphinx2
lukaszj321 Oct 8, 2025
35b3a5f
Merge pull request #55 from lukaszj321/master
lukaszj321 Oct 8, 2025
950874a
Update conf.py
lukaszj321 Oct 8, 2025
70cf483
Update Polish comments in conf.py for clarity
lukaszj321 Oct 8, 2025
042f8f9
Create sphinx-pages.yml
lukaszj321 Oct 8, 2025
1eacb22
Update sphinx-pages.yml
lukaszj321 Oct 8, 2025
68b7f8c
Update Sphinx configuration for documentation
lukaszj321 Oct 8, 2025
bb59312
Update index.md
lukaszj321 Oct 8, 2025
b2d6b5f
Update requirements.txt with new package versions
lukaszj321 Oct 8, 2025
bf78b8d
Update conf.py
lukaszj321 Oct 8, 2025
c9689fd
Update conf.py
lukaszj321 Oct 8, 2025
a888561
Create custom.css
lukaszj321 Oct 8, 2025
dd521db
Update requirements.txt
lukaszj321 Oct 8, 2025
35e6378
Update requirements.txt
lukaszj321 Oct 8, 2025
a68ef8f
Downgrade sphinx-hoverxref version
lukaszj321 Oct 8, 2025
1bd1e64
Refactor Sphinx configuration and project details
lukaszj321 Oct 8, 2025
8d4b52a
Update index.md
lukaszj321 Oct 8, 2025
bd777f8
Refactor TOC in docs/index.md
lukaszj321 Oct 8, 2025
beaf32d
Update conf.py
lukaszj321 Oct 8, 2025
ec4e324
sa
lukaszj321 Oct 8, 2025
e2a3c78
Update docs.yml
lukaszj321 Oct 8, 2025
0cd1211
sa
lukaszj321 Oct 8, 2025
d2bd2dc
Merge branch 'master' of https://github.com/lukaszj321/otcv8-dev
lukaszj321 Oct 8, 2025
6972919
Merge branch 'oxandrolone' into master
lukaszj321 Oct 8, 2025
a8a90c6
Update docs.yml
lukaszj321 Oct 8, 2025
d78d301
Merge branch 'oxandrolone' into master
lukaszj321 Oct 8, 2025
09f8b38
Update requirements.txt
lukaszj321 Oct 8, 2025
6c312ef
Update conf.py
lukaszj321 Oct 8, 2025
8b9b578
Update index.md
lukaszj321 Oct 8, 2025
ebd153d
Update index.md
lukaszj321 Oct 8, 2025
f6907cc
Update index.md
lukaszj321 Oct 8, 2025
425f4bd
Update conf.py
lukaszj321 Oct 8, 2025
2632a93
Modify docs/conf.py for Polish language support
lukaszj321 Oct 8, 2025
6f5b407
Revise documentation index and improve captions
lukaszj321 Oct 8, 2025
06fe2b2
Update index.md
lukaszj321 Oct 8, 2025
cd4af69
Update otclient_v_8_specyfikacja_ui.md
lukaszj321 Oct 8, 2025
cf59933
Update otclient_v_8_addendum_import_z_lua_stringow_auto_strict_golden…
lukaszj321 Oct 8, 2025
d2b25f9
Update otclient_v_8_walidator_macierze_ast_i_round_trip_specyfikacja_…
lukaszj321 Oct 8, 2025
aa1307d
Update otclient_v_8_specyfikacja_ui.md
lukaszj321 Oct 8, 2025
dc9bee0
Update index.md
lukaszj321 Oct 8, 2025
ea13f48
Update conf.py
lukaszj321 Oct 8, 2025
7749612
Create t
lukaszj321 Oct 9, 2025
30cf454
Add files via upload
lukaszj321 Oct 9, 2025
88ed3e9
Delete devtemplate directory
lukaszj321 Oct 9, 2025
c014702
Add new text file t.txt in reposzablony directory
lukaszj321 Oct 9, 2025
32527c6
Add files via upload
lukaszj321 Oct 9, 2025
4d3259c
Delete docs/reposzablony/t.txt
lukaszj321 Oct 9, 2025
7952cf6
Rename chapter_1_specyfikacja_implementacji_studio_react_electron_dla…
lukaszj321 Oct 9, 2025
804f745
Delete docs/reposzablony/chapter_01_specyfikacja_implementacji_studio…
lukaszj321 Oct 9, 2025
24ddfbc
przygotowania do dokumentownaia
lukaszj321 Oct 9, 2025
d3c0407
pliki dla agenat
lukaszj321 Oct 9, 2025
91d6321
agent2
lukaszj321 Oct 9, 2025
05ca843
nowe insrukcje
lukaszj321 Oct 9, 2025
a9ade13
Initial plan
Copilot Oct 9, 2025
36c834c
docs(agent): Phase 1 - C++ API documentation for src/**
Copilot Oct 9, 2025
d93adab
docs(agent): Phases 3-4 - Lua and OTUI documentation
Copilot Oct 9, 2025
92ef793
docs(agent): Phases 5-10 - Complete documentation generation system
Copilot Oct 9, 2025
4f9eeba
docs(agent): Add comprehensive README for documentation system
Copilot Oct 9, 2025
012fc09
Merge pull request #61 from lukaszj321/copilot/sync-tech-docs-and-rag
lukaszj321 Oct 9, 2025
dd794be
docs(chapters): structure chapters into folders + add section/stats/d…
lukaszj321 Oct 9, 2025
ee97cec
das
lukaszj321 Oct 9, 2025
a8d3d3b
docs(chapters): structure + stub sections/datasets/diagrams + add fro…
lukaszj321 Oct 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Empty file added $1
Empty file.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
40 changes: 34 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
# Normalize source code before commits
*.lua eol=lf
*.txt eol=lf
*.ot* eol=lf
*.cpp eol=lf
*.h eol=lf
# --- Global defaults ---
* text=auto eol=lf

# --- Dokumentacja: zawsze UTF-8 (bez BOM) ---
*.md text working-tree-encoding=UTF-8

# --- Specjalnie: autogen pełnego API (pewny UTF-8 + LF) ---
docs/api/otcv8-full-api.md text working-tree-encoding=UTF-8 eol=lf

# --- YAML / konfiguracje ---
*.yml text eol=lf
*.yaml text eol=lf

# --- Źródła (Twoje reguły EOL) ---
*.lua text eol=lf
*.txt text eol=lf
*.ot* text eol=lf
*.cpp text eol=lf
*.h text eol=lf

# --- Binarne ---
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.svg -text
*.ico binary
*.pdf binary
*.zip binary
*.7z binary
*.ttf binary
*.otf binary
*.woff binary
*.woff2 binary
56 changes: 56 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
# Repo-wide Copilot Instructions
# File: .github/copilot-instructions.md
# Scope: Copilot Chat, Copilot Code Review, Copilot Coding Agent
# Purpose: Generować dokumentację techniczną + zbiory do RAG z otclient v8 (dev) w sposób bezpieczny i deterministyczny.
---

# otcv8-dev — Agent Contract (RAG‑ready)

## A) IO (read/write)
- WRITE: docs/reposzablony/**
- READ: src/**, modules/**, mods/**, data/**, tools/**, layouts/**, test/**, .github/instructions/**
- DENY: **/backup/**, **/backups/**, **/tmp/**, **/temp/**, **/.cache/**, **/build/**, **/bin/**, **/dist/**, **/.git/**, **/.github/** (z wyjątkiem `.github/instructions/**`)
- Encoding: UTF‑8 (no BOM), EOL: LF.

## B) Materializacja
1) Code fence z `path=` → zapis dokładnie pod ścieżkę (idempotent).
2) `### file: <path>` → następny fenced block = zawartość pliku.
3) Bloki `diff` stosuj tylko dla celów pod `docs/reposzablony/**`.
4) Brak ścieżki ⇒ brak zapisu (log „unmapped code block”).
**Wyjątek:** Generatory C++/Lua/OTUI mogą pisać bezpośrednio do `docs/reposzablony/**` na podstawie źródeł objętych `applyTo`.

## C) RAG metadata
Każdy wygenerowany MD zaczynaj frontmatterem:
```yaml
---
doc_id: "<stable-id>"
source_path: "<repo-rel-path>"
source_sha: "<git-sha1-abbrev>"
last_sync_iso: "2025-10-09T04:03:26Z"
doc_class: "api|ui|spec|guide"
language: "pl"
title: "<human title>"
summary: "<1-2 zdania>"
tags: ["otui","lua","cpp"]
---
```
Chunkowanie: ≤1200 tokenów, overlap ~10%, granice na H2–H4; nie dziel wierszy tabel.

## D) Datasets
- Ścieżki: `docs/reposzablony/datasets/{api,ui,modules}/**.{csv,ndjson}`
- CSV: stałe nagłówki; NDJSON: 1 rekord/linia.
- Rotacja: `maxBytes=50MB` → `datasets/chunks/<base>.<YYYYMMDD-HHMM>.<ext>`

## E) Wstawki do edycji
- `<!-- AGENT:INSERT:READING-GUIDE -->`
- `<!-- AGENT:INSERT:MAPPINGS -->`
- `<!-- AGENT:INSERT:ASSET-EXAMPLES -->`
- `<!-- AGENT:INSERT:LOG-EXAMPLES -->`
(≤50 linii; idempotentnie, bez zmiany otoczenia)

## F) Kryteria PR
- Zmiany wyłącznie w `docs/reposzablony/**`.
- Frontmatter obecny; linki względne działają.
- CSV ma nagłówki; NDJSON poprawny; rotacja zachowana.
- Tytuł PR: `docs(agent): sync tech docs + rag datasets`.
201 changes: 201 additions & 0 deletions .github/instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
---
# Repo-wide Copilot Instructions
# File: .github/copilot-instructions.md
# Scope: Copilot Chat, Copilot Code Review, Copilot Coding Agent
# Purpose: Generować **dokumentację techniczną** + **zbiory do RAG** z otclient v8 (dev) w sposób bezpieczny i deterministyczny.
---

# otcv8-dev — Agent Contract (RAG‑ready)

## A) Cel i zakres
**Goal:** Agent tworzy i utrzymuje dokumentację (MD) i zbiory danych (CSV/NDJSON) na podstawie **C++/Lua/OTUI** repo oraz źródeł kanonicznych w `docs/reposzablony/*.md`. Artefakty muszą być **RAG‑friendly** (metadane, chunkowanie, stabilne ID).

## B) Polityka IO (czytaj/zapis)
- **WRITE (dozwolone):** `docs/reposzablony/**` *(jedyna ścieżka zapisu)*.
- **READ (dozwolone):** `src/**`, `modules/**`, `mods/**`, `data/**`, `tools/**`, `layouts/**`, `test/**` (tylko do odczytu), opcj. `android/**`, `vc16/**`.
- **DENY (nigdy nie czytaj/nie zapisuj):** `**/backup/**`, `**/backups/**`, `**/tmp/**`, `**/temp/**`, `**/.cache/**`, `**/build/**`, `**/bin/**`, `**/dist/**`, `**/.git/**`, `**/.github/**` *(poza plikami instrukcji)*.
- **Kodowanie/EOL:** UTF‑8 **bez BOM**, EOL = **LF**.

## C) Materializacja treści (źródła → artefakty)
**Źródła:**
1. **Kod repo:** C++ (`.h/.hpp/.hxx`), Lua (`.lua`), OTUI (`.otui`).
2. **Specyfikacje:** `docs/reposzablony/chapter_*.md` (jeśli zawierają bloki „file:” lub code fences z atrybutem `path=`).

**Reguły:**
1) **Code fence z atrybutem `path=` (preferowane)**
````
```lua path=docs/reposzablony/03_modules/examples/foo.lua
-- treść pliku
```
````
→ zapis dokładnie pod `path` (idempotent: tylko gdy różni się treść).

2) **Marker sekcji `### file: <ścieżka>`**
```
### file: docs/reposzablony/04_ui/diagrams/widgets.mmd
```mermaid
graph TD; A-->B
```
```
→ następny fenced block to zawartość pliku docelowego.

3) **Bloki `diff`** – stosuj tylko gdy `+++ b/...` wskazuje `docs/reposzablony/**`.

4) **Brak ścieżki ⇒ brak zapisu** – dopisz notatkę „unmapped code block”.

> **Wyjątek:** Generatory C++/Lua/OTUI mogą pisać **bezpośrednio** pod `docs/reposzablony/**` na podstawie źródeł objętych `applyTo` (patrz §J).

## D) Profil RAG: metadane, chunkowanie, ID
### D1. YAML frontmatter dla **każdego** wygenerowanego MD
Umieszczaj na górze pliku:
```yaml
---
doc_id: "ui:modules/game_healthbars/ui_window" # stabilne ID dokumentu
source_path: "modules/game_healthbars/window.otui" # relatywna ścieżka źródła
source_sha: "<git-sha1-abbrev>"
last_sync_iso: "${NOW_ISO}"
doc_class: "ui|api|spec|guide" # do wyboru
language: "pl"
title: "Okno: game_healthbars"
summary: "Struktura widgetów, właściwości, zależności stylów."
tags: ["otui","widgets","ui","healthbars"]
entities:
- type: "widget"; id: "GameHealthbarsWindow"
- type: "module"; id: "game_healthbars"
links:
- label: "Powiązany moduł Lua"
path: "../03_modules/lua/modules/game_healthbars/init.md"
---
```

### D2. Chunkowanie (embedding‑ready)
- **Cel:** stałe, semantyczne bloki ≤ **1200 tokenów**, z **overlap ~10%**.
- **Granice chunków:** preferuj **nagłówki (H2–H4)**, zachowuj całe fenced code blocks.
- **ID chunku:** `block_id = doc_id + "#" + slug(nagłówka lub sekcji)`. Jeśli brak nagłówka → `block-<n>`.
- **Sekcje tabelaryczne** (np. listy pól/parametrów) nie dziel na środku wiersza.

### D3. Linki i kotwice
- Twórz **relatywne** linki między dokumentami; normalizuj kotwice `kebab-case`.
- Dodawaj *See also* sekcję (krótka lista 3–5 linków powiązanych).

## E) Struktura wyjścia i nazewnictwo
- C++ API → `docs/reposzablony/01_core/api/cpp/<REL_PATH>.md` *(REL_PATH = ścieżka pliku nagłówkowego z `.md`)*
- Lua → `docs/reposzablony/03_modules/lua/<REL_PATH>.md`
- OTUI → `docs/reposzablony/04_ui/otui/<REL_PATH>.md`
- Diagramy/mermaid → `docs/reposzablony/04_ui/diagrams/**`
- Zbiory RAG → `docs/reposzablony/datasets/{api,ui,modules}/**.{csv,ndjson}`

## F) Format treści (skrót)
### F1. C++ (plik MD)
- H1 = pełna ścieżka pliku źródłowego
- Sekcje: **Overview**, **Namespaces**, **Classes/Structs** (public/protected), **Enums**, **Functions**, **Types/Aliases**
- Dla klas: tabelka `member | brief | signature`
- Na końcu: **Mermaid classDiagram** lokalnych typów

### F2. Lua (plik MD)
- Sekcje: **Globals/Exports**, **Functions** (z param/returns), **Events/Callbacks**, **Examples** (gdy są w komentarzach)

### F3. OTUI (plik MD)
- Tabela: `id | class | parent | key props` + zredukowany AST + mały **graph TD** zależności

## G) Walidacje i bramki jakości
- **Frontmatter** wymagany (patrz §D1).
- **Lint linków**: brak martwych linków w obrębie `docs/reposzablony/**`.
- **Idempotencja**: zapisuj tylko, gdy diff ≠ 0.
- **Bez PII**: treści użytkownika zastępuj wskaźnikami (np. `hasMessage: true`).

## H) Dane do RAG — CSV/NDJSON (z próbkami)
### H1. CSV – nagłówki (stałe)
- `api` → `ts,id,decl,kind,owner,brief,source`
- `ui` → `ts,id,widgetClass,parent,props,source`
- `mods` → `ts,id,symbol,kind,module,brief,source`

### H2. NDJSON – przykładowe rekordy
**api.ndjson**
```json
{"ts":"${NOW_ISO}","id":"api:Thing@modules/core/thing.hpp","decl":"class Thing","kind":"class","owner":"core","brief":"Encapsulates X.","source":"modules/core/thing.hpp#L12"}
```
**ui.ndjson**
```json
{"ts":"${NOW_ISO}","id":"ui:modules/game_healthbars/GameHealthbarsWindow","widgetClass":"MainWindow","parent":null,"props":{"size":"600 400","anchors":"center"},"source":"modules/game_healthbars/window.otui#1"}
```
**mods.ndjson**
```json
{"ts":"${NOW_ISO}","id":"mod:game_healthbars.show","symbol":"show","kind":"function","module":"game_healthbars","brief":"Open healthbars window.","source":"modules/game_healthbars/init.lua#L42"}
```

### H3. Rotacja plików
- `maxBytes = 50 MB`; po przekroczeniu → przenieś do `datasets/chunks/<base>.<YYYYMMDD-HHMM>.<ext>` i zacznij nowy plik (CSV musi rozpocząć się nagłówkiem).

### H4. Strony statystyk (deterministyczne)
- Top N wg klucza (sort rosnący po kluczu grupującym), sekcje: „Top by module”, „Top by widgetClass”, „API surface by namespace”.

## I) Miejsca wstawek (Agent może edytować **tylko** w tych markerach)
- `<!-- AGENT:INSERT:READING-GUIDE -->`
- `<!-- AGENT:INSERT:MAPPINGS -->`
- `<!-- AGENT:INSERT:LOG-EXAMPLES -->`
- `<!-- AGENT:INSERT:ASSET-EXAMPLES -->`
> Każda wstawka ≤ 50 linii; zachowuj otaczające formatowanie.

## J) Instrukcje per‑obszar (`.github/instructions/*.instructions.md`)
Użyj **YAML frontmatter** z `applyTo` aby ograniczyć zakres. Przykłady:

**`01-cpp-api.instructions.md`**
```md
---
applyTo:
- "src/**.{h,hpp,hxx}"
- "modules/**.{h,hpp,hxx}"
---
# Task
Dla każdego pliku nagłówkowego wygeneruj MD (public/protected: klasy, enumy, funkcje). Pomiń prywatne. Wyciągaj komentarze `///` i `/** */`.

# Output
Zapis do: `docs/reposzablony/01_core/api/cpp/<REL_PATH>.md`
```

**`02-ui-lua.instructions.md`**
```md
---
applyTo:
- "modules/**/*.otui"
- "modules/**/*.lua"
- "mods/**/*.lua"
---
# Task
OTUI → lista widgetów (id,class,parent,props) + AST + mały diagram. Lua → exports, funkcje publiczne, eventy.

# Output
OTUI → `docs/reposzablony/04_ui/otui/<REL_PATH>.md`
Lua → `docs/reposzablony/03_modules/lua/<REL_PATH>.md`
```

## K) Setup (bootstrap minimalny)
- **Workflow** `.github/copilot-setup-steps.yml` z jobem `copilot-setup-steps`:
- `bash docs/reposzablony/_bootstrap.sh || true`
- `mkdir -p docs/reposzablony/{01_core/api/cpp,03_modules/lua,04_ui/otui,datasets/{api,ui,modules}}`

## L) Kryteria akceptacji (PR)
- ✅ Zmienione **wyłącznie** pliki w `docs/reposzablony/**`.
- ✅ Każdy MD ma **frontmatter** z §D1; linki działają.
- ✅ CSV mają nagłówki; NDJSON poprawne; rotacja zachowana.
- ✅ Brak arbitralnych zmian formatowania; tylko rzeczywiste różnice.
- ✅ Tytuł PR: `docs(agent): sync tech docs + rag datasets` + krótki opis.

---
## Załącznik A — Sanitizacja ID
- **Token charset:** `[A-Za-z0-9_.-]`.
- Zastąp spacje i „/” na `-` lub `_` zależnie od kontekstu; diakrytyki → ASCII.

## Załącznik B — Utility (kontrakty)
- `nowIso()` → `YYYY-MM-DDTHH:mm:ss.sssZ`.
- `fnv1a(s)` → 32‑bit (Lua: `bit32`/`bit`), hex małe litery.

## Załącznik C — Klasy dokumentów
- `doc_class`: `api`, `ui`, `spec`, `guide` (używaj spójnie dla RAG).

<!-- AGENT:INSERT:READING-GUIDE -->
<!-- AGENT:INSERT:MAPPINGS -->
<!-- AGENT:INSERT:ASSET-EXAMPLES -->
<!-- AGENT:INSERT:LOG-EXAMPLES -->

25 changes: 25 additions & 0 deletions .github/instructions/01-cpp-api.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
applyTo:
- "src/**.{h,hpp,hxx}"
- "modules/**.{h,hpp,hxx}"
---
# Task
Dla każdego pliku nagłówkowego C++ wygeneruj Markdown z: namespaces, klasy/struct (public/protected), enumy, funkcje, aliasy typów.
Pomiń części prywatne. Zbieraj komentarze `///` i `/**...*/` jako `brief`.

# Output (write)
Zapisuj do: `docs/reposzablony/01_core/api/cpp/<REL_PATH>.md` (REL_PATH = ścieżka źródła z `.md`). UTF‑8 LF. Nadpisuj tylko przy różnicy treści.

# Format
- H1: pełna ścieżka pliku źródłowego
- Sekcje: **Overview**, **Namespaces**, **Classes/Structs**, **Enums**, **Functions**, **Types/Aliases**
- Klasy: tabela `member | brief | signature`
- Końcówka: lokalny `classDiagram` (Mermaid) typów z tego pliku

# Heurystyki
- Rozpoznawaj `namespace`, `class|struct`, `enum( class)?`, prototypy (public/protected)
- Sygnatury: typ + nazwa + paramy (bez atrybutów)
- Szablony: `template<...>` w 1 linii nad typem

# RAG
Frontmatter wg kontraktu; `doc_class: api`. Chunkuj wg nagłówków (≤1200 tokenów, ~10% overlap).
Empty file.
24 changes: 24 additions & 0 deletions .github/instructions/02-ui-lua.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
applyTo:
- "modules/**/*.otui"
- "modules/**/*.lua"
- "mods/**/*.lua"
---
# Task
**OTUI:** lista widgetów (id, class, parent, props), uproszczony AST + mały `graph TD` zależności.
**Lua:** moduły/eksporty, funkcje publiczne (param/returns), eventy/callbacki, przykłady z komentarzy.

# Output (write)
- OTUI → `docs/reposzablony/04_ui/otui/<REL_PATH>.md`
- Lua → `docs/reposzablony/03_modules/lua/<REL_PATH>.md`

# Format
- H1: ścieżka źródła
- OTUI: tabela `id | class | parent | key props` + zredukowany AST + `graph TD`
- Lua: **Globals/Exports**, **Functions**, **Events/Callbacks**, **Examples**

# Zasady
- Odczyt tylko ze źródeł; zapis wyłącznie pod `docs/reposzablony/**`; idempotentnie.

# RAG
Frontmatter (`doc_class: ui` lub `spec`), linki do powiązanych modułów Lua.
Empty file.
16 changes: 16 additions & 0 deletions .github/instructions/03-rag-datasets.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
applyTo:
- "docs/reposzablony/**/*.md"
---
# Task
Z plików MD (z frontmatterem) buduj **zbiory RAG**:
- `datasets/api.*` — symbole C++ (`doc_class=api`)
- `datasets/ui.*` — widgety/OTUI (`doc_class=ui`)
- `datasets/modules.*`— eksporty Lua

# Output (write)
`docs/reposzablony/datasets/{api,ui,modules}/**.{ndjson,csv}` z rotacją i nagłówkami wg kontraktu.

# Zasady CSV/NDJSON
- CSV zaczyna się nagłówkiem; NDJSON: 1 rekord/linia.
- `maxBytes = 50 MB` → rotacja do `datasets/chunks/…` i nowy plik.
Empty file.
Loading