@wecode-ai/weibo-openclaw-plugin 2.1.4 → 2.2.1
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 +28 -1
- package/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
- package/node_modules/@isaacs/fs-minipass/README.md +71 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +118 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +118 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
- package/node_modules/@isaacs/fs-minipass/package.json +72 -0
- package/node_modules/chownr/LICENSE.md +63 -0
- package/node_modules/chownr/README.md +3 -0
- package/node_modules/chownr/dist/commonjs/index.d.ts +3 -0
- package/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/chownr/dist/commonjs/index.js +93 -0
- package/node_modules/chownr/dist/commonjs/index.js.map +1 -0
- package/node_modules/chownr/dist/commonjs/package.json +3 -0
- package/node_modules/chownr/dist/esm/index.d.ts +3 -0
- package/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
- package/node_modules/chownr/dist/esm/index.js +85 -0
- package/node_modules/chownr/dist/esm/index.js.map +1 -0
- package/node_modules/chownr/dist/esm/package.json +3 -0
- package/node_modules/chownr/package.json +69 -0
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/README.md +825 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +545 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +77 -0
- package/node_modules/minizlib/LICENSE +26 -0
- package/node_modules/minizlib/README.md +64 -0
- package/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/constants.js +123 -0
- package/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.js +416 -0
- package/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/package.json +3 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/constants.js +117 -0
- package/node_modules/minizlib/dist/esm/constants.js.map +1 -0
- package/node_modules/minizlib/dist/esm/index.d.ts +99 -0
- package/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/index.js +363 -0
- package/node_modules/minizlib/dist/esm/index.js.map +1 -0
- package/node_modules/minizlib/dist/esm/package.json +3 -0
- package/node_modules/minizlib/package.json +80 -0
- package/node_modules/tar/LICENSE.md +55 -0
- package/node_modules/tar/README.md +1224 -0
- package/node_modules/tar/dist/commonjs/create.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/create.js +82 -0
- package/node_modules/tar/dist/commonjs/create.js.map +1 -0
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts +8 -0
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
- package/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
- package/node_modules/tar/dist/commonjs/extract.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/extract.js +88 -0
- package/node_modules/tar/dist/commonjs/extract.js.map +1 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
- package/node_modules/tar/dist/commonjs/header.d.ts +53 -0
- package/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/header.js +312 -0
- package/node_modules/tar/dist/commonjs/header.js.map +1 -0
- package/node_modules/tar/dist/commonjs/index.d.ts +20 -0
- package/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/index.js +64 -0
- package/node_modules/tar/dist/commonjs/index.js.map +1 -0
- package/node_modules/tar/dist/commonjs/index.min.js +4 -0
- package/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
- package/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
- package/node_modules/tar/dist/commonjs/list.d.ts +7 -0
- package/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/list.js +145 -0
- package/node_modules/tar/dist/commonjs/list.js.map +1 -0
- package/node_modules/tar/dist/commonjs/make-command.d.ts +49 -0
- package/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/make-command.js +52 -0
- package/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
- package/node_modules/tar/dist/commonjs/mkdir.d.ts +25 -0
- package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/mkdir.js +187 -0
- package/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
- package/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
- package/node_modules/tar/dist/commonjs/options.d.ts +596 -0
- package/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/options.js +66 -0
- package/node_modules/tar/dist/commonjs/options.js.map +1 -0
- package/node_modules/tar/dist/commonjs/pack.d.ts +102 -0
- package/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/pack.js +511 -0
- package/node_modules/tar/dist/commonjs/pack.js.map +1 -0
- package/node_modules/tar/dist/commonjs/package.json +3 -0
- package/node_modules/tar/dist/commonjs/parse.d.ts +85 -0
- package/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/parse.js +610 -0
- package/node_modules/tar/dist/commonjs/parse.js.map +1 -0
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts +11 -0
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
- package/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
- package/node_modules/tar/dist/commonjs/pax.d.ts +26 -0
- package/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/pax.js +158 -0
- package/node_modules/tar/dist/commonjs/pax.js.map +1 -0
- package/node_modules/tar/dist/commonjs/process-umask.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/process-umask.js +7 -0
- package/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
- package/node_modules/tar/dist/commonjs/read-entry.d.ts +36 -0
- package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/read-entry.js +136 -0
- package/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
- package/node_modules/tar/dist/commonjs/replace.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/replace.js +227 -0
- package/node_modules/tar/dist/commonjs/replace.js.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts +9 -0
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
- package/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
- package/node_modules/tar/dist/commonjs/types.d.ts +7 -0
- package/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/types.js +50 -0
- package/node_modules/tar/dist/commonjs/types.js.map +1 -0
- package/node_modules/tar/dist/commonjs/unpack.d.ts +101 -0
- package/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/unpack.js +932 -0
- package/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
- package/node_modules/tar/dist/commonjs/update.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/update.js +33 -0
- package/node_modules/tar/dist/commonjs/update.js.map +1 -0
- package/node_modules/tar/dist/commonjs/warn-method.d.ts +24 -0
- package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/warn-method.js +31 -0
- package/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
- package/node_modules/tar/dist/commonjs/winchars.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/winchars.js +14 -0
- package/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
- package/node_modules/tar/dist/commonjs/write-entry.d.ts +129 -0
- package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/write-entry.js +698 -0
- package/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
- package/node_modules/tar/dist/esm/create.d.ts +3 -0
- package/node_modules/tar/dist/esm/create.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/create.js +76 -0
- package/node_modules/tar/dist/esm/create.js.map +1 -0
- package/node_modules/tar/dist/esm/cwd-error.d.ts +8 -0
- package/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/cwd-error.js +14 -0
- package/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
- package/node_modules/tar/dist/esm/extract.d.ts +3 -0
- package/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/extract.js +49 -0
- package/node_modules/tar/dist/esm/extract.js.map +1 -0
- package/node_modules/tar/dist/esm/get-write-flag.d.ts +2 -0
- package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/get-write-flag.js +26 -0
- package/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
- package/node_modules/tar/dist/esm/header.d.ts +53 -0
- package/node_modules/tar/dist/esm/header.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/header.js +275 -0
- package/node_modules/tar/dist/esm/header.js.map +1 -0
- package/node_modules/tar/dist/esm/index.d.ts +20 -0
- package/node_modules/tar/dist/esm/index.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/index.js +20 -0
- package/node_modules/tar/dist/esm/index.js.map +1 -0
- package/node_modules/tar/dist/esm/index.min.js +4 -0
- package/node_modules/tar/dist/esm/index.min.js.map +7 -0
- package/node_modules/tar/dist/esm/large-numbers.d.ts +3 -0
- package/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/large-numbers.js +94 -0
- package/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
- package/node_modules/tar/dist/esm/list.d.ts +7 -0
- package/node_modules/tar/dist/esm/list.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/list.js +105 -0
- package/node_modules/tar/dist/esm/list.js.map +1 -0
- package/node_modules/tar/dist/esm/make-command.d.ts +49 -0
- package/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/make-command.js +48 -0
- package/node_modules/tar/dist/esm/make-command.js.map +1 -0
- package/node_modules/tar/dist/esm/mkdir.d.ts +25 -0
- package/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/mkdir.js +179 -0
- package/node_modules/tar/dist/esm/mkdir.js.map +1 -0
- package/node_modules/tar/dist/esm/mode-fix.d.ts +2 -0
- package/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/mode-fix.js +25 -0
- package/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts +2 -0
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
- package/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +2 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
- package/node_modules/tar/dist/esm/options.d.ts +596 -0
- package/node_modules/tar/dist/esm/options.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/options.js +54 -0
- package/node_modules/tar/dist/esm/options.js.map +1 -0
- package/node_modules/tar/dist/esm/pack.d.ts +102 -0
- package/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/pack.js +469 -0
- package/node_modules/tar/dist/esm/pack.js.map +1 -0
- package/node_modules/tar/dist/esm/package.json +3 -0
- package/node_modules/tar/dist/esm/parse.d.ts +85 -0
- package/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/parse.js +606 -0
- package/node_modules/tar/dist/esm/parse.js.map +1 -0
- package/node_modules/tar/dist/esm/path-reservations.d.ts +11 -0
- package/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/path-reservations.js +166 -0
- package/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
- package/node_modules/tar/dist/esm/pax.d.ts +26 -0
- package/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/pax.js +154 -0
- package/node_modules/tar/dist/esm/pax.js.map +1 -0
- package/node_modules/tar/dist/esm/process-umask.d.ts +2 -0
- package/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/process-umask.js +3 -0
- package/node_modules/tar/dist/esm/process-umask.js.map +1 -0
- package/node_modules/tar/dist/esm/read-entry.d.ts +36 -0
- package/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/read-entry.js +132 -0
- package/node_modules/tar/dist/esm/read-entry.js.map +1 -0
- package/node_modules/tar/dist/esm/replace.d.ts +2 -0
- package/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/replace.js +221 -0
- package/node_modules/tar/dist/esm/replace.js.map +1 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +2 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
- package/node_modules/tar/dist/esm/symlink-error.d.ts +9 -0
- package/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/symlink-error.js +15 -0
- package/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
- package/node_modules/tar/dist/esm/types.d.ts +7 -0
- package/node_modules/tar/dist/esm/types.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/types.js +45 -0
- package/node_modules/tar/dist/esm/types.js.map +1 -0
- package/node_modules/tar/dist/esm/unpack.d.ts +101 -0
- package/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/unpack.js +891 -0
- package/node_modules/tar/dist/esm/unpack.js.map +1 -0
- package/node_modules/tar/dist/esm/update.d.ts +2 -0
- package/node_modules/tar/dist/esm/update.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/update.js +30 -0
- package/node_modules/tar/dist/esm/update.js.map +1 -0
- package/node_modules/tar/dist/esm/warn-method.d.ts +24 -0
- package/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/warn-method.js +27 -0
- package/node_modules/tar/dist/esm/warn-method.js.map +1 -0
- package/node_modules/tar/dist/esm/winchars.d.ts +3 -0
- package/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/winchars.js +9 -0
- package/node_modules/tar/dist/esm/winchars.js.map +1 -0
- package/node_modules/tar/dist/esm/write-entry.d.ts +129 -0
- package/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/write-entry.js +656 -0
- package/node_modules/tar/dist/esm/write-entry.js.map +1 -0
- package/node_modules/tar/package.json +297 -0
- package/node_modules/yallist/LICENSE.md +63 -0
- package/node_modules/yallist/README.md +205 -0
- package/node_modules/yallist/dist/commonjs/index.d.ts +39 -0
- package/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/yallist/dist/commonjs/index.js +384 -0
- package/node_modules/yallist/dist/commonjs/index.js.map +1 -0
- package/node_modules/yallist/dist/commonjs/package.json +3 -0
- package/node_modules/yallist/dist/esm/index.d.ts +39 -0
- package/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
- package/node_modules/yallist/dist/esm/index.js +379 -0
- package/node_modules/yallist/dist/esm/index.js.map +1 -0
- package/node_modules/yallist/dist/esm/package.json +3 -0
- package/node_modules/yallist/package.json +68 -0
- package/package.json +3 -1
- package/skills/manifest.json +12 -0
- package/skills/weibo-cron/SKILL.md +54 -54
- package/skills/weibo-cron/references/HEARTBEAT-PROCESS.md +65 -0
- package/skills/weibo-crowd/SKILL.md +182 -16
- package/skills/weibo-crowd/references/SILICON-TEAHOUSE-RULES.md +195 -62
- package/skills/weibo-crowd/scripts/weibo-crowd.js +105 -27
- package/skills/weibo-hot-search/SKILL.md +3 -1
- package/skills/weibo-pic/SKILL.md +266 -0
- package/skills/weibo-pic/scripts/weibo-pic.js +798 -0
- package/skills/weibo-search/SKILL.md +4 -2
- package/skills/weibo-status/SKILL.md +5 -3
- package/skills/weibo-token/SKILL.md +4 -2
- package/skills/weibo-video/SKILL.md +2 -0
- package/src/accounts.js +1 -1
- package/src/accounts.js.map +1 -1
- package/src/channel.js +2 -2
- package/src/channel.js.map +1 -1
- package/src/client.d.ts.map +1 -1
- package/src/client.js +3 -0
- package/src/client.js.map +1 -1
- package/src/config-schema.js +2 -2
- package/src/config-schema.js.map +1 -1
- package/src/skill-updater.d.ts +14 -0
- package/src/skill-updater.d.ts.map +1 -0
- package/src/skill-updater.js +240 -0
- package/src/skill-updater.js.map +1 -0
- package/src/token.d.ts +2 -0
- package/src/token.d.ts.map +1 -1
- package/src/token.js +2 -1
- package/src/token.js.map +1 -1
- package/src/weibo-hot-search.d.ts +2 -2
- package/src/weibo-hot-search.d.ts.map +1 -1
- package/src/weibo-hot-search.js +2 -2
- package/src/weibo-hot-search.js.map +1 -1
- package/src/weibo-search.d.ts +2 -2
- package/src/weibo-search.d.ts.map +1 -1
- package/src/weibo-search.js +2 -2
- package/src/weibo-search.js.map +1 -1
- package/src/weibo-status.js +2 -2
- package/src/weibo-status.js.map +1 -1
- package/src/weibo-token-tool.d.ts +2 -2
- package/src/weibo-token-tool.d.ts.map +1 -1
- package/src/weibo-token-tool.js +3 -3
- package/src/weibo-token-tool.js.map +1 -1
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: weibo-pic
|
|
3
|
+
description: |
|
|
4
|
+
微博图片上传工具。当用户需要上传本地图片文件到微博时激活。
|
|
5
|
+
支持常见图片格式,返回图片 ID。
|
|
6
|
+
metadata:
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 微博图片上传 Skill
|
|
11
|
+
|
|
12
|
+
微博图片上传是一个专为 AI Agent 设计的图片上传能力。在这里,Agent 可以将本地图片文件上传到微博平台。
|
|
13
|
+
|
|
14
|
+
> **本文档会经常更新。** 如果你在使用 API 时遇到问题(接口报错、字段变化、新功能不可用等),请重新访问本 Skill 的地址,获取最新版本后再重试。不要依赖缓存中的旧版本。
|
|
15
|
+
|
|
16
|
+
## 脚本调用方式
|
|
17
|
+
|
|
18
|
+
本 Skill 使用脚本 `scripts/weibo-pic.js` 完成所有接口调用。
|
|
19
|
+
|
|
20
|
+
### 配置优先级
|
|
21
|
+
|
|
22
|
+
脚本支持多种配置方式,按以下优先级加载:
|
|
23
|
+
|
|
24
|
+
1. **本地配置文件** `~/.weibo-pic/config.json`(优先级最高)
|
|
25
|
+
2. **OpenClaw 配置文件** `~/.openclaw/openclaw.json`
|
|
26
|
+
|
|
27
|
+
### 可用命令
|
|
28
|
+
|
|
29
|
+
| 命令 | 说明 |
|
|
30
|
+
|------|------|
|
|
31
|
+
| `login` | 登录并获取 Token(首次使用请先执行此命令) |
|
|
32
|
+
| `refresh` | 刷新 Token |
|
|
33
|
+
| `upload` | 上传本地图片文件 |
|
|
34
|
+
| `help` | 显示帮助信息 |
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 平台结构
|
|
39
|
+
|
|
40
|
+
微博图片上传 Skill 提供以下核心能力:
|
|
41
|
+
|
|
42
|
+
- **图片上传** — 将本地图片文件上传到微博平台
|
|
43
|
+
- **图片 ID** — 返回上传后的图片 ID
|
|
44
|
+
- **格式支持** — 仅支持 JPG/JPEG、PNG、GIF 格式
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 快速开始
|
|
49
|
+
|
|
50
|
+
### 1. 登录并获取 Token
|
|
51
|
+
|
|
52
|
+
首次使用时,运行 `login` 命令进行登录配置:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
node scripts/weibo-pic.js login
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
如果没有配置信息,脚本会启动交互式配置向导,引导你输入 App ID 和 App Secret。配置完成后会自动获取 Token 并缓存。
|
|
59
|
+
|
|
60
|
+
**交互式配置流程**:
|
|
61
|
+
```
|
|
62
|
+
=== 微博图片上传配置向导 ===
|
|
63
|
+
|
|
64
|
+
请输入您的微博应用凭证信息。
|
|
65
|
+
如果您还没有凭证,请私信 @微博龙虾助手 发送 "连接龙虾" 获取。
|
|
66
|
+
|
|
67
|
+
请输入 App ID: your_app_id
|
|
68
|
+
请输入 App Secret: your_app_secret
|
|
69
|
+
|
|
70
|
+
配置已保存到: ~/.weibo-pic/config.json
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**登录成功输出**:
|
|
74
|
+
```
|
|
75
|
+
✓ 登录成功!
|
|
76
|
+
Token: eyJhbGciOiJIUzI1NiIs...
|
|
77
|
+
有效期: 7200 秒 (约 2.0 小时)
|
|
78
|
+
过期时间: 2026/3/19 23:47:38
|
|
79
|
+
|
|
80
|
+
--- Token 信息(JSON 格式)---
|
|
81
|
+
{
|
|
82
|
+
"code": 0,
|
|
83
|
+
"message": "success",
|
|
84
|
+
"data": {
|
|
85
|
+
"token": "临时连接Token",
|
|
86
|
+
"expire_in": 7200
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
> **Token 自动管理**:登录成功后,Token 会被缓存到 `~/.weibo-pic/token-cache.json`。后续执行其他命令时,脚本会自动使用缓存的 Token,并在过期前 60 秒自动刷新,无需手动管理。
|
|
92
|
+
|
|
93
|
+
### 2. 上传图片
|
|
94
|
+
|
|
95
|
+
登录后,使用 `upload` 命令上传图片:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
node scripts/weibo-pic.js upload --file="/path/to/image.jpg"
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**参数说明**:
|
|
102
|
+
|
|
103
|
+
| 参数 | 说明 | 必填 |
|
|
104
|
+
|------|------|------|
|
|
105
|
+
| `--file` | 图片文件路径 | 是 |
|
|
106
|
+
|
|
107
|
+
**上传过程输出**:
|
|
108
|
+
```
|
|
109
|
+
[INFO] 准备上传图片: image.jpg
|
|
110
|
+
[INFO] 文件大小: 1.25 MB
|
|
111
|
+
[INFO] 上传中...
|
|
112
|
+
[SUCCESS] ✓ 图片上传完成!
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**返回示例**:
|
|
116
|
+
```json
|
|
117
|
+
{
|
|
118
|
+
"code": 0,
|
|
119
|
+
"message": "success",
|
|
120
|
+
"data": {
|
|
121
|
+
"pic_id": "xxx"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### 3. 刷新 Token
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
node scripts/weibo-pic.js refresh
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
返回示例:
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"code": 0,
|
|
136
|
+
"message": "success"
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## 核心红线(必须遵守)
|
|
143
|
+
|
|
144
|
+
1. **Token 必须有效** — 所有业务接口都需要携带有效的 Token,过期后需重新获取或刷新
|
|
145
|
+
2. **文件必须存在** — 上传前会检查文件是否存在,不存在会报错
|
|
146
|
+
3. **文件大小限制** — 图片文件大小不能超过 10MB
|
|
147
|
+
4. **频率限制** — 收到 42900 错误需等待次日
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## 使用流程(推荐)
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
1. 首次使用登录 → node weibo-pic.js login(配置凭证并获取 Token)
|
|
155
|
+
2. 准备图片文件 → 确保图片文件路径正确
|
|
156
|
+
3. 上传图片 → node weibo-pic.js upload --file="/path/to/image.jpg"
|
|
157
|
+
4. 获取上传结果 → 记录返回的 pic_id
|
|
158
|
+
5. Token 会自动管理,无需手动刷新
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
> **注意**:登录后 Token 会自动缓存和刷新,无需每次手动获取。
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## 技术细节
|
|
166
|
+
|
|
167
|
+
### API 接口说明
|
|
168
|
+
|
|
169
|
+
#### 上传图片
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
POST /open/pic/upload?token=xxx
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
**请求体**: 图片二进制数据
|
|
176
|
+
|
|
177
|
+
**参数**:
|
|
178
|
+
- `token`: 认证令牌(必填,URL参数)
|
|
179
|
+
|
|
180
|
+
**响应**:
|
|
181
|
+
```json
|
|
182
|
+
{
|
|
183
|
+
"code": 0,
|
|
184
|
+
"message": "success",
|
|
185
|
+
"data": {
|
|
186
|
+
"pic_id": "xxx"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## 错误码说明
|
|
194
|
+
|
|
195
|
+
| 错误码 | 说明 | 处理建议 |
|
|
196
|
+
|--------|------|----------|
|
|
197
|
+
| 0 | 成功 | - |
|
|
198
|
+
| 40001 | 参数缺失:token | 检查必填参数 |
|
|
199
|
+
| 40002 | 参数缺失或超限 | 检查必填参数 |
|
|
200
|
+
| 40100 | Token 无效或已过期 | 重新获取 Token |
|
|
201
|
+
| 42900 | 频率限制,超过每日调用次数上限 | 等待次日重试 |
|
|
202
|
+
| 50000 | 服务器内部错误 | 稍后重试 |
|
|
203
|
+
| 50001 | 操作失败 | 检查参数后重试 |
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## 命令快速索引
|
|
208
|
+
|
|
209
|
+
| 功能 | 命令 | 说明 |
|
|
210
|
+
|------|------|------|
|
|
211
|
+
| 登录 | `node weibo-pic.js login` | 登录并获取 Token(首次使用) |
|
|
212
|
+
| 刷新 Token | `node weibo-pic.js refresh` | 手动刷新令牌(通常无需手动执行) |
|
|
213
|
+
| 上传图片 | `node weibo-pic.js upload --file="path"` | 上传本地图片文件 |
|
|
214
|
+
| 帮助 | `node weibo-pic.js help` | 显示帮助信息 |
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## 完整示例
|
|
219
|
+
|
|
220
|
+
### 方式一:使用交互式登录(推荐)
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
# 首次使用,登录并配置(会启动交互式向导)
|
|
224
|
+
node scripts/weibo-pic.js login
|
|
225
|
+
|
|
226
|
+
# 登录后,直接执行命令(自动使用缓存的 Token)
|
|
227
|
+
# 上传图片
|
|
228
|
+
node scripts/weibo-pic.js upload --file="/path/to/image.jpg"
|
|
229
|
+
|
|
230
|
+
# 查看帮助信息
|
|
231
|
+
node scripts/weibo-pic.js help
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## 配置文件说明
|
|
237
|
+
|
|
238
|
+
| 文件路径 | 说明 |
|
|
239
|
+
|----------|------|
|
|
240
|
+
| `~/.weibo-pic/config.json` | 本地配置文件,存储加密后的 App ID 和 App Secret |
|
|
241
|
+
| `~/.weibo-pic/token-cache.json` | Token 缓存文件,存储当前有效的 Token |
|
|
242
|
+
| `~/.openclaw/openclaw.json` | OpenClaw 配置文件(可选) |
|
|
243
|
+
|
|
244
|
+
> **安全说明**:配置文件中的敏感信息(App ID 和 App Secret)会使用 AES-256-GCM 加密存储,密钥基于机器特征生成。配置文件权限设置为 600(仅所有者可读写)。
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## 最佳实践
|
|
249
|
+
|
|
250
|
+
1. **首次使用先登录** — 运行 `login` 命令完成配置,后续命令会自动使用缓存的 Token
|
|
251
|
+
2. **Token 自动管理** — 脚本会自动管理 Token 的缓存和刷新,无需手动处理
|
|
252
|
+
3. **文件格式** — 确保图片文件格式为 JPG/JPEG、PNG 或 GIF(仅支持这三种格式)
|
|
253
|
+
4. **错误重试** — 遇到 `42900` 频率限制时,等待到第二天重试;遇到 `50000` 服务器错误时,可适当重试
|
|
254
|
+
5. **保管好凭证** — 配置文件已加密存储,但仍需注意不要泄露原始凭证
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
## 支持的图片格式
|
|
259
|
+
|
|
260
|
+
本工具仅支持以下图片格式:
|
|
261
|
+
|
|
262
|
+
- JPG/JPEG(推荐)
|
|
263
|
+
- PNG
|
|
264
|
+
- GIF
|
|
265
|
+
|
|
266
|
+
> **注意**:建议使用 JPG 格式,以获得最佳兼容性和较小的文件大小。
|