sage-agent-internal 0.1.30__py3-none-any.whl → 0.1.31__py3-none-any.whl
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.
- sage_agent_internal/__init__.py +16 -0
- {sage_agent → sage_agent_internal}/_version.py +1 -1
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/install.json +5 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/package.json +228 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/schemas/sage-agent-internal/package.json.orig +223 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/schemas/sage-agent-internal/plugin.json +101 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/122.3c2c200586e65203b674.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/220.d384edfd5bbcfda33a2a.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/262.3fc4ad88e6f8c273d4ad.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/364.c2fb82c6f484097228c6.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/379.b3bf2f8d00bdb186e6f8.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/424.58d3508585951cee4f35.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/439.61293ec148172a793000.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/481.96b91d018df31d54d173.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/540.283f7cceb475717261ed.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/553.b7906877d98a62265533.js +2 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/553.b7906877d98a62265533.js.LICENSE.txt +15 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/713.103cb5ae248be385b08a.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/742.b204789055ded4e07883.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/845.cc2bc80fbfea6d20a396.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/888.09382cc93a2ad3932b31.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/982.e8f28fa7892d44e0d1bb.js +2 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/982.e8f28fa7892d44e0d1bb.js.LICENSE.txt +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/remoteEntry.28bb17beaf868e051da1.js +1 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/style.js +4 -0
- sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/static/third-party-licenses.json +268 -0
- {sage_agent_internal-0.1.30.dist-info → sage_agent_internal-0.1.31.dist-info}/METADATA +12 -12
- sage_agent_internal-0.1.31.dist-info/RECORD +30 -0
- sage_agent_internal-0.1.30.data/data/share/jupyter/labextensions/sage-agent/install.json +0 -5
- sage_agent_internal-0.1.30.dist-info/RECORD +0 -6
- {sage_agent_internal-0.1.30.dist-info → sage_agent_internal-0.1.31.dist-info}/WHEEL +0 -0
- {sage_agent_internal-0.1.30.dist-info → sage_agent_internal-0.1.31.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
try:
|
2
|
+
from ._version import __version__
|
3
|
+
except ImportError:
|
4
|
+
# Fallback when using the package in dev mode without installing
|
5
|
+
# in editable mode with pip. It is highly recommended to install
|
6
|
+
# the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
|
7
|
+
import warnings
|
8
|
+
warnings.warn("Importing 'sage_agent_internal' outside a proper installation.")
|
9
|
+
__version__ = "dev"
|
10
|
+
|
11
|
+
|
12
|
+
def _jupyter_labextension_paths():
|
13
|
+
return [{
|
14
|
+
"src": "labextension",
|
15
|
+
"dest": "sage-agent-internal"
|
16
|
+
}]
|
sage_agent_internal-0.1.31.data/data/share/jupyter/labextensions/sage-agent-internal/package.json
ADDED
@@ -0,0 +1,228 @@
|
|
1
|
+
{
|
2
|
+
"name": "sage-agent-internal",
|
3
|
+
"version": "0.1.31",
|
4
|
+
"description": "Sage Agent - Your Jupyter Notebook Assistant",
|
5
|
+
"keywords": [
|
6
|
+
"jupyter",
|
7
|
+
"jupyterlab",
|
8
|
+
"jupyterlab-extension"
|
9
|
+
],
|
10
|
+
"homepage": "https://github.com/AlpineX-Labs/jupyter-sage-agent-internal",
|
11
|
+
"bugs": {
|
12
|
+
"url": "https://github.com/AlpineX-Labs/jupyter-sage-agent-internal/issues"
|
13
|
+
},
|
14
|
+
"license": "BSD-3-Clause",
|
15
|
+
"author": {
|
16
|
+
"name": "Daniel Schaffield",
|
17
|
+
"email": "danielschaffield@gmail.com"
|
18
|
+
},
|
19
|
+
"files": [
|
20
|
+
"lib/**/*.{d.ts,tsx,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf,md}",
|
21
|
+
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf,md}",
|
22
|
+
"src/**/*.{ts,tsx,md}",
|
23
|
+
"schema/*.json"
|
24
|
+
],
|
25
|
+
"main": "lib/index.js",
|
26
|
+
"types": "lib/index.d.ts",
|
27
|
+
"style": "style/index.css",
|
28
|
+
"repository": {
|
29
|
+
"type": "git",
|
30
|
+
"url": "https://github.com/AlpineX-Labs/jupyter-sage-agent-internal.git"
|
31
|
+
},
|
32
|
+
"scripts": {
|
33
|
+
"build": "jlpm prebuild && jlpm build:lib && jlpm build:labextension:dev",
|
34
|
+
"build:prod": "jlpm prebuild && jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
|
35
|
+
"build:labextension": "jlpm prebuild && jupyter labextension build .",
|
36
|
+
"build:labextension:dev": "jlpm prebuild && jupyter labextension build --development True .",
|
37
|
+
"build:lib": "jlpm prebuild && tsc --sourceMap",
|
38
|
+
"build:lib:prod": "jlpm prebuild && tsc",
|
39
|
+
"prebuild": "mkdir -p lib/Config/prompts && cp src/Config/prompts/*.md lib/Config/prompts",
|
40
|
+
"clean": "jlpm clean:lib",
|
41
|
+
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
|
42
|
+
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
|
43
|
+
"clean:labextension": "rimraf sage_agent_internal/labextension sage_agent_internal/_version.py",
|
44
|
+
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
|
45
|
+
"eslint": "jlpm eslint:check --fix",
|
46
|
+
"eslint:check": "eslint . --cache --ext .ts,.tsx",
|
47
|
+
"install:extension": "jlpm build",
|
48
|
+
"lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
|
49
|
+
"lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
|
50
|
+
"prettier": "jlpm prettier:base --write --list-different",
|
51
|
+
"prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
|
52
|
+
"prettier:check": "jlpm prettier:base --check",
|
53
|
+
"stylelint": "jlpm stylelint:check --fix",
|
54
|
+
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
|
55
|
+
"test": "jest --coverage",
|
56
|
+
"watch": "run-p watch:src watch:labextension",
|
57
|
+
"watch:src": "tsc -w --sourceMap",
|
58
|
+
"watch:labextension": "jupyter labextension watch ."
|
59
|
+
},
|
60
|
+
"dependencies": {
|
61
|
+
"@anthropic-ai/sdk": "^0.54.0",
|
62
|
+
"@codemirror/merge": "^6.10.2",
|
63
|
+
"@electric-sql/pglite": "^0.3.6",
|
64
|
+
"@google/generative-ai": "^0.24.0",
|
65
|
+
"@jupyterlab/application": "^4.0.0",
|
66
|
+
"@jupyterlab/extensionmanager": "^4.4.4",
|
67
|
+
"@jupyterlab/notebook-extension": "^4.4.0",
|
68
|
+
"@jupyterlab/settingregistry": "^4.0.0",
|
69
|
+
"@modelcontextprotocol/sdk": "^1.9.0",
|
70
|
+
"@types/hogan.js": "^3.0.5",
|
71
|
+
"best-effort-json-parser": "^1.1.3",
|
72
|
+
"bootstrap": "^5.3.7",
|
73
|
+
"chalk": "^4.1.2",
|
74
|
+
"diff": "^8.0.1",
|
75
|
+
"diff2html": "^3.4.51",
|
76
|
+
"dompurify": "^3.2.5",
|
77
|
+
"marked": "^15.0.11",
|
78
|
+
"partial-json": "^0.1.7",
|
79
|
+
"react-bootstrap": "^2.10.10",
|
80
|
+
"readline": "^1.3.0",
|
81
|
+
"rxjs": "^7.8.2",
|
82
|
+
"textarea-caret": "^3.1.0",
|
83
|
+
"uuid": "^11.1.0"
|
84
|
+
},
|
85
|
+
"devDependencies": {
|
86
|
+
"@jupyterlab/builder": "^4.0.0",
|
87
|
+
"@jupyterlab/testutils": "^4.0.0",
|
88
|
+
"@types/jest": "^29.2.0",
|
89
|
+
"@types/json-schema": "^7.0.11",
|
90
|
+
"@types/react": "^18.0.26",
|
91
|
+
"@types/react-addons-linked-state-mixin": "^0.14.22",
|
92
|
+
"@types/textarea-caret": "^3.0.4",
|
93
|
+
"@types/uuid": "^10.0.0",
|
94
|
+
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
95
|
+
"@typescript-eslint/parser": "^6.1.0",
|
96
|
+
"css-loader": "^6.7.1",
|
97
|
+
"eslint": "^8.36.0",
|
98
|
+
"eslint-config-prettier": "^8.8.0",
|
99
|
+
"eslint-plugin-prettier": "^5.0.0",
|
100
|
+
"jest": "^29.2.0",
|
101
|
+
"npm-run-all2": "^7.0.1",
|
102
|
+
"prettier": "^3.0.0",
|
103
|
+
"raw-loader": "^4.0.2",
|
104
|
+
"rimraf": "^5.0.1",
|
105
|
+
"source-map-loader": "^1.0.2",
|
106
|
+
"style-loader": "^3.3.1",
|
107
|
+
"stylelint": "^15.10.1",
|
108
|
+
"stylelint-config-recommended": "^13.0.0",
|
109
|
+
"stylelint-config-standard": "^34.0.0",
|
110
|
+
"stylelint-csstree-validator": "^3.0.0",
|
111
|
+
"stylelint-prettier": "^4.0.0",
|
112
|
+
"typescript": "~5.0.2",
|
113
|
+
"yjs": "^13.5.0"
|
114
|
+
},
|
115
|
+
"sideEffects": [
|
116
|
+
"style/*.css",
|
117
|
+
"style/index.js"
|
118
|
+
],
|
119
|
+
"styleModule": "style/index.js",
|
120
|
+
"publishConfig": {
|
121
|
+
"access": "public"
|
122
|
+
},
|
123
|
+
"jupyterlab": {
|
124
|
+
"extension": true,
|
125
|
+
"outputDir": "sage_agent_internal/labextension",
|
126
|
+
"schemaDir": "schema",
|
127
|
+
"_build": {
|
128
|
+
"load": "static/remoteEntry.28bb17beaf868e051da1.js",
|
129
|
+
"extension": "./extension",
|
130
|
+
"style": "./style"
|
131
|
+
}
|
132
|
+
},
|
133
|
+
"eslintIgnore": [
|
134
|
+
"node_modules",
|
135
|
+
"dist",
|
136
|
+
"coverage",
|
137
|
+
"**/*.d.ts",
|
138
|
+
"tests",
|
139
|
+
"**/__tests__",
|
140
|
+
"ui-tests"
|
141
|
+
],
|
142
|
+
"eslintConfig": {
|
143
|
+
"extends": [
|
144
|
+
"eslint:recommended",
|
145
|
+
"plugin:@typescript-eslint/eslint-recommended",
|
146
|
+
"plugin:@typescript-eslint/recommended",
|
147
|
+
"plugin:prettier/recommended"
|
148
|
+
],
|
149
|
+
"parser": "@typescript-eslint/parser",
|
150
|
+
"parserOptions": {
|
151
|
+
"project": "tsconfig.json",
|
152
|
+
"sourceType": "module"
|
153
|
+
},
|
154
|
+
"plugins": [
|
155
|
+
"@typescript-eslint"
|
156
|
+
],
|
157
|
+
"rules": {
|
158
|
+
"@typescript-eslint/naming-convention": [
|
159
|
+
"error",
|
160
|
+
{
|
161
|
+
"selector": "interface",
|
162
|
+
"format": [
|
163
|
+
"PascalCase"
|
164
|
+
],
|
165
|
+
"custom": {
|
166
|
+
"regex": "^I[A-Z]",
|
167
|
+
"match": true
|
168
|
+
}
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"@typescript-eslint/no-unused-vars": [
|
172
|
+
"warn",
|
173
|
+
{
|
174
|
+
"args": "none"
|
175
|
+
}
|
176
|
+
],
|
177
|
+
"@typescript-eslint/no-explicit-any": "off",
|
178
|
+
"@typescript-eslint/no-namespace": "off",
|
179
|
+
"@typescript-eslint/no-use-before-define": "off",
|
180
|
+
"@typescript-eslint/quotes": [
|
181
|
+
"error",
|
182
|
+
"single",
|
183
|
+
{
|
184
|
+
"avoidEscape": true,
|
185
|
+
"allowTemplateLiterals": false
|
186
|
+
}
|
187
|
+
],
|
188
|
+
"curly": [
|
189
|
+
"error",
|
190
|
+
"all"
|
191
|
+
],
|
192
|
+
"eqeqeq": "error",
|
193
|
+
"prefer-arrow-callback": "error",
|
194
|
+
"@typescript-eslint/no-floating-promises": "error"
|
195
|
+
}
|
196
|
+
},
|
197
|
+
"prettier": {
|
198
|
+
"singleQuote": true,
|
199
|
+
"trailingComma": "none",
|
200
|
+
"arrowParens": "avoid",
|
201
|
+
"endOfLine": "auto",
|
202
|
+
"overrides": [
|
203
|
+
{
|
204
|
+
"files": "package.json",
|
205
|
+
"options": {
|
206
|
+
"tabWidth": 4
|
207
|
+
}
|
208
|
+
}
|
209
|
+
]
|
210
|
+
},
|
211
|
+
"stylelint": {
|
212
|
+
"extends": [
|
213
|
+
"stylelint-config-recommended",
|
214
|
+
"stylelint-config-standard",
|
215
|
+
"stylelint-prettier/recommended"
|
216
|
+
],
|
217
|
+
"plugins": [
|
218
|
+
"stylelint-csstree-validator"
|
219
|
+
],
|
220
|
+
"rules": {
|
221
|
+
"csstree/validator": true,
|
222
|
+
"property-no-vendor-prefix": null,
|
223
|
+
"selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
|
224
|
+
"selector-no-vendor-prefix": null,
|
225
|
+
"value-no-vendor-prefix": null
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
@@ -0,0 +1,223 @@
|
|
1
|
+
{
|
2
|
+
"name": "sage-agent-internal",
|
3
|
+
"version": "0.1.31",
|
4
|
+
"description": "Sage Agent - Your Jupyter Notebook Assistant",
|
5
|
+
"keywords": [
|
6
|
+
"jupyter",
|
7
|
+
"jupyterlab",
|
8
|
+
"jupyterlab-extension"
|
9
|
+
],
|
10
|
+
"homepage": "https://github.com/AlpineX-Labs/jupyter-sage-agent-internal",
|
11
|
+
"bugs": {
|
12
|
+
"url": "https://github.com/AlpineX-Labs/jupyter-sage-agent-internal/issues"
|
13
|
+
},
|
14
|
+
"license": "BSD-3-Clause",
|
15
|
+
"author": {
|
16
|
+
"name": "Daniel Schaffield",
|
17
|
+
"email": "danielschaffield@gmail.com"
|
18
|
+
},
|
19
|
+
"files": [
|
20
|
+
"lib/**/*.{d.ts,tsx,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf,md}",
|
21
|
+
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf,md}",
|
22
|
+
"src/**/*.{ts,tsx,md}",
|
23
|
+
"schema/*.json"
|
24
|
+
],
|
25
|
+
"main": "lib/index.js",
|
26
|
+
"types": "lib/index.d.ts",
|
27
|
+
"style": "style/index.css",
|
28
|
+
"repository": {
|
29
|
+
"type": "git",
|
30
|
+
"url": "https://github.com/AlpineX-Labs/jupyter-sage-agent-internal.git"
|
31
|
+
},
|
32
|
+
"scripts": {
|
33
|
+
"build": "jlpm prebuild && jlpm build:lib && jlpm build:labextension:dev",
|
34
|
+
"build:prod": "jlpm prebuild && jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
|
35
|
+
"build:labextension": "jlpm prebuild && jupyter labextension build .",
|
36
|
+
"build:labextension:dev": "jlpm prebuild && jupyter labextension build --development True .",
|
37
|
+
"build:lib": "jlpm prebuild && tsc --sourceMap",
|
38
|
+
"build:lib:prod": "jlpm prebuild && tsc",
|
39
|
+
"prebuild": "mkdir -p lib/Config/prompts && cp src/Config/prompts/*.md lib/Config/prompts",
|
40
|
+
"clean": "jlpm clean:lib",
|
41
|
+
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
|
42
|
+
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
|
43
|
+
"clean:labextension": "rimraf sage_agent_internal/labextension sage_agent_internal/_version.py",
|
44
|
+
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
|
45
|
+
"eslint": "jlpm eslint:check --fix",
|
46
|
+
"eslint:check": "eslint . --cache --ext .ts,.tsx",
|
47
|
+
"install:extension": "jlpm build",
|
48
|
+
"lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
|
49
|
+
"lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
|
50
|
+
"prettier": "jlpm prettier:base --write --list-different",
|
51
|
+
"prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
|
52
|
+
"prettier:check": "jlpm prettier:base --check",
|
53
|
+
"stylelint": "jlpm stylelint:check --fix",
|
54
|
+
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
|
55
|
+
"test": "jest --coverage",
|
56
|
+
"watch": "run-p watch:src watch:labextension",
|
57
|
+
"watch:src": "tsc -w --sourceMap",
|
58
|
+
"watch:labextension": "jupyter labextension watch ."
|
59
|
+
},
|
60
|
+
"dependencies": {
|
61
|
+
"@anthropic-ai/sdk": "^0.54.0",
|
62
|
+
"@codemirror/merge": "^6.10.2",
|
63
|
+
"@electric-sql/pglite": "^0.3.6",
|
64
|
+
"@google/generative-ai": "^0.24.0",
|
65
|
+
"@jupyterlab/application": "^4.0.0",
|
66
|
+
"@jupyterlab/extensionmanager": "^4.4.4",
|
67
|
+
"@jupyterlab/notebook-extension": "^4.4.0",
|
68
|
+
"@jupyterlab/settingregistry": "^4.0.0",
|
69
|
+
"@modelcontextprotocol/sdk": "^1.9.0",
|
70
|
+
"@types/hogan.js": "^3.0.5",
|
71
|
+
"best-effort-json-parser": "^1.1.3",
|
72
|
+
"bootstrap": "^5.3.7",
|
73
|
+
"chalk": "^4.1.2",
|
74
|
+
"diff": "^8.0.1",
|
75
|
+
"diff2html": "^3.4.51",
|
76
|
+
"dompurify": "^3.2.5",
|
77
|
+
"marked": "^15.0.11",
|
78
|
+
"partial-json": "^0.1.7",
|
79
|
+
"react-bootstrap": "^2.10.10",
|
80
|
+
"readline": "^1.3.0",
|
81
|
+
"rxjs": "^7.8.2",
|
82
|
+
"textarea-caret": "^3.1.0",
|
83
|
+
"uuid": "^11.1.0"
|
84
|
+
},
|
85
|
+
"devDependencies": {
|
86
|
+
"@jupyterlab/builder": "^4.0.0",
|
87
|
+
"@jupyterlab/testutils": "^4.0.0",
|
88
|
+
"@types/jest": "^29.2.0",
|
89
|
+
"@types/json-schema": "^7.0.11",
|
90
|
+
"@types/react": "^18.0.26",
|
91
|
+
"@types/react-addons-linked-state-mixin": "^0.14.22",
|
92
|
+
"@types/textarea-caret": "^3.0.4",
|
93
|
+
"@types/uuid": "^10.0.0",
|
94
|
+
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
95
|
+
"@typescript-eslint/parser": "^6.1.0",
|
96
|
+
"css-loader": "^6.7.1",
|
97
|
+
"eslint": "^8.36.0",
|
98
|
+
"eslint-config-prettier": "^8.8.0",
|
99
|
+
"eslint-plugin-prettier": "^5.0.0",
|
100
|
+
"jest": "^29.2.0",
|
101
|
+
"npm-run-all2": "^7.0.1",
|
102
|
+
"prettier": "^3.0.0",
|
103
|
+
"raw-loader": "^4.0.2",
|
104
|
+
"rimraf": "^5.0.1",
|
105
|
+
"source-map-loader": "^1.0.2",
|
106
|
+
"style-loader": "^3.3.1",
|
107
|
+
"stylelint": "^15.10.1",
|
108
|
+
"stylelint-config-recommended": "^13.0.0",
|
109
|
+
"stylelint-config-standard": "^34.0.0",
|
110
|
+
"stylelint-csstree-validator": "^3.0.0",
|
111
|
+
"stylelint-prettier": "^4.0.0",
|
112
|
+
"typescript": "~5.0.2",
|
113
|
+
"yjs": "^13.5.0"
|
114
|
+
},
|
115
|
+
"sideEffects": [
|
116
|
+
"style/*.css",
|
117
|
+
"style/index.js"
|
118
|
+
],
|
119
|
+
"styleModule": "style/index.js",
|
120
|
+
"publishConfig": {
|
121
|
+
"access": "public"
|
122
|
+
},
|
123
|
+
"jupyterlab": {
|
124
|
+
"extension": true,
|
125
|
+
"outputDir": "sage_agent_internal/labextension",
|
126
|
+
"schemaDir": "schema"
|
127
|
+
},
|
128
|
+
"eslintIgnore": [
|
129
|
+
"node_modules",
|
130
|
+
"dist",
|
131
|
+
"coverage",
|
132
|
+
"**/*.d.ts",
|
133
|
+
"tests",
|
134
|
+
"**/__tests__",
|
135
|
+
"ui-tests"
|
136
|
+
],
|
137
|
+
"eslintConfig": {
|
138
|
+
"extends": [
|
139
|
+
"eslint:recommended",
|
140
|
+
"plugin:@typescript-eslint/eslint-recommended",
|
141
|
+
"plugin:@typescript-eslint/recommended",
|
142
|
+
"plugin:prettier/recommended"
|
143
|
+
],
|
144
|
+
"parser": "@typescript-eslint/parser",
|
145
|
+
"parserOptions": {
|
146
|
+
"project": "tsconfig.json",
|
147
|
+
"sourceType": "module"
|
148
|
+
},
|
149
|
+
"plugins": [
|
150
|
+
"@typescript-eslint"
|
151
|
+
],
|
152
|
+
"rules": {
|
153
|
+
"@typescript-eslint/naming-convention": [
|
154
|
+
"error",
|
155
|
+
{
|
156
|
+
"selector": "interface",
|
157
|
+
"format": [
|
158
|
+
"PascalCase"
|
159
|
+
],
|
160
|
+
"custom": {
|
161
|
+
"regex": "^I[A-Z]",
|
162
|
+
"match": true
|
163
|
+
}
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"@typescript-eslint/no-unused-vars": [
|
167
|
+
"warn",
|
168
|
+
{
|
169
|
+
"args": "none"
|
170
|
+
}
|
171
|
+
],
|
172
|
+
"@typescript-eslint/no-explicit-any": "off",
|
173
|
+
"@typescript-eslint/no-namespace": "off",
|
174
|
+
"@typescript-eslint/no-use-before-define": "off",
|
175
|
+
"@typescript-eslint/quotes": [
|
176
|
+
"error",
|
177
|
+
"single",
|
178
|
+
{
|
179
|
+
"avoidEscape": true,
|
180
|
+
"allowTemplateLiterals": false
|
181
|
+
}
|
182
|
+
],
|
183
|
+
"curly": [
|
184
|
+
"error",
|
185
|
+
"all"
|
186
|
+
],
|
187
|
+
"eqeqeq": "error",
|
188
|
+
"prefer-arrow-callback": "error",
|
189
|
+
"@typescript-eslint/no-floating-promises": "error"
|
190
|
+
}
|
191
|
+
},
|
192
|
+
"prettier": {
|
193
|
+
"singleQuote": true,
|
194
|
+
"trailingComma": "none",
|
195
|
+
"arrowParens": "avoid",
|
196
|
+
"endOfLine": "auto",
|
197
|
+
"overrides": [
|
198
|
+
{
|
199
|
+
"files": "package.json",
|
200
|
+
"options": {
|
201
|
+
"tabWidth": 4
|
202
|
+
}
|
203
|
+
}
|
204
|
+
]
|
205
|
+
},
|
206
|
+
"stylelint": {
|
207
|
+
"extends": [
|
208
|
+
"stylelint-config-recommended",
|
209
|
+
"stylelint-config-standard",
|
210
|
+
"stylelint-prettier/recommended"
|
211
|
+
],
|
212
|
+
"plugins": [
|
213
|
+
"stylelint-csstree-validator"
|
214
|
+
],
|
215
|
+
"rules": {
|
216
|
+
"csstree/validator": true,
|
217
|
+
"property-no-vendor-prefix": null,
|
218
|
+
"selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
|
219
|
+
"selector-no-vendor-prefix": null,
|
220
|
+
"value-no-vendor-prefix": null
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
{
|
2
|
+
"jupyter.lab.shortcuts": [],
|
3
|
+
"jupyter.lab.setting-icon": "ui-components:settings",
|
4
|
+
"jupyter.lab.setting-icon-label": "Sage AI Settings",
|
5
|
+
"jupyter.lab.toolbars": {
|
6
|
+
"Cell": [
|
7
|
+
{
|
8
|
+
"name": "sage-ai-add-to-context",
|
9
|
+
"rank": 100
|
10
|
+
}
|
11
|
+
]
|
12
|
+
},
|
13
|
+
"title": "Sage AI",
|
14
|
+
"description": "Settings for Sage AI",
|
15
|
+
"type": "object",
|
16
|
+
"properties": {
|
17
|
+
"defaultService": {
|
18
|
+
"type": "string",
|
19
|
+
"title": "Default AI Service",
|
20
|
+
"description": "The default AI service to use (anthropic or gemini)",
|
21
|
+
"default": "anthropic",
|
22
|
+
"enum": ["anthropic", "gemini"]
|
23
|
+
},
|
24
|
+
"apiKey": {
|
25
|
+
"type": "string",
|
26
|
+
"title": "Anthropic API Key",
|
27
|
+
"description": "API key for Anthropic AI services",
|
28
|
+
"default": ""
|
29
|
+
},
|
30
|
+
"modelName": {
|
31
|
+
"type": "string",
|
32
|
+
"title": "Model Name",
|
33
|
+
"description": "The name of the Anthropic model to use",
|
34
|
+
"default": "claude-3-5-sonnet-20241022"
|
35
|
+
},
|
36
|
+
"darkThemeApplied": {
|
37
|
+
"type": "boolean",
|
38
|
+
"title": "Dark Theme Applied",
|
39
|
+
"description": "Whether the dark theme has been applied on first load",
|
40
|
+
"default": false
|
41
|
+
},
|
42
|
+
"updateDeclined": {
|
43
|
+
"type": "boolean",
|
44
|
+
"title": "Update Declined",
|
45
|
+
"description": "Whether the user has declined updates",
|
46
|
+
"default": false
|
47
|
+
},
|
48
|
+
"chatHistories": {
|
49
|
+
"type": "object",
|
50
|
+
"title": "Chat Histories",
|
51
|
+
"description": "Stored chat histories for notebooks",
|
52
|
+
"default": {}
|
53
|
+
},
|
54
|
+
"codebases": {
|
55
|
+
"type": "array",
|
56
|
+
"title": "Codebases",
|
57
|
+
"description": "List of configured codebases for AI search",
|
58
|
+
"default": [],
|
59
|
+
"items": {
|
60
|
+
"type": "object",
|
61
|
+
"properties": {
|
62
|
+
"id": {"type": "string"},
|
63
|
+
"path": {"type": "string"},
|
64
|
+
"name": {"type": "string"},
|
65
|
+
"instructions": {"type": "string"}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"sageTokenMode": {
|
70
|
+
"type": "boolean",
|
71
|
+
"title": "Sage Token Mode",
|
72
|
+
"description": "Whether to use Sage token mode for authentication",
|
73
|
+
"default": false
|
74
|
+
},
|
75
|
+
"claudeApiKey": {
|
76
|
+
"type": "string",
|
77
|
+
"title": "Claude API Key",
|
78
|
+
"description": "API key for Claude AI services",
|
79
|
+
"default": ""
|
80
|
+
},
|
81
|
+
"claudeModelId": {
|
82
|
+
"type": "string",
|
83
|
+
"title": "Claude Model ID",
|
84
|
+
"description": "The ID of the Claude model to use",
|
85
|
+
"default": "claude-sonnet-4-20250514"
|
86
|
+
},
|
87
|
+
"claudeModelUrl": {
|
88
|
+
"type": "string",
|
89
|
+
"title": "Claude Model URL",
|
90
|
+
"description": "The URL endpoint for Claude API",
|
91
|
+
"default": "https://sage.alpinex.ai:8760"
|
92
|
+
},
|
93
|
+
"databaseUrl": {
|
94
|
+
"type": "string",
|
95
|
+
"title": "Database URL",
|
96
|
+
"description": "Database connection URL",
|
97
|
+
"default": ""
|
98
|
+
}
|
99
|
+
},
|
100
|
+
"additionalProperties": false
|
101
|
+
}
|