@tsplc/tmp-debug 0.0.0-stage → 0.6.2
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/README.md +38 -2
- package/dist/api.js +744 -0
- package/dist/api.js.map +12 -0
- package/dist/constant.js +33 -0
- package/dist/constant.js.map +10 -0
- package/dist/explain-file.js +468 -0
- package/dist/explain-file.js.map +11 -0
- package/dist/explain.js +1310 -0
- package/dist/explain.js.map +19 -0
- package/dist/format.js +214 -0
- package/dist/format.js.map +12 -0
- package/dist/index.js +4066 -0
- package/dist/index.js.map +44 -0
- package/dist/manifest.js +240 -0
- package/dist/manifest.js.map +10 -0
- package/dist/paths.js +242 -0
- package/dist/paths.js.map +10 -0
- package/package.json +72 -4
- package/src/adapter.ts +77 -0
- package/src/api.ts +446 -0
- package/src/app-server.ts +151 -0
- package/src/build-files.ts +46 -0
- package/src/constant.ts +41 -0
- package/src/debugger.ts +237 -0
- package/src/errors.ts +13 -0
- package/src/explain-expressions.ts +484 -0
- package/src/explain-file.ts +325 -0
- package/src/explain-frames.ts +155 -0
- package/src/explain-loops.ts +151 -0
- package/src/explain-operations.ts +232 -0
- package/src/explain-tables.ts +345 -0
- package/src/explain-value.ts +203 -0
- package/src/explain-verdicts.ts +548 -0
- package/src/explain.ts +82 -0
- package/src/hardware.ts +159 -0
- package/src/http.ts +218 -0
- package/src/index.ts +44 -0
- package/src/jobs.ts +139 -0
- package/src/login-value.ts +165 -0
- package/src/login.ts +315 -0
- package/src/manifest.ts +328 -0
- package/src/opcua.ts +80 -0
- package/src/paths.ts +363 -0
- package/src/requests.ts +99 -0
- package/src/server-cursor.ts +22 -0
- package/src/shown.ts +229 -0
- package/src/telemetry.ts +125 -0
- package/src/timeline.ts +148 -0
- package/src/trace.ts +62 -0
- package/src/ui/bits.ts +48 -0
- package/src/ui/client.ts +87 -0
- package/src/ui/dom.ts +61 -0
- package/src/ui/explain-read.ts +105 -0
- package/src/ui/format.ts +261 -0
- package/src/ui/hardware.ts +425 -0
- package/src/ui/header.ts +207 -0
- package/src/ui/health.ts +64 -0
- package/src/ui/index.ts +27 -0
- package/src/ui/jobs.ts +263 -0
- package/src/ui/links.ts +59 -0
- package/src/ui/live-value.ts +85 -0
- package/src/ui/main.ts +76 -0
- package/src/ui/overview.ts +178 -0
- package/src/ui/page.ts +286 -0
- package/src/ui/pages.ts +64 -0
- package/src/ui/recent-window.ts +49 -0
- package/src/ui/recent.ts +355 -0
- package/src/ui/request-trace.ts +38 -0
- package/src/ui/requests.ts +80 -0
- package/src/ui/routes.ts +98 -0
- package/src/ui/store.ts +295 -0
- package/src/ui/success-cache.ts +11 -0
- package/src/ui/tree.ts +162 -0
- package/src/ui/variables.ts +597 -0
- package/src/ui/why-watch.ts +11 -0
- package/src/ui/why.ts +694 -0
- package/src/values.ts +170 -0
- package/src/watch.ts +32 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/explain-file.ts", "../src/manifest.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import {\n\tvalueBinaryOperators,\n\tvalueUnaryOperators,\n} from \"@tsplc/iec/arithmetic\";\nimport { z } from \"zod\";\nimport { json, sourceRange } from \"./manifest\";\n\n/**\n * Why each stored value is what it is: every statement that writes it, the conditions it runs\n * under and the expressions it evaluates, rebuilt from the compiler's per-instance model. Written\n * beside `debug.json`, whose `explain.sha256` binds it to the build, as `explainFile`.\n */\nexport const explainFileName = \"explain.json\";\n\n/** An index into one of this file's tables. */\nconst tableIndex = z.number().int().nonnegative();\n/** A pre-order statement index within a routine. */\nconst position = z.number().int().nonnegative();\n\nexport const explainExpression = z.discriminatedUnion(\"kind\", [\n\t/** Stored state, captured at `capturedAt`; `path` is a slot of its routine row's `paths`. */\n\tz.object({\n\t\tkind: z.literal(\"read\"),\n\t\tpath: tableIndex,\n\t\tcapturedAt: position,\n\t\t/** A call runs between the read and its use, and may have changed what was read. */\n\t\tinterleaved: z.literal(true).optional(),\n\t\ttype: z.string(),\n\t}),\n\t/** An element at runtime indexes: `path` has a `[*]` for each of `indexes`. */\n\tz.object({\n\t\tkind: z.literal(\"pattern\"),\n\t\tpath: tableIndex,\n\t\tindexes: z.array(tableIndex),\n\t\tcapturedAt: position,\n\t\tinterleaved: z.literal(true).optional(),\n\t\ttype: z.string(),\n\t}),\n\tz.object({ kind: z.literal(\"constant\"), value: json, type: z.string() }),\n\tz.object({\n\t\tkind: z.literal(\"record\"),\n\t\tfields: z.record(z.string(), tableIndex),\n\t\ttype: z.string(),\n\t}),\n\tz.object({\n\t\tkind: z.literal(\"array\"),\n\t\tlower: z.number().int(),\n\t\titems: z.array(tableIndex),\n\t\ttype: z.string(),\n\t}),\n\t/** A local, by its slot in its routine row's `locals`, read at `at`. */\n\tz.object({\n\t\tkind: z.literal(\"local\"),\n\t\tlocal: tableIndex,\n\t\tpath: z.array(z.string()),\n\t\tat: position,\n\t\ttype: z.string(),\n\t}),\n\t/** The routine's parameter: the call site's argument, or its `locals` slot when the routine writes it. */\n\tz.object({\n\t\tkind: z.literal(\"parameter\"),\n\t\tparameter: z.number().int().nonnegative(),\n\t\tpath: z.array(z.string()),\n\t\tat: position,\n\t\tlocal: tableIndex.nullable(),\n\t\ttype: z.string(),\n\t}),\n\t/** A call's result: `call` is a slot of its routine row's `calls`. */\n\tz.object({\n\t\tkind: z.literal(\"call\"),\n\t\tcall: tableIndex,\n\t\tpath: z.array(z.string()),\n\t\ttype: z.string(),\n\t}),\n\t/** The PLC's millisecond clock as a DINT. */\n\tz.object({ kind: z.literal(\"clock\"), type: z.string() }),\n\t/** An object reference: its operand holds a setup object's id, listed in `references`. */\n\tz.object({ kind: z.literal(\"reference\"), operand: tableIndex }),\n\tz.object({\n\t\tkind: z.literal(\"unary\"),\n\t\toperator: z.enum(valueUnaryOperators),\n\t\toperand: tableIndex,\n\t\ttype: z.string(),\n\t}),\n\tz.object({\n\t\tkind: z.literal(\"binary\"),\n\t\toperator: z.enum(valueBinaryOperators),\n\t\tpolicy: z.enum([\"wrap\", \"saturate\"]).optional(),\n\t\tleft: tableIndex,\n\t\tright: tableIndex,\n\t\ttype: z.string(),\n\t}),\n\tz.object({\n\t\tkind: z.literal(\"convert\"),\n\t\tpolicy: z.enum([\"exact\", \"wrap\", \"saturate\"]),\n\t\toperand: tableIndex,\n\t\ttype: z.string(),\n\t}),\n\tz.object({\n\t\tkind: z.literal(\"logical\"),\n\t\toperator: z.enum([\"and\", \"or\"]),\n\t\tleft: tableIndex,\n\t\tright: tableIndex,\n\t}),\n\tz.object({\n\t\tkind: z.literal(\"select\"),\n\t\tcondition: tableIndex,\n\t\t// biome-ignore lint/suspicious/noThenProperty: a `?:` branch is data, not a thenable.\n\t\tthen: tableIndex,\n\t\telse: tableIndex,\n\t\ttype: z.string(),\n\t}),\n\t/** Not traced: `text` says why, and `reads` lists the stored values it depends on. */\n\tz.object({\n\t\tkind: z.literal(\"opaque\"),\n\t\ttext: tableIndex,\n\t\treads: z.array(tableIndex),\n\t\ttype: z.string(),\n\t}),\n]);\nexport type ExplainExpression = z.infer<typeof explainExpression>;\n\n/** Holds when none of the conjunctions holds: no earlier statement left. */\nconst exitsCondition = z.object({\n\tkind: z.literal(\"exits\"),\n\tget any(): z.ZodArray<z.ZodArray<typeof explainCondition>> {\n\t\treturn z.array(z.array(explainCondition));\n\t},\n});\n\n// A union rather than a discriminated one: TypeScript can't infer a discriminated union that contains itself.\nexport const explainCondition = z.union([\n\tz.object({\n\t\tkind: z.literal(\"test\"),\n\t\ttest: tableIndex,\n\t\tholds: z.boolean(),\n\t\tat: position,\n\t\ttext: tableIndex.nullable(),\n\t}),\n\tz.object({\n\t\tkind: z.literal(\"cases\"),\n\t\ttest: tableIndex,\n\t\tvalues: z.array(json),\n\t\tmember: z.boolean(),\n\t\tat: position,\n\t\ttext: tableIndex.nullable(),\n\t}),\n\texitsCondition,\n\t/** `loop` is a slot of the routine row's `loops`. */\n\tz.object({ kind: z.literal(\"loop\"), loop: tableIndex }),\n\t/** Holds when no iteration of the loop returned. */\n\tz.object({ kind: z.literal(\"loopReturns\"), loop: tableIndex }),\n\t/** The routine row's job is at `step`. */\n\tz.object({ kind: z.literal(\"job\"), step: z.number().int() }),\n\t/** Code outside the job's step switch, which runs while the job is busy. */\n\tz.object({ kind: z.literal(\"jobBusy\") }),\n]);\nexport type ExplainCondition = z.infer<typeof explainCondition>;\n\nconst record = {\n\troutine: tableIndex,\n\tposition,\n\t/** The innermost `conditions` entry the statement runs under; its parents are the outer ones. Null for none. */\n\tconditions: tableIndex.nullable(),\n\t/** The `sites` entry for where the statement is; null when it has no source in the project. */\n\tsite: tableIndex.nullable(),\n};\n\nconst written = z.discriminatedUnion(\"kind\", [\n\tz.object({ kind: z.literal(\"path\"), path: tableIndex }),\n\tz.object({\n\t\tkind: z.literal(\"pattern\"),\n\t\tpath: tableIndex,\n\t\tindexes: z.array(tableIndex),\n\t}),\n]);\n\nexport const explainAssignment = z.object({\n\t...record,\n\tkind: z.enum([\"assign\", \"call\", \"block\", \"input\", \"return\", \"counter\"]),\n\twrites: written,\n\t/** A record or array written as a whole, so it writes every path below `writes`. */\n\twhole: z.boolean(),\n\tvalue: tableIndex.nullable(),\n\t/** A standard block's update: its kind, inputs and elapsed-time output. */\n\tblock: z\n\t\t.object({\n\t\t\tkind: z.string(),\n\t\t\tinputs: z.record(z.string(), tableIndex),\n\t\t\telapsed: tableIndex.nullable(),\n\t\t})\n\t\t.nullable(),\n\t/**\n\t * For a write through a by-reference parameter, the calls from the writer up to where the place\n\t * is named, innermost first. The write reaches the path only through these calls, and the\n\t * indexes of a pattern it writes are evaluated in the outermost one's caller.\n\t */\n\tvia: z.array(tableIndex),\n\tloop: tableIndex.nullable(),\n});\nexport type ExplainAssignment = z.infer<typeof explainAssignment>;\n\nexport const explainLocal = z.object({\n\troutine: tableIndex,\n\tname: z.string(),\n\tparameter: z.boolean(),\n\treference: z.boolean(),\n\tdefinitions: z.array(\n\t\tz.object({\n\t\t\t...record,\n\t\t\tkind: z.enum([\"assign\", \"borrowed\", \"counter\"]),\n\t\t\tpath: z.array(z.string()),\n\t\t\tvalue: tableIndex.nullable(),\n\t\t\tcall: tableIndex.nullable(),\n\t\t\tloop: tableIndex.nullable(),\n\t\t}),\n\t),\n});\nexport type ExplainLocal = z.infer<typeof explainLocal>;\n\nexport const explainCall = z.object({\n\t...record,\n\t/** The callee's `routines[].key`; the receiver picks the instance row. */\n\tcallee: z.string(),\n\treceiver: z.discriminatedUnion(\"kind\", [\n\t\tz.object({ kind: z.literal(\"none\") }),\n\t\tz.object({ kind: z.literal(\"path\"), path: tableIndex }),\n\t\tz.object({\n\t\t\tkind: z.literal(\"pattern\"),\n\t\t\tpath: tableIndex,\n\t\t\tindexes: z.array(tableIndex),\n\t\t}),\n\t]),\n\t/** One expression per parameter; a by-reference argument is the place it borrows. */\n\targuments: z.array(tableIndex),\n\tloop: tableIndex.nullable(),\n});\nexport type ExplainCall = z.infer<typeof explainCall>;\n\nexport const explainFlags = z.object({\n\tpath: tableIndex,\n\t/** The manifest `io` row the path is bound to. */\n\tinput: z.number().int().nullable(),\n\tclientWritable: z.boolean(),\n\t/** The label of the HMI control that writes the path. */\n\thmiControl: z.string().nullable(),\n\tretained: z.boolean(),\n\tconstantTable: z.boolean(),\n\t/** Every task that writes the path, when that isn't only the task that reads it. */\n\twriterTasks: z.array(z.string()),\n\t/** The manifest job and service whose response the path holds. */\n\tservice: z.object({ job: z.number().int(), service: z.string() }).nullable(),\n\tinitial: json.nullable(),\n\treference: z.boolean(),\n});\nexport type ExplainFlags = z.infer<typeof explainFlags>;\n\nexport const explainFile = z.object({\n\tkind: z.literal(\"tsplc-explain\"),\n\tversion: z.literal(1),\n\tpaths: z.array(z.string()),\n\ttexts: z.array(z.string()),\n\texpressions: z.array(explainExpression),\n\t/**\n\t * Conditions as a tree: each entry holds under its parent, so a statement's conditions are its\n\t * entry and every parent, outermost last. Statements in one branch share the outer entries.\n\t */\n\tconditions: z.array(\n\t\tz.object({ parent: tableIndex.nullable(), condition: explainCondition }),\n\t),\n\t/** Source locations, with the source text there. */\n\tsites: z.array(z.object({ range: sourceRange, text: tableIndex.nullable() })),\n\troutines: z.array(\n\t\tz.object({\n\t\t\tkey: z.string(),\n\t\t\t/** The manifest's function id, when the manifest lists the routine. */\n\t\t\tfunction: z.number().int().nullable(),\n\t\t\tinstance: tableIndex.nullable(),\n\t\t\tname: z.string(),\n\t\t\tdeclaration: sourceRange.nullable(),\n\t\t\t/** The manifest job the instance is. */\n\t\t\tjob: z.number().int().nullable(),\n\t\t\t/**\n\t\t\t * What its expressions and conditions name, by slot: instances of one routine share those\n\t\t\t * and differ only here. `paths` index `paths`, `locals` index `locals`, `calls` index\n\t\t\t * `calls` and `loops` index `loops`.\n\t\t\t */\n\t\t\tpaths: z.array(tableIndex),\n\t\t\tlocals: z.array(tableIndex),\n\t\t\tcalls: z.array(tableIndex),\n\t\t\tloops: z.array(tableIndex),\n\t\t}),\n\t),\n\tloops: z.array(\n\t\tz.object({\n\t\t\troutine: tableIndex,\n\t\t\tposition,\n\t\t\tcounter: tableIndex,\n\t\t\tfirst: tableIndex,\n\t\t\tlimit: tableIndex,\n\t\t\texclusive: z.boolean(),\n\t\t\tstep: tableIndex,\n\t\t\tmaxIterations: z.number().int().nonnegative(),\n\t\t\tbreaks: z.array(z.array(explainCondition)),\n\t\t\tparent: tableIndex.nullable(),\n\t\t\tsite: tableIndex.nullable(),\n\t\t}),\n\t),\n\tassignments: z.array(explainAssignment),\n\tlocals: z.array(explainLocal),\n\treturns: z.array(z.object({ ...record, value: tableIndex.nullable() })),\n\tcalls: z.array(explainCall),\n\t/** The routines each task runs directly, in the order it runs them. */\n\tentries: z.array(\n\t\tz.object({\n\t\t\troutine: tableIndex,\n\t\t\ttask: z.string(),\n\t\t\torder: z.number().int().nonnegative(),\n\t\t}),\n\t),\n\tflags: z.array(explainFlags),\n\t/** Object id → `paths` index; −1 is `undefined`. */\n\treferences: z.record(z.string(), tableIndex),\n});\nexport type ExplainFile = z.infer<typeof explainFile>;\n",
|
|
6
|
+
"import { z } from \"zod\";\n\n/**\n * What a build tells the debugger: every TypeScript identity it can show, and the target symbol each one reads.\n * TypeScript paths (`bench.instruments[10].phase`) are the identity; `target` strings are opaque to\n * everything except the target's adapter (for CODESYS, IEC symbol paths such as `Bench.instruments…`).\n * Written by the compiler beside its emitted ST and shipped with each release, as `debugManifestFile`.\n */\nexport const debugManifestFile = \"debug.json\";\n\n/** A location in the project's own sources: `file` indexes `sources`; lines and columns are 1-based. */\nexport const sourceRange = z.object({\n\tfile: z.number().int(),\n\tline: z.number().int(),\n\tcolumn: z.number().int(),\n\tendLine: z.number().int(),\n\tendColumn: z.number().int(),\n});\n\n/** Any JSON value. */\nexport const json: z.ZodType<unknown> = z.lazy(() =>\n\tz.union([\n\t\tz.string(),\n\t\tz.number(),\n\t\tz.boolean(),\n\t\tz.null(),\n\t\tz.array(json),\n\t\tz.record(z.string(), json),\n\t]),\n);\n\nexport const debugField = z.object({\n\tname: z.string(),\n\ttarget: z.string(),\n\ttype: z.string(),\n\tdeclaration: sourceRange.optional(),\n\t/** Compiler-made storage, such as an async job's `step`; hidden unless asked for. */\n\tgenerated: z.literal(true).optional(),\n});\n\n/** Keys of `types` are opaque ids; scalars use their IEC name, such as `BOOL`. */\nexport const debugType = z.discriminatedUnion(\"kind\", [\n\tz.object({\n\t\tkind: z.literal(\"scalar\"),\n\t\tiec: z.string(),\n\t\t/** A STRING's or WSTRING's capacity in characters. */\n\t\tcapacity: z.number().int().optional(),\n\t}),\n\tz.object({\n\t\tkind: z.literal(\"enum\"),\n\t\tname: z.string(),\n\t\tmembers: z.record(z.string(), z.number().int()),\n\t\t/** For a plain TypeScript program's string-literal union, the string each member stands for. */\n\t\ttexts: z.record(z.string(), z.string()).optional(),\n\t}),\n\tz.object({\n\t\tkind: z.literal(\"record\"),\n\t\tname: z.string(),\n\t\tdeclaration: sourceRange.optional(),\n\t\tfields: z.array(debugField),\n\t}),\n\tz.object({\n\t\tkind: z.literal(\"array\"),\n\t\telement: z.string(),\n\t\tlength: z.number().int(),\n\t\t/** The first index; TypeScript paths use the target's own indexes, `lower` to `lower + length - 1`. */\n\t\tlower: z.number().int(),\n\t\t/** For `Record<Enum, T>`, the enum whose member values are the indexes. */\n\t\tindex: z.string().optional(),\n\t}),\n]);\n\nexport const debugRoot = z.object({\n\tpath: z.string(),\n\ttarget: z.string(),\n\ttype: z.string(),\n\tdeclaration: sourceRange.optional(),\n\t/** Readable at runtime through the target's adapter; for CODESYS, all stored state is. */\n\treadable: z.boolean(),\n\tgenerated: z.literal(true).optional(),\n});\n\n/** A field the compiler folded away: it has no runtime storage, but its value is known. */\nexport const debugConstant = z.object({\n\tpath: z.string(),\n\ttype: z.string(),\n\t/** Integers and durations as `encodeConstant` writes them. */\n\tvalue: json,\n\tdeclaration: sourceRange.optional(),\n});\n\nexport const debugIo = z.object({\n\tpath: z.string(),\n\ttarget: z.string(),\n\tdirection: z.enum([\"input\", \"output\"]),\n\ttype: z.string(),\n\tdevice: z.string().optional(),\n\tchannel: z.string().optional(),\n\taddress: z.string().optional(),\n\tinverted: z.literal(true).optional(),\n\tshared: z.literal(true).optional(),\n});\n\nexport const debugChannel = z.object({\n\tid: z.string(),\n\tname: z.string(),\n\tdirection: z.enum([\"input\", \"output\"]),\n\ttype: z.string(),\n\toffsetBits: z.number().int(),\n\tbits: z.number().int(),\n\taddress: z.string().optional(),\n\tunit: z.string().optional(),\n\tdescription: z.string().optional(),\n});\n\nexport const debugDevice = z.object({\n\tid: z.string(),\n\tproduct: z.string().optional(),\n\tvendor: z.string().optional(),\n\tproductCode: z.string().optional(),\n\tnetwork: z\n\t\t.object({ address: z.string(), rpiMs: z.number().optional() })\n\t\t.optional(),\n\tconnection: z.string().optional(),\n\tassemblies: z.array(\n\t\tz.object({\n\t\t\tdirection: z.enum([\"input\", \"output\"]),\n\t\t\tbytes: z.number().int(),\n\t\t\taddress: z.string().optional(),\n\t\t\t/** A byte array over the whole assembly, mapped or not. */\n\t\t\traw: z.string().optional(),\n\t\t}),\n\t),\n\t/**\n\t * Target paths of the driver's own state, such as a generated adapter's `eState`; absent means\n\t * the device's health is unknown.\n\t */\n\thealth: z\n\t\t.object({\n\t\t\tstate: z.string().optional(),\n\t\t\tstates: z.record(z.string(), z.number().int()).optional(),\n\t\t\tdiagnostic: z.string().optional(),\n\t\t\tmessage: z.string().optional(),\n\t\t})\n\t\t.optional(),\n\t/** Status symbols by label: hand-configured ones, and a generated Modbus server's error. */\n\tstatus: z.record(z.string(), z.string()).optional(),\n\tchannels: z.array(debugChannel),\n});\n\n/** A specialized function: one per method per instance, so `reads` resolve to concrete paths. */\nexport const debugFunction = z.object({\n\tid: z.number().int(),\n\tname: z.string(),\n\tdeclaration: sourceRange,\n\t/** The TypeScript path of `this`, for a method specialized to one instance. */\n\tinstance: z.string().optional(),\n\ttask: z.string().optional(),\n\ttarget: z.string(),\n\t/** Member reads in the body whose runtime path is static in this specialization. */\n\treads: z.array(z.object({ range: sourceRange, path: z.string() })),\n});\n\n/** The fields of a job's state, by name, with the IEC type the generated job block declares. */\nexport const jobStateFields = {\n\tstep: \"UINT\",\n\tcancelling: \"BOOL\",\n\tbusy: \"BOOL\",\n\tdone: \"BOOL\",\n\terror: \"UDINT\",\n} as const;\n\n/**\n * The fields the compiler adds to a block for the debugger, by key, with their IEC types: copies\n * of a job's `busy` and `step` for its trace, when it last started, and a service call's job and\n * request counter.\n */\nexport const instrumentationFields = {\n\tbusy: jobStateFields.busy,\n\tstep: jobStateFields.step,\n\tstartedAt: \"UDINT\",\n\tjob: \"UDINT\",\n\tsequence: \"UDINT\",\n} as const;\n\nexport const debugJob = z.object({\n\tid: z.number().int(),\n\tname: z.string(),\n\tdeclaration: sourceRange,\n\tinstance: z.string().optional(),\n\t/** The job's state, with the fields of `jobStateFields`. */\n\ttarget: z.string(),\n\tsteps: z.array(\n\t\tz.object({\n\t\t\tstep: z.number().int(),\n\t\t\tkind: z.enum([\"await\", \"return\", \"throw\", \"statement\"]),\n\t\t\trange: sourceRange,\n\t\t\ttext: z.string(),\n\t\t}),\n\t),\n\t/**\n\t * The PLC clock in milliseconds when the job last started: the clock of telemetry records'\n\t * `time` and a batch's `now`.\n\t */\n\tstartedAt: z.string().optional(),\n\t/**\n\t * Service calls the job awaits, its nested jobs' included; `sequence` is the request counter sent\n\t * as `x-tsplc-request`, with `job`'s id when a nested job makes the call.\n\t */\n\trequests: z.array(\n\t\tz.object({\n\t\t\tservice: z.string(),\n\t\t\ttarget: z.string(),\n\t\t\tsequence: z.string(),\n\t\t\tjob: z.number().int().optional(),\n\t\t}),\n\t),\n\t/** Made by the compiler, such as a service call's own job; hidden unless asked for. */\n\tgenerated: z.literal(true).optional(),\n});\n\n/**\n * Where `debug.trace` records: an enum state field changing, a decision function returning a\n * different value, or a job starting or finishing. Trace records name their site by `id`.\n */\nexport const debugEventSite = z.object({\n\tid: z.number().int(),\n\tkind: z.enum([\"state\", \"decision\", \"job\"]),\n\t/** For `kind: \"job\"`: the job, and whether it starts or finishes at this site. */\n\tjob: z.number().int().optional(),\n\tphase: z.enum([\"started\", \"finished\"]).optional(),\n\t/** The TypeScript path written, or of the job. */\n\tpath: z.string(),\n\tfunction: z.number().int().optional(),\n\ttype: z.string(),\n\trange: sourceRange,\n\ttext: z.string(),\n\ttask: z.string(),\n\t/**\n\t * Guard values captured in the same scan, at the write: each `if` condition leaf enclosing it.\n\t * `stable` is false when the body between the guard and the write can change the leaf.\n\t */\n\toperands: z.array(\n\t\tz.object({\n\t\t\ttext: z.string(),\n\t\t\trange: sourceRange,\n\t\t\ttype: z.string(),\n\t\t\tpath: z.string().optional(),\n\t\t\tstable: z.boolean(),\n\t\t}),\n\t),\n});\n\n/** A writer slot's value before any site writes it; site ids count from 1. */\nexport const neverWrittenSlot = 0;\n\n/** The IEC type of a writer slot, which holds the id of the site that last wrote its output. */\nexport const writerSlotType = \"UINT\";\n\n/** The statement that last wrote each output, per scan. */\nexport const debugWriter = z.object({\n\toutput: z.string(),\n\ttarget: z.string(),\n\t/** Every statement that can write `output` is probed, so the slot names its last writer exactly. */\n\texact: z.boolean().optional(),\n\tsites: z.array(\n\t\tz.object({\n\t\t\tid: z.number().int(),\n\t\t\trange: sourceRange,\n\t\t\tfunction: z.number().int(),\n\t\t\t/** The `explain.json` assignments this site is, one per instance that runs it. */\n\t\t\tassignments: z.array(z.number().int()).optional(),\n\t\t}),\n\t),\n});\n\n/** The IEC type of a task's scan clock. */\nexport const scanClockType = \"DINT\";\n\nexport const debugTask = z.object({\n\tname: z.string(),\n\tintervalMs: z.number(),\n\tpriority: z.number().int(),\n\t/** The PLC clock in milliseconds, of type `scanClockType`, as the task's first program read it this scan. */\n\tclock: z.string().optional(),\n});\n\nexport const debugManifest = z.object({\n\tkind: z.literal(\"tsplc-debug\"),\n\tversion: z.literal(1),\n\tbuild: z.object({\n\t\tid: z.string(),\n\t\t/** A variable holding `id`, to tell which build the controller runs. */\n\t\ttarget: z.string(),\n\t\tcompiler: z.string(),\n\t}),\n\t/** Project-relative paths. */\n\tsources: z.array(z.string()),\n\ttypes: z.record(z.string(), debugType),\n\troots: z.array(debugRoot),\n\tconstants: z.array(debugConstant),\n\tio: z.array(debugIo),\n\tdevices: z.array(debugDevice),\n\tfunctions: z.array(debugFunction),\n\tjobs: z.array(debugJob),\n\tevents: z.array(debugEventSite),\n\twriters: z.array(debugWriter),\n\ttasks: z.array(debugTask),\n\t/** Job error codes by number: 1 cancelled, 2 timeout… */\n\terrors: z.record(z.string(), z.string()),\n\t/** The digest of the build's `explain.json`; absent when the build has no explanations. */\n\texplain: z.object({ sha256: z.string() }).optional(),\n});\n\nexport type SourceRange = z.infer<typeof sourceRange>;\nexport type DebugType = z.infer<typeof debugType>;\nexport type DebugField = z.infer<typeof debugField>;\nexport type DebugRoot = z.infer<typeof debugRoot>;\nexport type DebugConstant = z.infer<typeof debugConstant>;\nexport type DebugIo = z.infer<typeof debugIo>;\nexport type DebugDevice = z.infer<typeof debugDevice>;\nexport type DebugChannel = z.infer<typeof debugChannel>;\nexport type DebugFunction = z.infer<typeof debugFunction>;\nexport type DebugJob = z.infer<typeof debugJob>;\nexport type DebugEventSite = z.infer<typeof debugEventSite>;\nexport type DebugWriter = z.infer<typeof debugWriter>;\nexport type DebugTask = z.infer<typeof debugTask>;\nexport type DebugManifest = z.infer<typeof debugManifest>;\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": ";AAAA;AAAA;AAAA;AAAA;AAIA,cAAS;;;ACJT;AAWO,IAAM,cAAc,EAAE,OAAO;AAAA,EACnC,MAAM,EAAE,OAAO,EAAE,IAAI;AAAA,EACrB,MAAM,EAAE,OAAO,EAAE,IAAI;AAAA,EACrB,QAAQ,EAAE,OAAO,EAAE,IAAI;AAAA,EACvB,SAAS,EAAE,OAAO,EAAE,IAAI;AAAA,EACxB,WAAW,EAAE,OAAO,EAAE,IAAI;AAC3B,CAAC;AAGM,IAAM,OAA2B,EAAE,KAAK,MAC9C,EAAE,MAAM;AAAA,EACP,EAAE,OAAO;AAAA,EACT,EAAE,OAAO;AAAA,EACT,EAAE,QAAQ;AAAA,EACV,EAAE,KAAK;AAAA,EACP,EAAE,MAAM,IAAI;AAAA,EACZ,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;AAC1B,CAAC,CACF;AAEO,IAAM,aAAa,EAAE,OAAO;AAAA,EAClC,MAAM,EAAE,OAAO;AAAA,EACf,QAAQ,EAAE,OAAO;AAAA,EACjB,MAAM,EAAE,OAAO;AAAA,EACf,aAAa,YAAY,SAAS;AAAA,EAElC,WAAW,EAAE,QAAQ,IAAI,EAAE,SAAS;AACrC,CAAC;AAGM,IAAM,YAAY,EAAE,mBAAmB,QAAQ;AAAA,EACrD,EAAE,OAAO;AAAA,IACR,MAAM,EAAE,QAAQ,QAAQ;AAAA,IACxB,KAAK,EAAE,OAAO;AAAA,IAEd,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS;AAAA,EACrC,CAA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