Add howto function and update metadata for new script file

This change introduces a new asynchronous `howto` function in `deno-ai-mod.ts` that fetches command-line how-to summaries, modifies existing functions to use a new `getBearerToken` utility, and adds metadata for the new `howto.ts` script in `script-meta-v2.json`.
This commit is contained in:
2026-04-12 13:51:23 +08:00
parent 1a5c0f99d2
commit 5a95e619dd
3 changed files with 67 additions and 2 deletions

View File

@@ -151,6 +151,15 @@
"publish_time": 1737375737613,
"update_time": 1770822121766
},
"howto.ts": {
"script_name": "howto.ts",
"script_length": 821,
"script_sha256": "184a8887383342c7aa56adf9d68f1ab87e14cabf2461e9445c1dc975cdc6407f",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/howto.ts",
"single_script_file": true,
"publish_time": 1775973075081,
"update_time": 1775973075081
},
"init-cheatsheet.ts": {
"script_name": "init-cheatsheet.ts",
"script_length": 1257,