From 64f3fbc3f94326f6a548566079c26d38a9cba4db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 18 Sep 2026 13:21:12 +0000 Subject: [PATCH] chore(norms): add Volcano Engine TOS to AGENTS.md entry list The tiny-oss/tos entry landed in #60 but AGENTS.md lagged in three places: - the built-in-entry list omitted Volcano Engine TOS; - the entry-path example was src/cos|obs|aws|azure/index.ts; - it claimed putSymlink is OSS-only, while the TOS entry also exports it (supportsSymlink: true, x-tos-symlink-target). The README is already correct. Norms-layer change for #61; no product code, signer or workflow change. --- AGENTS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index a02500d..7b4d967 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,13 +1,13 @@ # AGENTS.md - Coding Guidelines for tiny-oss -tiny-oss is a tiny object storage SDK focused on uploading, with a functional API: every operation is a standalone function taking the client options as the first argument. Built-in entries: Aliyun OSS (default `tiny-oss`), Tencent Cloud COS, Huawei Cloud OBS, AWS S3 (plus S3-compatible stores), Azure Blob Storage. Runs in browsers (XHR by default), Node.js/Service Workers (fetch transport) and WeChat mini programs (wx transport). +tiny-oss is a tiny object storage SDK focused on uploading, with a functional API: every operation is a standalone function taking the client options as the first argument. Built-in entries: Aliyun OSS (default `tiny-oss`), Tencent Cloud COS, Huawei Cloud OBS, Volcano Engine TOS, AWS S3 (plus S3-compatible stores), Azure Blob Storage. Runs in browsers (XHR by default), Node.js/Service Workers (fetch transport) and WeChat mini programs (wx transport). ## Architecture -- Every operation is a factory over a `Protocol` (`src/protocol.ts`). `src/ops/` holds one file per operation (`createPut`, `createMultipartUpload`, …); each entry (`src/index.ts`, `src/cos|obs|aws|azure/index.ts`) binds a provider's protocol and exports the operations. +- Every operation is a factory over a `Protocol` (`src/protocol.ts`). `src/ops/` holds one file per operation (`createPut`, `createMultipartUpload`, …); each entry (`src/index.ts`, `src/cos|obs|tos|aws|azure/index.ts`) binds a provider's protocol and exports the operations. - Network layer is injectable: `src/transport.ts` (XHR default) + `src/transports/` (fetch, wx). - Public types live in `src/types.ts` as top-level named exports (`Options`, `BlobLike`, `PutOptions`, `SignatureUrlOptions`, …); entries also export `setTransport`, `getTransport`, `bindOptions` and all those types by name. -- `putSymlink` is OSS-only; the Azure entry omits `abortMultipartUpload`/`listParts`/`listUploads`/`uploadPartCopy`. +- `putSymlink` is exported by the OSS and TOS entries; the Azure entry omits `abortMultipartUpload`/`listParts`/`listUploads`/`uploadPartCopy`. ## Hard constraints