@jvittechs/jai1-cli 0.1.97 → 0.1.99
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/cli.js +5 -5
- package/dist/cli.js.map +1 -1
- package/dist/web-chat/index.html +1 -0
- package/dist/web-chat/style.css +20 -0
- package/package.json +1 -1
- package/dist/web-chat/node_modules/.bin/0ecdsa-generate-keypair +0 -15
- package/dist/web-chat/node_modules/.bin/0gentesthtml +0 -89
- package/dist/web-chat/node_modules/.bin/0serve +0 -97
- package/dist/web-chat/node_modules/.bin/acorn +0 -4
- package/dist/web-chat/node_modules/.bin/autoprefixer +0 -22
- package/dist/web-chat/node_modules/.bin/baseline-browser-mapping +0 -2
- package/dist/web-chat/node_modules/.bin/browserslist +0 -156
- package/dist/web-chat/node_modules/.bin/esbuild +0 -0
- package/dist/web-chat/node_modules/.bin/jiti +0 -34
- package/dist/web-chat/node_modules/.bin/js-yaml +0 -126
- package/dist/web-chat/node_modules/.bin/jsesc +0 -148
- package/dist/web-chat/node_modules/.bin/json5 +0 -152
- package/dist/web-chat/node_modules/.bin/katex +0 -112
- package/dist/web-chat/node_modules/.bin/loose-envify +0 -16
- package/dist/web-chat/node_modules/.bin/lz-string +0 -13
- package/dist/web-chat/node_modules/.bin/nanoid +0 -55
- package/dist/web-chat/node_modules/.bin/parser +0 -15
- package/dist/web-chat/node_modules/.bin/prebuild-install +0 -78
- package/dist/web-chat/node_modules/.bin/rc +0 -4
- package/dist/web-chat/node_modules/.bin/rollup +0 -1912
- package/dist/web-chat/node_modules/.bin/semver +0 -174
- package/dist/web-chat/node_modules/.bin/tsc +0 -2
- package/dist/web-chat/node_modules/.bin/tsserver +0 -2
- package/dist/web-chat/node_modules/.bin/update-browserslist-db +0 -42
- package/dist/web-chat/node_modules/.bin/uuid +0 -2
- package/dist/web-chat/node_modules/.bin/uvu +0 -35
- package/dist/web-chat/node_modules/.bin/vite +0 -61
- package/dist/web-chat/node_modules/.package-lock.json +0 -15371
- package/dist/web-chat/node_modules/.vite/deps/_metadata.json +0 -67
- package/dist/web-chat/node_modules/.vite/deps/chunk-DC5AMYBS.js +0 -39
- package/dist/web-chat/node_modules/.vite/deps/chunk-DC5AMYBS.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/chunk-NUMECXU6.js +0 -21628
- package/dist/web-chat/node_modules/.vite/deps/chunk-NUMECXU6.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/chunk-RLJ2RCJQ.js +0 -1906
- package/dist/web-chat/node_modules/.vite/deps/chunk-RLJ2RCJQ.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/chunk-S725DACQ.js +0 -928
- package/dist/web-chat/node_modules/.vite/deps/chunk-S725DACQ.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/chunk-XJVUMEYI.js +0 -8578
- package/dist/web-chat/node_modules/.vite/deps/chunk-XJVUMEYI.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/package.json +0 -3
- package/dist/web-chat/node_modules/.vite/deps/react-dom.js +0 -7
- package/dist/web-chat/node_modules/.vite/deps/react-dom.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/react-dom_client.js +0 -39
- package/dist/web-chat/node_modules/.vite/deps/react-dom_client.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/react-markdown.js +0 -8931
- package/dist/web-chat/node_modules/.vite/deps/react-markdown.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/react.js +0 -6
- package/dist/web-chat/node_modules/.vite/deps/react.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/react_jsx-dev-runtime.js +0 -913
- package/dist/web-chat/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/react_jsx-runtime.js +0 -7
- package/dist/web-chat/node_modules/.vite/deps/react_jsx-runtime.js.map +0 -7
- package/dist/web-chat/node_modules/.vite/deps/remark-gfm.js +0 -7403
- package/dist/web-chat/node_modules/.vite/deps/remark-gfm.js.map +0 -7
- package/dist/web-chat/node_modules/@codemirror/autocomplete/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/commands/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-cpp/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-css/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-go/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-html/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-java/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-javascript/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-json/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-less/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-markdown/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-python/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-rust/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-sass/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-sql/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-wast/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-xml/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lang-yaml/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/language/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/language-data/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/legacy-modes/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/lint/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/search/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/state/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/theme-one-dark/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@codemirror/view/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/@lezer/html/src/.tern-port +0 -1
- package/dist/web-chat/node_modules/@lezer/php/.tern-port +0 -1
- package/dist/web-chat/node_modules/@lezer/php/test/.tern-port +0 -1
- package/dist/web-chat/node_modules/@lezer/sass/src/.tern-port +0 -1
- package/dist/web-chat/node_modules/@lezer/yaml/.tern-port +0 -1
- package/dist/web-chat/node_modules/@ungap/structured-clone/.github/workflows/node.js.yml +0 -31
- package/dist/web-chat/node_modules/bl/.travis.yml +0 -17
- package/dist/web-chat/node_modules/clean-set/.prettierrc +0 -4
- package/dist/web-chat/node_modules/clean-set/.travis.yml +0 -7
- package/dist/web-chat/node_modules/codemirror/.github/workflows/dispatch.yml +0 -16
- package/dist/web-chat/node_modules/entities/src/generated/.eslintrc.json +0 -10
- package/dist/web-chat/node_modules/es5-ext/promise/.eslintrc.json +0 -1
- package/dist/web-chat/node_modules/es6-iterator/.editorconfig +0 -14
- package/dist/web-chat/node_modules/es6-iterator/test/.eslintrc.json +0 -5
- package/dist/web-chat/node_modules/es6-symbol/.testignore +0 -1
- package/dist/web-chat/node_modules/escape-carriage/.github/workflows/node.js.yml +0 -19
- package/dist/web-chat/node_modules/esniff/.prettierignore +0 -2
- package/dist/web-chat/node_modules/esniff/.testignore +0 -3
- package/dist/web-chat/node_modules/event-emitter/.lint +0 -15
- package/dist/web-chat/node_modules/event-emitter/.testignore +0 -1
- package/dist/web-chat/node_modules/event-emitter/.travis.yml +0 -16
- package/dist/web-chat/node_modules/expand-template/.travis.yml +0 -6
- package/dist/web-chat/node_modules/extend/.editorconfig +0 -20
- package/dist/web-chat/node_modules/extend/.eslintrc +0 -17
- package/dist/web-chat/node_modules/extend/.jscs.json +0 -175
- package/dist/web-chat/node_modules/extend/.travis.yml +0 -230
- package/dist/web-chat/node_modules/gensync/test/.babelrc +0 -5
- package/dist/web-chat/node_modules/github-from-package/.travis.yml +0 -4
- package/dist/web-chat/node_modules/intersection-observer/.eslintrc +0 -45
- package/dist/web-chat/node_modules/lib0/.github/workflows/node.js.yml +0 -24
- package/dist/web-chat/node_modules/lib0/.jsdoc.json +0 -18
- package/dist/web-chat/node_modules/lib0/.vscode/launch.json +0 -17
- package/dist/web-chat/node_modules/minimist/.eslintrc +0 -29
- package/dist/web-chat/node_modules/minimist/.github/FUNDING.yml +0 -12
- package/dist/web-chat/node_modules/minimist/.nycrc +0 -14
- package/dist/web-chat/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
- package/dist/web-chat/node_modules/next-tick/.editorconfig +0 -16
- package/dist/web-chat/node_modules/next-tick/.github/FUNDING.yml +0 -1
- package/dist/web-chat/node_modules/next-tick/.lint +0 -16
- package/dist/web-chat/node_modules/node-abi/node_modules/.bin/semver +0 -191
- package/dist/web-chat/node_modules/pump/.github/FUNDING.yml +0 -2
- package/dist/web-chat/node_modules/pump/.travis.yml +0 -5
- package/dist/web-chat/node_modules/simple-concat/.travis.yml +0 -3
- package/dist/web-chat/node_modules/simple-get/.github/dependabot.yml +0 -15
- package/dist/web-chat/node_modules/simple-get/.github/workflows/ci.yml +0 -23
- package/dist/web-chat/node_modules/tar-fs/.travis.yml +0 -6
- package/dist/web-chat/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- package/dist/web-chat/node_modules/w3c-keyname/.tern-port +0 -1
package/dist/cli.js
CHANGED
|
@@ -33,7 +33,7 @@ var NetworkError = class extends Jai1Error {
|
|
|
33
33
|
// package.json
|
|
34
34
|
var package_default = {
|
|
35
35
|
name: "@jvittechs/jai1-cli",
|
|
36
|
-
version: "0.1.
|
|
36
|
+
version: "0.1.99",
|
|
37
37
|
description: "A unified CLI tool for JV-IT TECHS developers to manage Jai1 Framework. Please contact TeamAI for usage instructions.",
|
|
38
38
|
type: "module",
|
|
39
39
|
bin: {
|
|
@@ -5638,14 +5638,14 @@ async function handleWebChat(options) {
|
|
|
5638
5638
|
}
|
|
5639
5639
|
}
|
|
5640
5640
|
async function handleChatCommand(options) {
|
|
5641
|
-
if (options.
|
|
5642
|
-
await handleWebChat(options);
|
|
5643
|
-
} else {
|
|
5641
|
+
if (options.terminal) {
|
|
5644
5642
|
await handleTerminalChat(options);
|
|
5643
|
+
} else {
|
|
5644
|
+
await handleWebChat(options);
|
|
5645
5645
|
}
|
|
5646
5646
|
}
|
|
5647
5647
|
function createChatCommand() {
|
|
5648
|
-
const cmd = new Command12("chat").description("
|
|
5648
|
+
const cmd = new Command12("chat").description("AI chat with Jai1 LLM Proxy (default: web browser)").option("--model <model>", "Initial model to use (e.g., gpt-4o, claude-3-opus)").option("-t, --terminal", "Use terminal TUI mode instead of web browser").option("--port <port>", "Port for web server (default: auto-find available port)").option("--no-open", "Don't auto-open browser (web mode only)").action(async (options) => {
|
|
5649
5649
|
await handleChatCommand(options);
|
|
5650
5650
|
});
|
|
5651
5651
|
return cmd;
|