Skip to content

Commit 37ffabe

Browse files
committed
Rebase all
0 parents  commit 37ffabe

File tree

236 files changed

+27094
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+27094
-0
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.eslintignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/dist
2+
/src-capacitor
3+
/src-cordova
4+
/.quasar
5+
/node_modules
6+
.eslintrc.cjs
7+
/quasar.config.*.temporary.compiled*

.eslintrc.cjs

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
module.exports = {
2+
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
3+
// This option interrupts the configuration hierarchy at this file
4+
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
5+
root: true,
6+
7+
// https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
8+
// Must use parserOptions instead of "parser" to allow vue-eslint-parser to keep working
9+
// `parser: 'vue-eslint-parser'` is already included with any 'plugin:vue/**' config and should be omitted
10+
parserOptions: {
11+
parser: require.resolve('@typescript-eslint/parser'),
12+
extraFileExtensions: ['.vue']
13+
},
14+
15+
env: {
16+
browser: true,
17+
es2021: true,
18+
node: true
19+
},
20+
21+
// Rules order is important, please avoid shuffling them
22+
extends: [
23+
// Base ESLint recommended rules
24+
// 'eslint:recommended',
25+
26+
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#usage
27+
// ESLint typescript rules
28+
'plugin:@typescript-eslint/recommended',
29+
30+
// Uncomment any of the lines below to choose desired strictness,
31+
// but leave only one uncommented!
32+
// See https://eslint.vuejs.org/rules/#available-rules
33+
// 'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
34+
'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
35+
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
36+
37+
'standard'
38+
39+
],
40+
41+
plugins: [
42+
// required to apply rules which need type information
43+
'@typescript-eslint',
44+
45+
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
46+
// required to lint *.vue files
47+
'vue'
48+
49+
],
50+
51+
globals: {
52+
ga: 'readonly', // Google Analytics
53+
cordova: 'readonly',
54+
__statics: 'readonly',
55+
__QUASAR_SSR__: 'readonly',
56+
__QUASAR_SSR_SERVER__: 'readonly',
57+
__QUASAR_SSR_CLIENT__: 'readonly',
58+
__QUASAR_SSR_PWA__: 'readonly',
59+
process: 'readonly',
60+
Capacitor: 'readonly',
61+
chrome: 'readonly'
62+
},
63+
64+
// add your custom rules here
65+
rules: {
66+
67+
// allow async-await
68+
'generator-star-spacing': 'off',
69+
// allow paren-less arrow functions
70+
'arrow-parens': 'off',
71+
'one-var': 'off',
72+
'no-void': 'off',
73+
'multiline-ternary': 'off',
74+
75+
'import/first': 'off',
76+
'import/namespace': 'error',
77+
'import/default': 'error',
78+
'import/export': 'error',
79+
'import/extensions': 'off',
80+
'import/no-unresolved': 'off',
81+
'import/no-extraneous-dependencies': 'off',
82+
83+
// The core 'import/named' rules
84+
// does not work with type definitions
85+
'import/named': 'off',
86+
87+
'prefer-promise-reject-errors': 'off',
88+
89+
quotes: ['warn', 'single', { avoidEscape: true }],
90+
91+
// this rule, if on, would require explicit return type on the `render` function
92+
'@typescript-eslint/explicit-function-return-type': 'off',
93+
94+
// in plain CommonJS modules, you can't use `import foo = require('foo')` to pass this rule, so it has to be disabled
95+
'@typescript-eslint/no-var-requires': 'off',
96+
97+
// The core 'no-unused-vars' rules (in the eslint:recommended ruleset)
98+
// does not work with type definitions
99+
'no-unused-vars': 'off',
100+
101+
'space-before-function-paren': 'off',
102+
103+
'@typescript-eslint/no-explicit-any': 'off',
104+
105+
// allow debugger during development only
106+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
107+
}
108+
}

.gitignore

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
.DS_Store
2+
.thumbs.db
3+
node_modules
4+
5+
# Quasar core related directories
6+
.quasar
7+
/dist
8+
/quasar.config.*.temporary.compiled*
9+
10+
# Cordova related directories and files
11+
/src-cordova/node_modules
12+
/src-cordova/platforms
13+
/src-cordova/plugins
14+
/src-cordova/www
15+
16+
# Capacitor related directories and files
17+
/src-capacitor/www
18+
/src-capacitor/node_modules
19+
20+
# Log files
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
25+
# Editor directories and files
26+
.idea
27+
*.suo
28+
*.ntvs*
29+
*.njsproj
30+
*.sln
31+
32+
# local .env files
33+
.env.local*
34+
35+
# Code counter
36+
.VSCodeCounter
37+
38+
# Deploy config
39+
/deploy
40+
41+
# Cloud key
42+
/dexie-cloud.key

.npmrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# pnpm-related options
2+
shamefully-hoist=true
3+
strict-peer-dependencies=false
4+
# to get the latest compatible packages when creating the project https://github.com/pnpm/pnpm/issues/6463
5+
resolution-mode=highest

.vscode/extensions.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"editorconfig.editorconfig",
5+
"vue.volar",
6+
"wayou.vscode-todo-highlight"
7+
],
8+
"unwantedRecommendations": [
9+
"octref.vetur",
10+
"hookyqr.beautify",
11+
"dbaeumer.jshint",
12+
"ms-vscode.vscode-typescript-tslint-plugin"
13+
]
14+
}

.vscode/settings.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"editor.bracketPairColorization.enabled": true,
3+
"editor.guides.bracketPairs": true,
4+
"editor.formatOnSave": true,
5+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
6+
"editor.codeActionsOnSave": [
7+
"source.fixAll.eslint"
8+
],
9+
"eslint.validate": [
10+
"javascript",
11+
"javascriptreact",
12+
"typescript",
13+
"vue"
14+
],
15+
"typescript.tsdk": "node_modules/typescript/lib",
16+
"[vue]": {
17+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
18+
},
19+
"vue.complete.casing.tags": "autoKebab",
20+
"[html]": {
21+
"editor.defaultFormatter": "vscode.html-language-features"
22+
},
23+
"vue.server.hybridMode": "auto",
24+
"eslint.format.enable": true,
25+
"[json]": {
26+
"editor.defaultFormatter": "vscode.json-language-features"
27+
},
28+
"[scss]": {
29+
"editor.defaultFormatter": "vscode.css-language-features"
30+
}
31+
}

README.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# AIaW (aiaw)
2+
3+
AI as a Workspace
4+
5+
## Install the dependencies
6+
```bash
7+
yarn
8+
# or
9+
npm install
10+
```
11+
12+
### Start the app in development mode (hot-code reloading, error reporting, etc.)
13+
```bash
14+
quasar dev
15+
```
16+
17+
18+
### Lint the files
19+
```bash
20+
yarn lint
21+
# or
22+
npm run lint
23+
```
24+
25+
26+
27+
### Build the app for production
28+
```bash
29+
quasar build
30+
```
31+
32+
### Customize the configuration
33+
See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-vite/quasar-config-js).

dexie-cloud.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"serviceUrl": "https://dexie.cloud",
3+
"dbUrl": "https://zw09g2e1u.dexie.cloud"
4+
}

index.html

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<title>
6+
<%= productName %>
7+
</title>
8+
9+
<meta charset="utf-8">
10+
<meta name="description" content="<%= productDescription %>">
11+
<meta name="format-detection" content="telephone=no">
12+
<meta name="msapplication-tap-highlight" content="no">
13+
<meta name="viewport"
14+
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
15+
<meta name="theme-color" content="#ffffff">
16+
17+
<link rel="icon" type="image/png" sizes="128x128" href="icons/favicon-128x128.png">
18+
<link rel="icon" type="image/png" sizes="96x96" href="icons/favicon-96x96.png">
19+
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
20+
</head>
21+
22+
<body>
23+
<!-- quasar:entry-point -->
24+
</body>
25+
26+
</html>

package.json

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"name": "aiaw",
3+
"version": "0.0.1",
4+
"description": "AI as a Workspace",
5+
"productName": "AI as Workspace",
6+
"author": "NitroRCr <[email protected]>",
7+
"type": "module",
8+
"private": true,
9+
"scripts": {
10+
"lint": "eslint --ext .js,.ts,.vue ./",
11+
"test": "echo \"No test specified\" && exit 0",
12+
"dev": "quasar dev",
13+
"build": "quasar build"
14+
},
15+
"dependencies": {
16+
"@ai-sdk/anthropic": "^0.0.51",
17+
"@ai-sdk/google": "^0.0.51",
18+
"@ai-sdk/openai": "^0.0.66",
19+
"@cfworker/json-schema": "^2.0.1",
20+
"@gradio/client": "^1.7.1",
21+
"@lobehub/chat-plugin-sdk": "^1.32.4",
22+
"@material/material-color-utilities": "^0.3.0",
23+
"@quasar/extras": "^1.16.4",
24+
"@sinclair/typebox": "^0.33.12",
25+
"@vueuse/core": "^11.0.3",
26+
"@vueuse/rxjs": "^11.0.3",
27+
"ai": "^3.4.33",
28+
"codejar": "^4.2.0",
29+
"codejar-linenumbers": "^1.0.1",
30+
"dexie": "^4.0.8",
31+
"dexie-cloud-addon": "^4.0.8",
32+
"expr-eval": "^2.0.2",
33+
"highlight.js": "^11.10.0",
34+
"json-schema": "^0.4.0",
35+
"liquidjs": "^10.16.7",
36+
"md-editor-v3": "^4.19.2",
37+
"pinia": "^2.0.11",
38+
"quasar": "^2.16.10",
39+
"register-service-worker": "^1.7.2",
40+
"vue": "^3.5.12",
41+
"vue-i18n": "^9.2.2",
42+
"vue-router": "^4.4.0",
43+
"webm-muxer": "^5.0.2",
44+
"zod": "^3.23.8"
45+
},
46+
"devDependencies": {
47+
"@intlify/unplugin-vue-i18n": "^2.0.0",
48+
"@quasar/app-vite": "^2.0.0-beta.12",
49+
"@types/node": "^20.5.9",
50+
"@typescript-eslint/eslint-plugin": "^7.16.0",
51+
"@typescript-eslint/parser": "^7.16.0",
52+
"@unocss/preset-rem-to-px": "^0.62.3",
53+
"autoprefixer": "^10.4.2",
54+
"eslint": "^8.57.0",
55+
"eslint-config-standard": "^17.0.0",
56+
"eslint-plugin-import": "^2.19.1",
57+
"eslint-plugin-n": "^15.0.0",
58+
"eslint-plugin-promise": "^6.0.0",
59+
"eslint-plugin-vue": "^9.0.0",
60+
"typescript": "~5.5.3",
61+
"unocss": "^0.62.3",
62+
"vite-plugin-checker": "^0.7.2",
63+
"vue-tsc": "^2.0.29",
64+
"workbox-build": "^7.0.0",
65+
"workbox-cacheable-response": "^7.0.0",
66+
"workbox-core": "^7.0.0",
67+
"workbox-expiration": "^7.0.0",
68+
"workbox-precaching": "^7.0.0",
69+
"workbox-routing": "^7.0.0",
70+
"workbox-strategies": "^7.0.0"
71+
},
72+
"engines": {
73+
"node": "^24 || ^22 || ^20 || ^18",
74+
"npm": ">= 6.13.4",
75+
"yarn": ">= 1.21.1"
76+
}
77+
}

0 commit comments

Comments
 (0)