coze-coding-dev-sdk 0.7.18 → 0.7.19-beta.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/dist/cjs/cli/index.js +75 -41
- package/dist/cjs/cli/index.js.LICENSE.txt +58 -0
- package/dist/cjs/index.js +28 -28
- package/dist/esm/131.mjs +19 -19
- package/dist/esm/1~113.mjs +1 -1
- package/dist/esm/1~390.mjs +2 -2
- package/dist/esm/1~398.mjs +2 -2
- package/dist/esm/1~844.mjs +1 -1
- package/dist/esm/687.mjs +1 -0
- package/dist/esm/cli/index.mjs +29 -24
- package/dist/esm/cli/index.mjs.LICENSE.txt +58 -0
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/rslib-runtime.mjs +1 -1
- package/dist/types/cli/commands/storage.d.ts +6 -0
- package/dist/types/cli/commands/storage.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/report/buffer.d.ts +24 -0
- package/dist/types/report/buffer.d.ts.map +1 -0
- package/dist/types/report/client.d.ts +10 -0
- package/dist/types/report/client.d.ts.map +1 -0
- package/dist/types/report/index.d.ts +8 -0
- package/dist/types/report/index.d.ts.map +1 -0
- package/dist/types/report/interceptors/fetch-wrapper.d.ts +3 -0
- package/dist/types/report/interceptors/fetch-wrapper.d.ts.map +1 -0
- package/dist/types/report/interceptors/s3-middleware.d.ts +10 -0
- package/dist/types/report/interceptors/s3-middleware.d.ts.map +1 -0
- package/dist/types/report/models.d.ts +15 -0
- package/dist/types/report/models.d.ts.map +1 -0
- package/dist/types/report/singleton.d.ts +3 -0
- package/dist/types/report/singleton.d.ts.map +1 -0
- package/dist/types/report/utils.d.ts +3 -0
- package/dist/types/report/utils.d.ts.map +1 -0
- package/dist/types/s3/client.d.ts.map +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2014-2018, Jon Schlinkert.
|
|
5
|
+
* Released under the MIT License.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
|
|
9
|
+
|
|
10
|
+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Archiver Core
|
|
14
|
+
*
|
|
15
|
+
* @ignore
|
|
16
|
+
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
|
17
|
+
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Archiver Vending
|
|
22
|
+
*
|
|
23
|
+
* @ignore
|
|
24
|
+
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
|
25
|
+
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* JSON Format Plugin
|
|
30
|
+
*
|
|
31
|
+
* @module plugins/json
|
|
32
|
+
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
|
33
|
+
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* TAR Format Plugin
|
|
38
|
+
*
|
|
39
|
+
* @module plugins/tar
|
|
40
|
+
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
|
41
|
+
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* ZIP Format Plugin
|
|
46
|
+
*
|
|
47
|
+
* @module plugins/zip
|
|
48
|
+
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
|
49
|
+
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* ZipStream
|
|
54
|
+
*
|
|
55
|
+
* @ignore
|
|
56
|
+
* @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
|
|
57
|
+
* @copyright (c) 2014 Chris Talkington, contributors.
|
|
58
|
+
*/
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="0.3.0";export{APIError,ASRClient,BaseClient,
|
|
1
|
+
var e="0.3.0";export{APIError,ASRClient,BaseClient,ConfigurationError,ContentPart,DEFAULT_EMBEDDING_CONFIG,DataSourceType,DatabaseConfig,EmbedOptions,EmbeddingClient,EmbeddingConfig,EmbeddingData,EmbeddingInputImageURL,EmbeddingInputItem,EmbeddingInputVideoURL,EmbeddingRequest,EmbeddingResponse,EmbeddingUsage,FILE_NAME_ALLOWED_RE,FORWARD_HEADER_KEYS,FetchClient,ForwardHeaderKey,FrameExtractorClient,HeaderUtils,ImageConfig,ImageGenerationClient,ImageGenerationResponseHelper,KnowledgeClient,LLMClient,LLMConfig,LLMDefaults,LLMResponse,Message,MultiEmbeddingConfig,NetworkError,PromptTokensDetails,S3Config,S3Storage,SearchClient,SparseEmbeddingConfig,SparseEmbeddingItem,SupabaseClient,TTSClient,TTSConfig,ValidationError,VideoConfig,VideoEditClient,VideoEditConfig,VideoGenerationClient,buildASRApiRequest,buildImageGenerationApiRequest,buildTTSApiRequest,closePool,convertContentItem,convertDisplayInfo,convertFromApiFormat,convertToApiFormat,generateModels,getClient,getDb,getDbUrl,getPool,loadEnv,upgrade,validateImageSize,validateImageSizeOrDefault}from"./131.mjs";export{CozeConfig,ReportBuffer,ReportClient,T_0 as Config,createS3ReportMiddleware_0 as createS3ReportMiddleware,createWrappedFetch,getReportBuffer_0 as getReportBuffer,redactUrl,e as VERSION,truncate};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={},r={};function o(t){var
|
|
1
|
+
var e={},r={};function o(t){var a=r[t];if(void 0!==a)return a.exports;var d=r[t]={id:t,loaded:!1,exports:{}};return e[t].call(d.exports,d,d.exports,o),d.loaded=!0,d.exports}o.m=e,o.add=function(e){Object.assign(o.m,e)},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);export{o as __webpack_require__};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/storage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiIpC,eAAO,MAAM,cAAc,SAAgE,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReportClient } from './client';
|
|
2
|
+
import { LogEntry } from './models';
|
|
3
|
+
export declare class ReportBuffer {
|
|
4
|
+
private buffer;
|
|
5
|
+
private timer;
|
|
6
|
+
private projectId;
|
|
7
|
+
private env;
|
|
8
|
+
private client;
|
|
9
|
+
private destroyed;
|
|
10
|
+
private flushing;
|
|
11
|
+
private onExitHandler;
|
|
12
|
+
constructor(client: ReportClient);
|
|
13
|
+
add(entry: LogEntry): void;
|
|
14
|
+
flush(): Promise<void>;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Flush remaining entries and then exit the process.
|
|
18
|
+
* Unlike destroy(), this waits for the async flush to complete before calling
|
|
19
|
+
* process.exit(), so buffered entries are not lost on SIGTERM/SIGINT.
|
|
20
|
+
* A safety timeout ensures the process exits even if the flush hangs.
|
|
21
|
+
*/
|
|
22
|
+
private destroyAndExit;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=buffer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buffer.d.ts","sourceRoot":"","sources":["../../../src/report/buffer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMpC,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,KAAK,CAA+C;IAC5D,OAAO,CAAC,SAAS,CAAgB;IACjC,OAAO,CAAC,GAAG,CAAgB;IAC3B,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,QAAQ,CAAS;IAEzB,OAAO,CAAC,aAAa,CAAa;gBAEtB,MAAM,EAAE,YAAY;IAiBhC,GAAG,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI;IAcpB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAkB5B,OAAO,IAAI,IAAI;IAaf;;;;;OAKG;IACH,OAAO,CAAC,cAAc;CAqBvB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Config } from '../core/config';
|
|
2
|
+
import { LogEntry } from './models';
|
|
3
|
+
export declare class ReportClient {
|
|
4
|
+
private baseUrl;
|
|
5
|
+
private apiKey;
|
|
6
|
+
private configured;
|
|
7
|
+
constructor(config?: Config);
|
|
8
|
+
batchReport(entries: LogEntry[]): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/report/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIpC,qBAAa,YAAY;IACvB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,UAAU,CAAU;gBAEhB,MAAM,CAAC,EAAE,MAAM;IAarB,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAsBtD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type { LogEntry } from './models';
|
|
2
|
+
export { ReportClient } from './client';
|
|
3
|
+
export { ReportBuffer } from './buffer';
|
|
4
|
+
export { getReportBuffer } from './singleton';
|
|
5
|
+
export { truncate, redactUrl } from './utils';
|
|
6
|
+
export { createWrappedFetch } from './interceptors/fetch-wrapper';
|
|
7
|
+
export { createS3ReportMiddleware } from './interceptors/s3-middleware';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/report/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-wrapper.d.ts","sourceRoot":"","sources":["../../../../src/report/interceptors/fetch-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAMzC,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,EAAE,MAAM,GAAE,MAAmB,IACpE,OAAO,MAAM,GAAG,GAAG,GAAG,OAAO,EAAE,OAAO,WAAW,KAAG,OAAO,CAAC,QAAQ,CAAC,CAWpF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReportBuffer } from '../buffer';
|
|
2
|
+
export declare function createS3ReportMiddleware(buffer: ReportBuffer | null): {
|
|
3
|
+
middleware: (next: any, _context: any) => (args: any) => Promise<any>;
|
|
4
|
+
options: {
|
|
5
|
+
step: "deserialize";
|
|
6
|
+
name: string;
|
|
7
|
+
override: boolean;
|
|
8
|
+
};
|
|
9
|
+
} | null;
|
|
10
|
+
//# sourceMappingURL=s3-middleware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s3-middleware.d.ts","sourceRoot":"","sources":["../../../../src/report/interceptors/s3-middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAIzC,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;uBAI7C,GAAG,YAAY,GAAG,MAAY,MAAM,GAAG;;;;;;SAc7D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface LogEntry {
|
|
2
|
+
source: string;
|
|
3
|
+
project_id: string | null;
|
|
4
|
+
env: string | null;
|
|
5
|
+
method: string;
|
|
6
|
+
url: string;
|
|
7
|
+
request_body: string | null;
|
|
8
|
+
response_body: string | null;
|
|
9
|
+
status_code: number | null;
|
|
10
|
+
error: string | null;
|
|
11
|
+
duration_ms: number;
|
|
12
|
+
timestamp: string;
|
|
13
|
+
success: boolean;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/report/models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../src/report/singleton.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,wBAAgB,eAAe,IAAI,YAAY,GAAG,IAAI,CASrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/report/utils.ts"],"names":[],"mappings":"AAIA,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,MAAM,GAAE,MAAgC,GAAG,MAAM,GAAG,IAAI,CAI9G;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/s3/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAWH,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAIlC,OAAO,EAAE,eAAe,EAAY,eAAe,EAAE,MAAM,UAAU,CAAC;AAMtE,qBAAa,SAAS;IACpB,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,MAAM,CAAyB;gBAE3B,MAAM,GAAE,eAAoB;IAQxC,OAAO,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/s3/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAWH,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAIlC,OAAO,EAAE,eAAe,EAAY,eAAe,EAAE,MAAM,UAAU,CAAC;AAMtE,qBAAa,SAAS;IACpB,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,MAAM,CAAyB;gBAE3B,MAAM,GAAE,eAAoB;IAQxC,OAAO,CAAC,SAAS;IAyCjB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,aAAa;IAQrB;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IA4ClB,UAAU,CAAC,OAAO,EAAE;QACxB,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GAAG,OAAO,CAAC,MAAM,CAAC;IAsBb,QAAQ,CAAC,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IAoBxE,UAAU,CAAC,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC;IAY3E,UAAU,CAAC,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC;IAmB3E,SAAS,CAAC,OAAO,GAAE;QACvB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;KACvB,GAAG,OAAO,CAAC,eAAe,CAAC;IA4B3B,oBAAoB,CAAC,OAAO,EAAE;QAClC,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,GAAG,OAAO,CAAC,MAAM,CAAC;IAmDb,gBAAgB,CAAC,OAAO,EAAE;QAC9B,MAAM,EAAE,QAAQ,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GAAG,OAAO,CAAC,MAAM,CAAC;IAwBb,aAAa,CAAC,OAAO,EAAE;QAC3B,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,GAAG,OAAO,CAAC,MAAM,CAAC;IAwBb,eAAe,CAAC,OAAO,EAAE;QAC7B,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QAC9B,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GAAG,OAAO,CAAC,MAAM,CAAC;CAyBpB;AAED,eAAe,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coze-coding-dev-sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.19-beta.1",
|
|
4
4
|
"description": "Coze Coding Dev SDK - 优雅的多功能 AI SDK,支持图片生成、视频生成、语音合成、语音识别、大语言模型和联网搜索",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.mjs",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"@aws-sdk/client-s3": "^3.958.0",
|
|
73
73
|
"@aws-sdk/lib-storage": "^3.958.0",
|
|
74
74
|
"@rslib/core": "^0.19.3",
|
|
75
|
+
"@types/archiver": "^6.0.3",
|
|
75
76
|
"@types/jest": "^29.5.14",
|
|
76
77
|
"@types/node": "^20.19.27",
|
|
77
78
|
"@types/pg": "^8.0.0",
|
|
@@ -89,7 +90,8 @@
|
|
|
89
90
|
"transliteration": "^2.6.0",
|
|
90
91
|
"ts-jest": "^29.0.0",
|
|
91
92
|
"ts-node": "^10.9.2",
|
|
92
|
-
"typescript": "^5.0.0"
|
|
93
|
+
"typescript": "^5.0.0",
|
|
94
|
+
"archiver": "^7.0.1"
|
|
93
95
|
},
|
|
94
96
|
"engines": {
|
|
95
97
|
"node": ">=18.0.0"
|