@botpress/adk 1.7.5 → 1.7.7
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../src/bot-generator/generator.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,YAAY,CAAA;CACpD;AAkBD,qBAAa,YAAY;IACvB,OAAO,CAAC,WAAW,CAAQ;IAC3B,OAAO,CAAC,UAAU,CAAQ;gBAEd,OAAO,EAAE,mBAAmB;YAK1B,kBAAkB;YAuBlB,sBAAsB;IAsB9B,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YA6BjB,yBAAyB;YAiEzB,kBAAkB;YAKlB,oBAAoB;YAKpB,kBAAkB;YAKlB,kBAAkB;YAKlB,qBAAqB;YAKrB,yBAAyB;YAKzB,mBAAmB;YAMnB,8BAA8B;YAM9B,oBAAoB;YAyEpB,uBAAuB;YA8FvB,8BAA8B;YA2B9B,4BAA4B;YA2B5B,qBAAqB;
|
|
1
|
+
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../src/bot-generator/generator.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,YAAY,CAAA;CACpD;AAkBD,qBAAa,YAAY;IACvB,OAAO,CAAC,WAAW,CAAQ;IAC3B,OAAO,CAAC,UAAU,CAAQ;gBAEd,OAAO,EAAE,mBAAmB;YAK1B,kBAAkB;YAuBlB,sBAAsB;IAsB9B,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YA6BjB,yBAAyB;YAiEzB,kBAAkB;YAKlB,oBAAoB;YAKpB,kBAAkB;YAKlB,kBAAkB;YAKlB,qBAAqB;YAKrB,yBAAyB;YAKzB,mBAAmB;YAMnB,8BAA8B;YAM9B,oBAAoB;YAyEpB,uBAAuB;YA8FvB,8BAA8B;YA2B9B,4BAA4B;YA2B5B,qBAAqB;YA6SrB,gBAAgB;YAoChB,mBAAmB;YAqBnB,gBAAgB;YAiChB,mBAAmB;YAyBnB,UAAU;YAWV,aAAa;IAgBrB,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IA6ZnC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;CAOzC;AAED,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CA0CpF"}
|
|
@@ -10,7 +10,7 @@ export declare const PRETTIER_CONFIG: {
|
|
|
10
10
|
proseWrap: "preserve";
|
|
11
11
|
};
|
|
12
12
|
export declare const formatCode: (code: string, filepath?: string) => Promise<string>;
|
|
13
|
-
export declare const ADK_VERSION
|
|
13
|
+
export declare const ADK_VERSION: string;
|
|
14
14
|
export declare const relative: (from: string, to: string) => string;
|
|
15
15
|
export declare function toMultilineComment(comment: string): string;
|
|
16
16
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/generators/utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;CAWA,CAAA;AAE5B,eAAO,MAAM,UAAU,GAAU,MAAM,MAAM,EAAE,WAAW,MAAM,KAAG,OAAO,CAAC,MAAM,CAuBhF,CAAA;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/generators/utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;CAWA,CAAA;AAE5B,eAAO,MAAM,UAAU,GAAU,MAAM,MAAM,EAAE,WAAW,MAAM,KAAG,OAAO,CAAC,MAAM,CAuBhF,CAAA;AAKD,eAAO,MAAM,WAAW,QAAsB,CAAA;AAE9C,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,EAAE,IAAI,MAAM,KAAG,MAInD,CAAA;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CA6B1D"}
|
package/dist/index.js
CHANGED
|
@@ -217,7 +217,7 @@ var PRETTIER_CONFIG, formatCode = async (code, filepath) => {
|
|
|
217
217
|
`));
|
|
218
218
|
return code;
|
|
219
219
|
}
|
|
220
|
-
}, ADK_VERSION = "1.
|
|
220
|
+
}, ADK_VERSION = "1.7.7", relative2 = (from, to) => {
|
|
221
221
|
const fromDir = path13.dirname(from);
|
|
222
222
|
const relative3 = path13.relative(fromDir, to);
|
|
223
223
|
return relative3.startsWith(".") ? relative3 : `./${relative3}`;
|
|
@@ -4517,7 +4517,7 @@ class AgentProjectGenerator {
|
|
|
4517
4517
|
deploy: "adk deploy"
|
|
4518
4518
|
},
|
|
4519
4519
|
dependencies: {
|
|
4520
|
-
"@botpress/runtime": `^${"1.7.
|
|
4520
|
+
"@botpress/runtime": `^${"1.7.7"}`
|
|
4521
4521
|
},
|
|
4522
4522
|
devDependencies: {
|
|
4523
4523
|
typescript: "^5.9.3"
|
|
@@ -6370,6 +6370,12 @@ declare module "@botpress/runtime/_types/state" {
|
|
|
6370
6370
|
`) : ""}
|
|
6371
6371
|
|
|
6372
6372
|
const bot = new BotDefinition({
|
|
6373
|
+
|
|
6374
|
+
attributes: {
|
|
6375
|
+
runtime: "adk",
|
|
6376
|
+
runtimeVersion: "${ADK_VERSION}",
|
|
6377
|
+
},
|
|
6378
|
+
|
|
6373
6379
|
conversation: {
|
|
6374
6380
|
tags: {
|
|
6375
6381
|
${Object.entries(conversationTags).map(([tag, meta]) => `// ${meta.title}
|
|
@@ -7357,5 +7363,5 @@ export {
|
|
|
7357
7363
|
AgentProject
|
|
7358
7364
|
};
|
|
7359
7365
|
|
|
7360
|
-
//# debugId=
|
|
7366
|
+
//# debugId=D326A7034ACA98B664756E2164756E21
|
|
7361
7367
|
//# sourceMappingURL=index.js.map
|