New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@promptbook/utils

Package Overview
Dependencies
Maintainers
1
Versions
536
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/utils - npm Package Compare versions

Comparing version 0.81.0-14 to 0.81.0-15

esm/typings/src/formfactors/image-generator/ImageGeneratorFormfactorDefinition.d.ts

2

esm/typings/src/_packages/core.index.d.ts

@@ -77,2 +77,3 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';

import { GenericFormfactorDefinition } from '../formfactors/generic/GenericFormfactorDefinition';
import { ImageGeneratorFormfactorDefinition } from '../formfactors/image-generator/ImageGeneratorFormfactorDefinition';
import { FORMFACTOR_DEFINITIONS } from '../formfactors/index';

@@ -197,2 +198,3 @@ import { MatcherFormfactorDefinition } from '../formfactors/matcher/MatcherFormfactorDefinition';

export { GenericFormfactorDefinition };
export { ImageGeneratorFormfactorDefinition };
export { FORMFACTOR_DEFINITIONS };

@@ -199,0 +201,0 @@ export { MatcherFormfactorDefinition };

4

esm/typings/src/_packages/utils.index.d.ts

@@ -71,3 +71,3 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';

import { isValidEmail } from '../utils/validators/email/isValidEmail';
import { isPathRoot } from '../utils/validators/filePath/isPathRoot';
import { isRootPath } from '../utils/validators/filePath/isRootPath';
import { isValidFilePath } from '../utils/validators/filePath/isValidFilePath';

@@ -152,3 +152,3 @@ import { isValidJavascriptName } from '../utils/validators/javascriptName/isValidJavascriptName';

export { isValidEmail };
export { isPathRoot };
export { isRootPath };
export { isValidFilePath };

@@ -155,0 +155,0 @@ export { isValidJavascriptName };

@@ -22,7 +22,3 @@ /**

readonly name: "previousTitle";
readonly description: "Previous title of the conversation"; /**
* All available formfactor definitions
*
* @public exported from `@promptbook/core`
*/
readonly description: "Previous title of the conversation";
readonly isInput: true;

@@ -44,2 +40,5 @@ readonly isOutput: false;

readonly description: "Title of the conversation";
/**
* Note: [💞] Ignore a discrepancy between file name and entity name
*/
readonly isInput: false;

@@ -122,2 +121,20 @@ readonly isOutput: true;

};
}, {
readonly name: "IMAGE_GENERATOR";
readonly description: "@@@";
readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/184";
readonly pipelineInterface: {
readonly inputParameters: readonly [{
readonly name: "inputMessage";
readonly description: "Input message to be image made from";
readonly isInput: true;
readonly isOutput: false;
}];
readonly outputParameters: readonly [{
readonly name: "prompt";
readonly description: "Prompt to be used for image generation";
readonly isInput: false;
readonly isOutput: true;
}];
};
}];

@@ -124,0 +141,0 @@ /**

@@ -26,3 +26,3 @@ /**

}[];
readonly formfactorName?: "CHATBOT" | "GENERATOR" | "GENERIC" | "EXPERIMENTAL_MATCHER" | "SHEETS" | "TRANSLATOR" | undefined;
readonly formfactorName?: "CHATBOT" | "GENERATOR" | "GENERIC" | "IMAGE_GENERATOR" | "EXPERIMENTAL_MATCHER" | "SHEETS" | "TRANSLATOR" | undefined;
}>): void;

@@ -49,3 +49,3 @@ }, {

}[];
readonly formfactorName?: "CHATBOT" | "GENERATOR" | "GENERIC" | "EXPERIMENTAL_MATCHER" | "SHEETS" | "TRANSLATOR" | undefined;
readonly formfactorName?: "CHATBOT" | "GENERATOR" | "GENERIC" | "IMAGE_GENERATOR" | "EXPERIMENTAL_MATCHER" | "SHEETS" | "TRANSLATOR" | undefined;
}>): void;

@@ -52,0 +52,0 @@ }];

@@ -15,3 +15,3 @@ import type { LlmToolsConfiguration } from './LlmToolsConfiguration';

*/
export declare function $provideLlmToolsConfigurationFromEnv(): LlmToolsConfiguration;
export declare function $provideLlmToolsConfigurationFromEnv(): Promise<LlmToolsConfiguration>;
/**

@@ -18,0 +18,0 @@ * TODO: [🧠][🪁] Maybe do allow to do auto-install if package not registered and not found

@@ -17,3 +17,3 @@ import '../../../_packages/cli.index';

*/
export declare function $provideLlmToolsForTestingAndScriptsAndPlayground(options?: GetLlmToolsForTestingAndScriptsAndPlaygroundOptions): LlmExecutionToolsWithTotalUsage;
export declare function $provideLlmToolsForTestingAndScriptsAndPlayground(options?: GetLlmToolsForTestingAndScriptsAndPlaygroundOptions): Promise<LlmExecutionToolsWithTotalUsage>;
export {};

@@ -20,0 +20,0 @@ /**

@@ -8,3 +8,3 @@ import type { CacheLlmToolsOptions } from '../utils/cache/CacheLlmToolsOptions';

*/
export declare function $provideLlmToolsForWizzardOrCli(options?: Pick<CacheLlmToolsOptions, 'isCacheReloaded'>): LlmExecutionToolsWithTotalUsage;
export declare function $provideLlmToolsForWizzardOrCli(options?: Pick<CacheLlmToolsOptions, 'isCacheReloaded'>): Promise<LlmExecutionToolsWithTotalUsage>;
/**

@@ -11,0 +11,0 @@ * Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment

@@ -18,3 +18,3 @@ import { MultipleLlmExecutionTools } from '../../multiple/MultipleLlmExecutionTools';

*/
export declare function $provideLlmToolsFromEnv(options?: CreateLlmToolsFromConfigurationOptions): MultipleLlmExecutionTools;
export declare function $provideLlmToolsFromEnv(options?: CreateLlmToolsFromConfigurationOptions): Promise<MultipleLlmExecutionTools>;
/**

@@ -21,0 +21,0 @@ * TODO: @@@ write `$provideLlmToolsFromEnv` vs `$provideLlmToolsConfigurationFromEnv` vs `createLlmToolsFromConfiguration`

{
"name": "@promptbook/utils",
"version": "0.81.0-14",
"version": "0.81.0-15",
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",

@@ -5,0 +5,0 @@ "--note-0": " <- [🐊]",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc