From a6ea67bb22fe47572668e22bb31c66b55a47e34c Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 5 Sep 2024 23:26:26 +0000 Subject: [PATCH] [skip ci] updated version numbers --- docs/package.json | 58 ++++++------ packages/cli/package.json | 176 +++++++++++++++++------------------ packages/core/package.json | 160 +++++++++++++++---------------- packages/sample/package.json | 50 +++++----- packages/vscode/package.json | 2 +- slides/package.json | 34 +++---- 6 files changed, 240 insertions(+), 240 deletions(-) diff --git a/docs/package.json b/docs/package.json index 59b51b5b75..9c66f0ccd4 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,31 +1,31 @@ { - "name": "docs", - "type": "module", - "private": true, - "version": "1.54.0", - "license": "MIT", - "scripts": { - "install:force": "rm yarn.lock && yarn install", - "dev": "astro dev --host", - "start": "astro dev --host", - "check": "astro check", - "build": "astro build", - "build:asw": "rm -Rf distasw && mkdir distasw && touch distasw/index.html && mkdir distasw/genaiscript && cp -r dist/* distasw/genaiscript", - "preview": "astro preview", - "astro": "astro", - "genai:test": "node ../packages/cli/built/genaiscript.cjs test src/**/*.md", - "genai:frontmatter": "node ../packages/cli/built/genaiscript.cjs run frontmatter \"src/**/*.md\" --apply-edits", - "genai:technical": "for file in \"src/**/*.md\"; do\nnode ../packages/cli/built/genaiscript.cjs run technical \"$file\" --apply-edits\ndone", - "genai:alt-text": "node scripts/image-alt-text.mjs" - }, - "dependencies": { - "@astrojs/check": "^0.9.3", - "@astrojs/starlight": "^0.26.3", - "astro": "^4.15.3", - "typescript": "5.5.4" - }, - "devDependencies": { - "starlight-blog": "^0.12.0", - "zx": "^8.1.5" - } + "name": "docs", + "type": "module", + "private": true, + "version": "1.54.1", + "license": "MIT", + "scripts": { + "install:force": "rm yarn.lock && yarn install", + "dev": "astro dev --host", + "start": "astro dev --host", + "check": "astro check", + "build": "astro build", + "build:asw": "rm -Rf distasw && mkdir distasw && touch distasw/index.html && mkdir distasw/genaiscript && cp -r dist/* distasw/genaiscript", + "preview": "astro preview", + "astro": "astro", + "genai:test": "node ../packages/cli/built/genaiscript.cjs test src/**/*.md", + "genai:frontmatter": "node ../packages/cli/built/genaiscript.cjs run frontmatter \"src/**/*.md\" --apply-edits", + "genai:technical": "for file in \"src/**/*.md\"; do\nnode ../packages/cli/built/genaiscript.cjs run technical \"$file\" --apply-edits\ndone", + "genai:alt-text": "node scripts/image-alt-text.mjs" + }, + "dependencies": { + "@astrojs/check": "^0.9.3", + "@astrojs/starlight": "^0.26.3", + "astro": "^4.15.3", + "typescript": "5.5.4" + }, + "devDependencies": { + "starlight-blog": "^0.12.0", + "zx": "^8.1.5" + } } diff --git a/packages/cli/package.json b/packages/cli/package.json index 8ebc96579b..46d13bbb42 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,90 +1,90 @@ { - "name": "genaiscript", - "version": "1.54.0", - "main": "built/genaiscript.cjs", - "type": "commonjs", - "bin": { - "genaiscript": "built/genaiscript.cjs" - }, - "files": [ - "built/genaiscript.cjs" - ], - "publisher": "Microsoft", - "repository": { - "url": "git+https://github.com/microsoft/genaiscript.git" - }, - "homepage": "https://microsoft.github.io/genaiscript", - "keywords": [ - "genai", - "ai", - "agentic", - "cli", - "prompt", - "llm", - "generative ai", - "gpt4", - "chatgpt", - "ollama", - "llamacpp", - "chatgpt" - ], - "description": "A CLI for GenAIScript, a generative AI scripting framework.", - "license": "MIT", - "dependencies": { - "@azure/identity": "^4.4.1", - "@inquirer/prompts": "^5.4.0", - "@lvce-editor/ripgrep": "^1.2.0", - "dockerode": "^4.0.2", - "gpt-tokenizer": "^2.2.1", - "mammoth": "^1.8.0", - "mathjs": "^13.1.1", - "pdfjs-dist": "4.6.82", - "playwright": "^1.46.1", - "tree-sitter-wasms": "^0.1.11", - "tsx": "^4.19.0", - "typescript": "5.5.4", - "vectra": "^0.9.0", - "web-tree-sitter": "^0.22.2", - "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz" - }, - "engines": { - "node": ">=20.0.0" - }, - "peerDependencies": { - "promptfoo": "0.82.0" - }, - "devDependencies": { - "@types/dockerode": "^3.3.31", - "@types/fs-extra": "^11.0.4", - "@types/memorystream": "^0.3.4", - "@types/node": "^20.14.12", - "@types/papaparse": "^5.3.14", - "@types/prompts": "^2.4.9", - "@types/replace-ext": "^2.0.2", - "@types/ws": "^8.5.12", - "commander": "^12.1.0", - "dotenv": "^16.4.5", - "esbuild": "^0.23.1", - "execa": "^9.3.1", - "fs-extra": "^11.2.0", - "glob": "^11.0.0", - "memorystream": "^0.3.1", - "node-sarif-builder": "^3.2.0", - "openai": "^4.57.3", - "pretty-bytes": "^6.1.1", - "replace-ext": "^2.0.0", - "ws": "^8.18.0", - "zx": "^8.1.5" - }, - "scripts": { - "compile": "esbuild src/main.ts --metafile=./esbuild.meta.json --bundle --platform=node --target=node20 --outfile=built/genaiscript.cjs --external:tsx --external:esbuild --external:get-tsconfig --external:resolve-pkg-maps --external:dockerode --external:pdfjs-dist --external:web-tree-sitter --external:tree-sitter-wasms --external:promptfoo --external:typescript --external:@lvce-editor/ripgrep --external:gpt-3-encoder --external:mammoth --external:xlsx --external:mathjs --external:@azure/identity --external:gpt-tokenizer --external:playwright --external:@inquirer/prompts && node ../../scripts/patch-cli.mjs", - "compile-debug": "esbuild src/main.ts --sourcemap --metafile=./esbuild.meta.json --bundle --platform=node --target=node20 --outfile=built/genaiscript.cjs --external:tsx --external:esbuild --external:get-tsconfig --external:resolve-pkg-maps --external:dockerode --external:pdfjs-dist --external:web-tree-sitter --external:tree-sitter-wasms --external:promptfoo --external:typescript --external:@lvce-editor/ripgrep --external:gpt-3-encoder --external:mammoth --external:xlsx --external:mathjs --external:@azure/identity --external:gpt-tokenizer --external:playwright --external:@inquirer/prompts", - "postcompile": "node built/genaiscript.cjs info help > ../../docs/src/content/docs/reference/cli/commands.md", - "vis:treemap": "npx --yes esbuild-visualizer --metadata esbuild.meta.json --filename esbuild.treemap.html", - "vis:network": "npx --yes esbuild-visualizer --metadata esbuild.meta.json --filename esbuild.network.html --template network", - "go": "yarn compile && node built/genaiscript.cjs", - "test": "node --import tsx --test src/**.test.ts", - "typecheck": "tsc -p src", - "lint": "npx --yes publint" - } + "name": "genaiscript", + "version": "1.54.1", + "main": "built/genaiscript.cjs", + "type": "commonjs", + "bin": { + "genaiscript": "built/genaiscript.cjs" + }, + "files": [ + "built/genaiscript.cjs" + ], + "publisher": "Microsoft", + "repository": { + "url": "git+https://github.com/microsoft/genaiscript.git" + }, + "homepage": "https://microsoft.github.io/genaiscript", + "keywords": [ + "genai", + "ai", + "agentic", + "cli", + "prompt", + "llm", + "generative ai", + "gpt4", + "chatgpt", + "ollama", + "llamacpp", + "chatgpt" + ], + "description": "A CLI for GenAIScript, a generative AI scripting framework.", + "license": "MIT", + "dependencies": { + "@azure/identity": "^4.4.1", + "@inquirer/prompts": "^5.4.0", + "@lvce-editor/ripgrep": "^1.2.0", + "dockerode": "^4.0.2", + "gpt-tokenizer": "^2.2.1", + "mammoth": "^1.8.0", + "mathjs": "^13.1.1", + "pdfjs-dist": "4.6.82", + "playwright": "^1.46.1", + "tree-sitter-wasms": "^0.1.11", + "tsx": "^4.19.0", + "typescript": "5.5.4", + "vectra": "^0.9.0", + "web-tree-sitter": "^0.22.2", + "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "promptfoo": "0.82.0" + }, + "devDependencies": { + "@types/dockerode": "^3.3.31", + "@types/fs-extra": "^11.0.4", + "@types/memorystream": "^0.3.4", + "@types/node": "^20.14.12", + "@types/papaparse": "^5.3.14", + "@types/prompts": "^2.4.9", + "@types/replace-ext": "^2.0.2", + "@types/ws": "^8.5.12", + "commander": "^12.1.0", + "dotenv": "^16.4.5", + "esbuild": "^0.23.1", + "execa": "^9.3.1", + "fs-extra": "^11.2.0", + "glob": "^11.0.0", + "memorystream": "^0.3.1", + "node-sarif-builder": "^3.2.0", + "openai": "^4.57.3", + "pretty-bytes": "^6.1.1", + "replace-ext": "^2.0.0", + "ws": "^8.18.0", + "zx": "^8.1.5" + }, + "scripts": { + "compile": "esbuild src/main.ts --metafile=./esbuild.meta.json --bundle --platform=node --target=node20 --outfile=built/genaiscript.cjs --external:tsx --external:esbuild --external:get-tsconfig --external:resolve-pkg-maps --external:dockerode --external:pdfjs-dist --external:web-tree-sitter --external:tree-sitter-wasms --external:promptfoo --external:typescript --external:@lvce-editor/ripgrep --external:gpt-3-encoder --external:mammoth --external:xlsx --external:mathjs --external:@azure/identity --external:gpt-tokenizer --external:playwright --external:@inquirer/prompts && node ../../scripts/patch-cli.mjs", + "compile-debug": "esbuild src/main.ts --sourcemap --metafile=./esbuild.meta.json --bundle --platform=node --target=node20 --outfile=built/genaiscript.cjs --external:tsx --external:esbuild --external:get-tsconfig --external:resolve-pkg-maps --external:dockerode --external:pdfjs-dist --external:web-tree-sitter --external:tree-sitter-wasms --external:promptfoo --external:typescript --external:@lvce-editor/ripgrep --external:gpt-3-encoder --external:mammoth --external:xlsx --external:mathjs --external:@azure/identity --external:gpt-tokenizer --external:playwright --external:@inquirer/prompts", + "postcompile": "node built/genaiscript.cjs info help > ../../docs/src/content/docs/reference/cli/commands.md", + "vis:treemap": "npx --yes esbuild-visualizer --metadata esbuild.meta.json --filename esbuild.treemap.html", + "vis:network": "npx --yes esbuild-visualizer --metadata esbuild.meta.json --filename esbuild.network.html --template network", + "go": "yarn compile && node built/genaiscript.cjs", + "test": "node --import tsx --test src/**.test.ts", + "typecheck": "tsc -p src", + "lint": "npx --yes publint" + } } diff --git a/packages/core/package.json b/packages/core/package.json index 14e3a89363..c00c99b85f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,82 +1,82 @@ { - "name": "genaiscript-core-internal", - "version": "1.54.0", - "main": "src/index.ts", - "license": "MIT", - "private": true, - "npm": { - "publish": false - }, - "repository": { - "directory": "packages/core", - "url": "https://github.com/microsoft/genaiscript" - }, - "optionalDependencies": { - "@lvce-editor/ripgrep": "^1.2.0", - "pdfjs-dist": "4.6.82", - "web-tree-sitter": "0.22.2" - }, - "devDependencies": { - "@azure/identity": "^4.4.1", - "@huggingface/jinja": "^0.3.0", - "@tidyjs/tidy": "^2.5.2", - "@types/html-escaper": "^3.0.2", - "@types/html-to-text": "^9.0.4", - "@types/inflection": "^1.13.2", - "@types/ini": "^4.1.1", - "@types/mime-types": "^2.1.4", - "@types/mustache": "^4.2.5", - "@types/node": "^20.14.12", - "@types/semver": "^7.5.8", - "ajv": "^8.17.1", - "cross-fetch": "^4.0.0", - "csv-parse": "^5.5.6", - "dotenv": "^16.4.5", - "esbuild": "^0.23.1", - "fast-xml-parser": "^4.5.0", - "fetch-retry": "^6.0.0", - "fflate": "^0.8.2", - "file-type": "19.1.1", - "gpt-tokenizer": "^2.2.1", - "html-escaper": "^3.0.3", - "html-to-text": "^9.0.5", - "ignore": "^5.3.2", - "inflection": "^3.0.0", - "ini": "^5.0.0", - "json5": "^2.2.3", - "jsonrepair": "^3.8.0", - "magic-string": "^0.30.11", - "mammoth": "^1.8.0", - "mathjs": "^13.1.1", - "mime-types": "^2.1.35", - "minimatch": "^10.0.1", - "minisearch": "^7.1.0", - "mustache": "^4.2.0", - "openai": "^4.57.3", - "parse-diff": "^0.11.1", - "prettier": "^3.3.3", - "pretty-bytes": "^6.1.1", - "sanitize-html": "^2.13.0", - "semver": "^7.6.3", - "serialize-error": "^11.0.3", - "tabletojson": "^4.1.4", - "toml": "^3.0.0", - "tree-sitter-wasms": "^0.1.11", - "ts-dedent": "^2.2.0", - "tsx": "^4.19.0", - "typescript": "5.5.4", - "vectra": "^0.9.0", - "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz", - "yaml": "^2.5.1" - }, - "scripts": { - "typecheck": "tsc -p src", - "prompts:bundle": "node bundleprompts.js", - "pretypecheck": "yarn prompts:bundle", - "test": "node --import tsx --test src/**.test.ts" - }, - "dependencies": { - "@types/turndown": "^5.0.5", - "turndown": "^7.2.0" - } + "name": "genaiscript-core-internal", + "version": "1.54.1", + "main": "src/index.ts", + "license": "MIT", + "private": true, + "npm": { + "publish": false + }, + "repository": { + "directory": "packages/core", + "url": "https://github.com/microsoft/genaiscript" + }, + "optionalDependencies": { + "@lvce-editor/ripgrep": "^1.2.0", + "pdfjs-dist": "4.6.82", + "web-tree-sitter": "0.22.2" + }, + "devDependencies": { + "@azure/identity": "^4.4.1", + "@huggingface/jinja": "^0.3.0", + "@tidyjs/tidy": "^2.5.2", + "@types/html-escaper": "^3.0.2", + "@types/html-to-text": "^9.0.4", + "@types/inflection": "^1.13.2", + "@types/ini": "^4.1.1", + "@types/mime-types": "^2.1.4", + "@types/mustache": "^4.2.5", + "@types/node": "^20.14.12", + "@types/semver": "^7.5.8", + "ajv": "^8.17.1", + "cross-fetch": "^4.0.0", + "csv-parse": "^5.5.6", + "dotenv": "^16.4.5", + "esbuild": "^0.23.1", + "fast-xml-parser": "^4.5.0", + "fetch-retry": "^6.0.0", + "fflate": "^0.8.2", + "file-type": "19.1.1", + "gpt-tokenizer": "^2.2.1", + "html-escaper": "^3.0.3", + "html-to-text": "^9.0.5", + "ignore": "^5.3.2", + "inflection": "^3.0.0", + "ini": "^5.0.0", + "json5": "^2.2.3", + "jsonrepair": "^3.8.0", + "magic-string": "^0.30.11", + "mammoth": "^1.8.0", + "mathjs": "^13.1.1", + "mime-types": "^2.1.35", + "minimatch": "^10.0.1", + "minisearch": "^7.1.0", + "mustache": "^4.2.0", + "openai": "^4.57.3", + "parse-diff": "^0.11.1", + "prettier": "^3.3.3", + "pretty-bytes": "^6.1.1", + "sanitize-html": "^2.13.0", + "semver": "^7.6.3", + "serialize-error": "^11.0.3", + "tabletojson": "^4.1.4", + "toml": "^3.0.0", + "tree-sitter-wasms": "^0.1.11", + "ts-dedent": "^2.2.0", + "tsx": "^4.19.0", + "typescript": "5.5.4", + "vectra": "^0.9.0", + "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz", + "yaml": "^2.5.1" + }, + "scripts": { + "typecheck": "tsc -p src", + "prompts:bundle": "node bundleprompts.js", + "pretypecheck": "yarn prompts:bundle", + "test": "node --import tsx --test src/**.test.ts" + }, + "dependencies": { + "@types/turndown": "^5.0.5", + "turndown": "^7.2.0" + } } diff --git a/packages/sample/package.json b/packages/sample/package.json index 9badbdf33e..aac547830c 100644 --- a/packages/sample/package.json +++ b/packages/sample/package.json @@ -1,27 +1,27 @@ { - "name": "genaiscript-sample", - "version": "1.54.0", - "license": "MIT", - "private": true, - "scripts": { - "go": "node ../cli/built/main.js src/sample.ts", - "token": "mkdir -p .genaiscript/tmp; (if test -e /dev/clipboard; then cat /dev/clipboard ; else pbpaste ; fi) > .genaiscript/tmp/request.txt", - "typecheck": "tsc -p src", - "test": "node --import tsx --test src/**.test.ts", - "test:watch": "node --import tsx --watch --test-name-pattern=run --test src/**.test.ts", - "cache:clear": "node ../cli/built/genaiscript.cjs cache clear", - "run:script": "node ../cli/built/genaiscript.cjs run", - "test:scripts": "node ../cli/built/genaiscript.cjs test --groups :!vision -rmo", - "test:scripts:view": "node ../cli/built/genaiscript.cjs test view" - }, - "devDependencies": { - "@agentic/calculator": "^7.0.0", - "@agentic/core": "^7.0.0", - "@agentic/weather": "^7.0.0", - "@tidyjs/tidy": "^2.5.2", - "@xenova/transformers": "^2.17.2", - "vectorstore": "^0.0.4", - "zod": "^3.23.8", - "zod-to-json-schema": "^3.23.2" - } + "name": "genaiscript-sample", + "version": "1.54.1", + "license": "MIT", + "private": true, + "scripts": { + "go": "node ../cli/built/main.js src/sample.ts", + "token": "mkdir -p .genaiscript/tmp; (if test -e /dev/clipboard; then cat /dev/clipboard ; else pbpaste ; fi) > .genaiscript/tmp/request.txt", + "typecheck": "tsc -p src", + "test": "node --import tsx --test src/**.test.ts", + "test:watch": "node --import tsx --watch --test-name-pattern=run --test src/**.test.ts", + "cache:clear": "node ../cli/built/genaiscript.cjs cache clear", + "run:script": "node ../cli/built/genaiscript.cjs run", + "test:scripts": "node ../cli/built/genaiscript.cjs test --groups :!vision -rmo", + "test:scripts:view": "node ../cli/built/genaiscript.cjs test view" + }, + "devDependencies": { + "@agentic/calculator": "^7.0.0", + "@agentic/core": "^7.0.0", + "@agentic/weather": "^7.0.0", + "@tidyjs/tidy": "^2.5.2", + "@xenova/transformers": "^2.17.2", + "vectorstore": "^0.0.4", + "zod": "^3.23.8", + "zod-to-json-schema": "^3.23.2" + } } diff --git a/packages/vscode/package.json b/packages/vscode/package.json index 46a4dda51a..49a7674482 100644 --- a/packages/vscode/package.json +++ b/packages/vscode/package.json @@ -7,7 +7,7 @@ }, "displayName": "GenAIScript Insiders", "description": "Generative AI Scripting.", - "version": "1.54.0", + "version": "1.54.1", "icon": "icon.png", "engines": { "vscode": "^1.92.0" diff --git a/slides/package.json b/slides/package.json index bf455e19db..f83b92aa0c 100644 --- a/slides/package.json +++ b/slides/package.json @@ -1,19 +1,19 @@ { - "name": "genaiscript-slides", - "version": "1.54.0", - "type": "module", - "private": true, - "npm": { - "publish": false - }, - "scripts": { - "install:force": "rm yarn.lock && yarn install", - "build": "node build.mjs", - "dev": "slidev --open" - }, - "devDependencies": { - "@slidev/cli": "^0.49.29", - "@slidev/theme-default": "^0.25.0", - "zx": "^8.1.5" - } + "name": "genaiscript-slides", + "version": "1.54.1", + "type": "module", + "private": true, + "npm": { + "publish": false + }, + "scripts": { + "install:force": "rm yarn.lock && yarn install", + "build": "node build.mjs", + "dev": "slidev --open" + }, + "devDependencies": { + "@slidev/cli": "^0.49.29", + "@slidev/theme-default": "^0.25.0", + "zx": "^8.1.5" + } }