@supa-media/tex-contract 0.3.1 → 0.6.0

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.
Files changed (48) hide show
  1. package/README.md +13 -17
  2. package/package.json +1 -1
  3. package/texContract/aboutNoteLimits.cjs +1 -1
  4. package/texContract/asks.cjs +1 -1
  5. package/texContract/capabilities.cjs +1 -1
  6. package/texContract/computerTool.cjs +1 -1
  7. package/texContract/contextGateway.cjs +1 -1
  8. package/texContract/deskEligible.cjs +1 -1
  9. package/texContract/eventWords.cjs +2 -2
  10. package/texContract/graphWires.cjs +1 -1
  11. package/texContract/guestNames.cjs +1 -1
  12. package/texContract/heard.cjs +1 -1
  13. package/texContract/judgedActions.cjs +1 -1
  14. package/texContract/labLedger.cjs +37 -0
  15. package/texContract/labLedger.d.cts +5 -0
  16. package/texContract/mailCheck.cjs +1 -1
  17. package/texContract/noteRunFacts.cjs +1 -1
  18. package/texContract/pageJobs.cjs +3 -3
  19. package/texContract/quietHoursWindow.cjs +1 -1
  20. package/texContract/reactEmoji.cjs +1 -1
  21. package/texContract/settingHabits.cjs +1 -1
  22. package/texContract/settingsNotes.cjs +1 -1
  23. package/texContract/staffData.cjs +56 -0
  24. package/texContract/staffData.d.cts +72 -0
  25. package/texContract/texClients.cjs +2 -2
  26. package/texContract/texGraph.cjs +1 -1
  27. package/texContract/texNumber.cjs +1 -1
  28. package/texContract/texSettings.cjs +1 -1
  29. package/texContract/texStateFiles.cjs +1 -1
  30. package/texContract/texStoreWire.cjs +1 -1
  31. package/texContract/threadsFold.cjs +1 -1
  32. package/texContract/toolCatalog.generated.json +5 -5
  33. package/texContract/transcription.cjs +1 -1
  34. package/texContract/uploadImages.cjs +1 -1
  35. package/texContract/v2Translate.cjs +1 -1
  36. package/texContract/yesWords.cjs +1 -1
  37. package/texShared/githubOidc.ts +3 -3
  38. package/texShared/groupRunQuestions.cjs +2 -2
  39. package/texShared/jobPartEnd.cjs +4 -4
  40. package/texShared/jobResume.cjs +3 -3
  41. package/texShared/jobSplit.cjs +2 -2
  42. package/texShared/jobStart.cjs +2 -2
  43. package/texShared/mail.cjs +7 -1
  44. package/texShared/models/creditRest.cjs +1 -1
  45. package/texShared/noteAppLink.cjs +1 -1
  46. package/texShared/pages/blocks.cjs +1 -1
  47. package/texShared/pages/draw.cjs +1 -1
  48. package/texShared/searchConfig.cjs +1 -1
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The one builder of a note's app link, `<APP_ORIGIN>/note/@<slug>/<path>`, for
3
3
  * the gateway's MCP answers (`apps/mcp/src/notes/appLink.js`) and Tex's texted
4
- * ones (`packages/tex/gateway/agent/noteLinks.js`): two builders would drift.
4
+ * ones (in Tex's repository): two builders would drift.
5
5
  */
6
6
  /** The deployment's https origin, without a trailing slash, or null. */
7
7
  function appOriginOf(env) {
@@ -14,7 +14,7 @@
14
14
  * An item is `|`-separated parts, and its first part may start with a
15
15
  * `Label: `. What the label and each part mean is the kind's (`about` below,
16
16
  * which is also what Tex is told). These are Tex's card templates
17
- * (`packages/tex/gateway/agent/visuals/`) as page blocks: the same set of things a
17
+ * (in Tex's repository) as page blocks: the same set of things a
18
18
  * person is shown, written as data the page draws, so every word in them stays
19
19
  * a word in the note.
20
20
  *
@@ -81,7 +81,7 @@ const DRAW = {
81
81
  .map((item) => {
82
82
  const name = itemName(item);
83
83
  const on = chosen !== "" && name.toLowerCase() === chosen;
84
- // An option's photo (the gateway hunts one for each, `packages/tex/gateway/agent/visuals/pagePhotos.js`) leads its row.
84
+ // An option's photo (the gateway hunts one for each, Tex's code) leads its row.
85
85
  const pic = photosOf(item)[0];
86
86
  return `<div class="pg-option${on ? " on" : ""}${pic ? " pictured" : ""}" role="radio" aria-checked="${on}" tabindex="0" data-choose="${esc(name)}">${pic ? photo(pic, ctx, { name }) : ""}<div>${item.label ? part(item, -1, open, "b") : ""}${part(item, 0, open, item.label ? "span" : "b")}${part(item, 1, open, "span")}${sourceLink(item)}</div><span class="pg-tick">${on ? "Chosen" : "Choose"}</span></div>`;
87
87
  })
@@ -3,7 +3,7 @@
3
3
  * config, and then search config because not only text users search").
4
4
  *
5
5
  * `searchConfig.json` holds every step a search runs (a node), its settings, and the wires between them, in the
6
- * Lab's graph shape (the one Tex's `texConfig.json` uses). The gateway's search (`config/nodes.js`, run by the shared
6
+ * Lab's graph shape (the one Tex's own config uses). The gateway's search (`config/nodes.js`, run by the shared
7
7
  * graph runner) and the defaults every other caller of the search code ranks by (`../ranking.js`, `../settings.js`)
8
8
  * read it through this file only, so a config that does not match the schema below fails loudly at start instead of
9
9
  * being misread. The Lab draws it on its Search page and a Promote changes it in a pull request.