You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a5e5c1b
Browse filesBrowse the repository at this point in the historyBrowse files
Framework version everywhere it can be checked (0.7.4): a built-in Fleet column, ext_start's fw, the dev panel
- live-debug: every server declares the built-in column tt_framework ("Framework", FRAMEWORK_VERSION) first, so
the Fleet page shows which framework each server runs (kernel 0.5.7, no kernel release). It takes one of the
kernel's 16 slots: games get 15, and tt_ names are reserved.
- Extended recordings: recording_meta ext_start carries fw (the framework version).
- Dev panel: a Framework line on the client page and on the server status (facts.framework).
- Tests: live-debug (the built-in column, the 15 limit, the reserved prefix), analytics-server (ext_start fw).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@typetorch/framework",
3
-
"version": "0.7.3",
3
+
"version": "0.7.4",
4
4
"description": "TypeTorch framework for roblox-ts: hot-swappable modules (dependency injection, lifecycle, troves), guarded networking, hot assets and the in-game dev menu. Ships inside every TypeTorch artifact.",
check("bind: handlers installed and the early registration declared at once", typeof(kernel.command) =="function"andtypeof(kernel.column) =="function"andtypeof(kernel.stream) =="function"and#kernel.declared==1andkernel.declared[1].columns[1].name=="current_map")
181
+
check("bind: handlers installed and the early registration declared at once", typeof(kernel.command) =="function"andtypeof(kernel.column) =="function"andtypeof(kernel.stream) =="function"and#kernel.declared==1andkernel.declared[1].columns[2].name=="current_map")
182
+
check("bind: the built-in tt_framework column is declared first", kernel.declared[1].columns[1].name=="tt_framework"andkernel.declared[1].columns[1].label=="Framework"andkernel.declared[1].columns[1].type=="string")
166
183
check("supported on 0.5.7", remoteDebug:supported() ==true)
167
184
168
185
localcalls= {}
@@ -183,7 +200,7 @@ check("registrations in one frame are declared once, deferred", #kernel.declared
183
200
settle()
184
201
check("...then one declaration", #kernel.declared==2, #kernel.declared)
185
202
localdecl=kernel.declared[2]
186
-
check("declaration: columns in order with label and type", #decl.columns==2anddecl.columns[1].name=="current_map"anddecl.columns[1].label=="Map"anddecl.columns[1].type=="string"anddecl.columns[2].name=="in_round"anddecl.columns[2].type=="bool")
203
+
check("declaration: columns in order with label and type", #decl.columns==3anddecl.columns[2].name=="current_map"anddecl.columns[2].label=="Map"anddecl.columns[2].type=="string"anddecl.columns[3].name=="in_round"anddecl.columns[3].type=="bool")
187
204
check("declaration: commands with label and description", #decl.commands==1anddecl.commands[1].name=="round_state"anddecl.commands[1].label=="Round"anddecl.commands[1].description=="The current round")
188
205
check("declaration: streams with hz, kind (json by default) and label", #decl.streams==2anddecl.streams[1].hz==2anddecl.streams[1].kind=="points"anddecl.streams[1].label=="Loot"anddecl.streams[2].kind=="json")
189
206
@@ -196,6 +213,7 @@ check("command handler: an unknown name throws", throws(function()
196
213
kernel.command("nope", {}, caller)
197
214
end, "unknown command"))
198
215
check("column handler: the getter's value", kernel.column("current_map") =="Lobby"andkernel.column("in_round") ==trueandkernel.column("nope") ==nil)
216
+
check("column handler: tt_framework is this framework's version", kernel.column("tt_framework") ==VERSION.FRAMEWORK_VERSIONand#VERSION.FRAMEWORK_VERSION>0)
Copy file name to clipboardExpand all lines: src/analytics/SCHEMA.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ one codec filter on `codec`.
80
80
| state |`screen`|`to`, `from` (`""` = none). Client: ScreenGuis in PlayerGui (Enabled), GuiObjects tagged `TTScreen` (Visible), `screen()`|
81
81
| experiment |`<experiment>`|`variant`, `variants` (count), `vi` (the variant's 1-based position in the game's list; 0.7.1+), `forced?` (the settings or the player's own dev pick chose it). Once per session when assigned or changed, and again when the same variant becomes or stops being forced. At most 32 experiments per session: a 33rd `experiment()` returns the control (the first variant) and warns. A client's experiment calls count against its event budget (below) |
82
82
| recording_meta |`start`|`share` (the recorded share then), `secs?` (the window then: `recordSeconds`, or `extended.seconds` for an extended session; frameworks before it leave it out and used 60) |
83
-
| recording_meta |`ext_start`| plans/36, the first tt-ext-1 chunk arrived: `secs` (`extended.seconds`) |
83
+
| recording_meta |`ext_start`| plans/36, the first tt-ext-1 chunk arrived: `secs` (`extended.seconds`), `fw` (the framework version, 0.7.4+)|
84
84
| recording_meta |`ext_end`|`chunks`, `bytes`, `why`: as `end`'s (`window`, `left`, `cap` = 2 MB or 200 chunks, `end`) |
85
85
| recording_meta |`end`|`chunks`, `bytes`, `why`: `window` (`recordSeconds`, default 60 s, after the first input), `cap` (10 min, or the recording's 256 KB / 80 chunks), `left`, `end`|
86
86
| fleet |`heartbeat`| The kernel's `fleetStatus()` (kernel 0.3.2+), every 60 ± 10 s and once at each generation start. pid `""`|
if(name.sub(1,RESERVED_COLUMN_PREFIX.size())===RESERVED_COLUMN_PREFIX)error(`${what}: names starting with ${RESERVED_COLUMN_PREFIX} are reserved (got ${name})`,2);
227
241
if(!typeIs(getter,"function"))error(`${what}: pass a getter function`,2);
228
242
if(options!==undefined&&!typeIs(options,"table"))error(`${what}: options must be a table`,2);
0 commit comments