🔄 Update dependencies and script metadata across multiple files

This commit is contained in:
2026-04-15 23:27:52 +08:00
parent 96ed7af5fe
commit cdfd05984f
5 changed files with 12 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ import {
fetchDataWithTimeout,
getSecretValue,
term,
} from "https://script.hatter.ink/@67/deno-commons-mod.ts";
} from "https://script.hatter.ink/@71/deno-commons-mod.ts";
export async function howto(message: string): Promise<string> {
const response = await fetchDataWithTimeout(

View File

@@ -1678,7 +1678,7 @@ export async function getSecretValue(
{
tryRefresh: options?.tryRefresh,
defaultCacheTimeSecs: options?.defaultCacheTimeSecs ?? 3600,
maxCacheTimeSecs: options?.maxCacheTimeSecs ?? 3600 * 24 * 30,
maxCacheTimeSecs: options?.maxCacheTimeSecs ?? 3600 * 24 * 365,
},
);
}

View File

@@ -127,11 +127,11 @@
"git-ai-summarize.ts": {
"script_name": "git-ai-summarize.ts",
"script_length": 951,
"script_sha256": "7a1dd9daa4f23b21acd89131ad42be81bf4800fdb4b1b1c637e92969a74d9e12",
"script_sha256": "7dcc72fcba2725336681b1c77742fb23a0508f8c2bc4eead59c22da20ede61aa",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/git-ai-summarize.ts",
"single_script_file": true,
"publish_time": 1775488837668,
"update_time": 1775880777603
"update_time": 1776266859547
},
"git-check.ts": {
"script_name": "git-check.ts",
@@ -154,11 +154,11 @@
"howto.ts": {
"script_name": "howto.ts",
"script_length": 4071,
"script_sha256": "248a5220971d44c8b5fc8c51186abc840cd97e27bba2de065e29b605d6fb80c3",
"script_sha256": "142688f95931301253d61f735212c3a838d1020a17ce8c198ff2b11d9d976bc1",
"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": 1776005907857
"update_time": 1776266859539
},
"init-cheatsheet.ts": {
"script_name": "init-cheatsheet.ts",

View File

@@ -5,7 +5,7 @@ import {
ProcessBar,
supportColor,
} from "https://script.hatter.ink/@67/deno-commons-mod.ts";
import { summarizeGitStatusDiff } from "https://script.hatter.ink/@0/deno-ai-mod.ts";
import { summarizeGitStatusDiff } from "https://script.hatter.ink/@3/deno-ai-mod.ts";
async function main() {
if (supportColor()) {
@@ -28,5 +28,5 @@ main().catch((err) => {
process.exit(0);
}).then(() => process.exit(0));
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260411T121140+08:00.MEQCICY10pAbrhm7lwIAF7te
// apYXE5VLvpg9IZgzWOoh+QWdAiB9+jWbpYK5/RtGPk+CdQCNPYpxGT1xjq8J8145PnMlLA==
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260415T232655+08:00.MEYCIQCwo/fkGCMYLUiPy73p
// DYoyOJWRvbUc+zjAiRWH6EoNeAIhAO6eh2W6IOaUwlnu/MneVHbvKSHt8u77NoUcmt8HkCd3

View File

@@ -2,7 +2,7 @@
import {parseArgs} from "jsr:@std/cli/parse-args";
import {execCommandShell, exit, log, ProcessBar, term,} from "https://script.hatter.ink/@67/deno-commons-mod.ts";
import {howto} from "https://script.hatter.ink/@2/deno-ai-mod.ts";
import {howto} from "https://script.hatter.ink/@3/deno-ai-mod.ts";
async function main() {
const flags = parseArgs(Deno.args, {
@@ -125,5 +125,5 @@ main().catch((err) => {
process.exit(0);
}).then(() => process.exit(0));
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260412T225825+08:00.MEYCIQDPOL61Uv/EojOmlOVx
// ju3YO2uKeurNj8msZe2MNUm/QwIhAJEhMrgij9sbgpvwrVFPmV0LeZk2zrtRp1+IUvag2OfV
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260415T232646+08:00.MEUCIEw1GSf+P9+9GnxdehpK
// 1jUaC3A4NI73i5fK+CHlxauGAiEAgo47/bat/+T2xPc2OCiy38yo157pxSNBjUoRp2pBvKM=