Skip to content

Commit 769aef8

Browse files
mjerrisclaude
andcommitted
regen(surface): the two committed artifacts the SWAIG regen staled
SIGNATURES-FRESH and DOC-SURFACE-FRESH both compare a fresh enumeration against `git show HEAD:<artifact>`, so the preceding SWAIG regen staled both the moment it landed. Regenerated with the port's own enumerators, nothing else touched: npx tsx scripts/enumerate-signatures.ts --out port_signatures.json npx tsx scripts/enumerate-doc-surface.ts --output docs_audit_surface.json Both diffs are exactly the previous commit's four field changes and nothing more. port_signatures.json: SwaigAction.SWML and SwaigRequest.SWMLCall/SWMLVars appear; extensive_data and functions_on_speaker_timeout go bool -> union<string,bool>. docs_audit_surface.json: the same three member names, plus its `generated_from` provenance line. The enumerators were run with --out/--output explicitly. Without the flag enumerate-* writes nothing and still exits 0, which leaves a stale oracle looking like a clean no-op diff; the 99-module / 2445-method write line is the receipt that real content landed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MjEro9sSs5TLq66rTzSq6Z
1 parent 297c5ef commit 769aef8

2 files changed

Lines changed: 33 additions & 3 deletions

File tree

docs_audit_surface.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "1",
3-
"generated_from": "signalwire-typescript @ 4ecd9f0fc7df205a65c84463d080fb443815f377",
3+
"generated_from": "signalwire-typescript @ 297c5efe57c025c9741e3c31408a21d1c962709e",
44
"typescript_version": "6.0.3",
55
"note": "TS-native camelCase surface — used by audit_docs.py to verify doc/example references. NOT a substitute for port_surface.json (which is Python-translated for Layer B diffing).",
66
"modules": {
@@ -908,6 +908,7 @@
908908
"summarize"
909909
],
910910
"SwaigAction": [
911+
"SWML",
911912
"add_dynamic_hints",
912913
"back_to_back_functions",
913914
"change_context",
@@ -942,6 +943,8 @@
942943
"response"
943944
],
944945
"SwaigRequest": [
946+
"SWMLCall",
947+
"SWMLVars",
945948
"ai_session_id",
946949
"app_name",
947950
"args",

port_signatures.json

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28928,6 +28928,15 @@
2892828928
},
2892928929
"SwaigAction": {
2893028930
"methods": {
28931+
"SWML": {
28932+
"params": [
28933+
{
28934+
"name": "self",
28935+
"kind": "self"
28936+
}
28937+
],
28938+
"returns": "union<string,dict<string,any>>"
28939+
},
2893128940
"add_dynamic_hints": {
2893228941
"params": [
2893328942
{
@@ -28998,7 +29007,7 @@
2899829007
"kind": "self"
2899929008
}
2900029009
],
29001-
"returns": "bool"
29010+
"returns": "union<string,bool>"
2900229011
},
2900329012
"functions_on_speaker_timeout": {
2900429013
"params": [
@@ -29007,7 +29016,7 @@
2900729016
"kind": "self"
2900829017
}
2900929018
],
29010-
"returns": "bool"
29019+
"returns": "union<string,bool>"
2901129020
},
2901229021
"hangup": {
2901329022
"params": [
@@ -30678,6 +30687,24 @@
3067830687
},
3067930688
"SwaigRequest": {
3068030689
"methods": {
30690+
"SWMLCall": {
30691+
"params": [
30692+
{
30693+
"name": "self",
30694+
"kind": "self"
30695+
}
30696+
],
30697+
"returns": "dict<string,any>"
30698+
},
30699+
"SWMLVars": {
30700+
"params": [
30701+
{
30702+
"name": "self",
30703+
"kind": "self"
30704+
}
30705+
],
30706+
"returns": "dict<string,any>"
30707+
},
3068130708
"ai_session_id": {
3068230709
"params": [
3068330710
{

0 commit comments

Comments
 (0)