jupyter-ai-acp-client 0.0.1__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.
Files changed (26) hide show
  1. jupyter_ai_acp_client/__init__.py +25 -0
  2. jupyter_ai_acp_client/_version.py +4 -0
  3. jupyter_ai_acp_client/acp_personas/claude.py +30 -0
  4. jupyter_ai_acp_client/acp_personas/test.py +26 -0
  5. jupyter_ai_acp_client/base_acp_persona.py +163 -0
  6. jupyter_ai_acp_client/default_acp_client.py +368 -0
  7. jupyter_ai_acp_client/extension_app.py +29 -0
  8. jupyter_ai_acp_client/routes.py +79 -0
  9. jupyter_ai_acp_client/static/claude.svg +7 -0
  10. jupyter_ai_acp_client/static/test.svg +40 -0
  11. jupyter_ai_acp_client/terminal_manager.py +334 -0
  12. jupyter_ai_acp_client/tests/__init__.py +1 -0
  13. jupyter_ai_acp_client/tests/test_routes.py +13 -0
  14. jupyter_ai_acp_client-0.0.1.data/data/etc/jupyter/jupyter_server_config.d/jupyter_ai_acp_client.json +7 -0
  15. jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/install.json +5 -0
  16. jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/package.json +222 -0
  17. jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/728.f69b40505cc5a8669c1e.js +1 -0
  18. jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/750.a29148656dc2b5c07d11.js +1 -0
  19. jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/remoteEntry.e615ae2e4254ce11d925.js +1 -0
  20. jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/style.js +4 -0
  21. jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/third-party-licenses.json +16 -0
  22. jupyter_ai_acp_client-0.0.1.dist-info/METADATA +304 -0
  23. jupyter_ai_acp_client-0.0.1.dist-info/RECORD +26 -0
  24. jupyter_ai_acp_client-0.0.1.dist-info/WHEEL +4 -0
  25. jupyter_ai_acp_client-0.0.1.dist-info/entry_points.txt +3 -0
  26. jupyter_ai_acp_client-0.0.1.dist-info/licenses/LICENSE +29 -0
@@ -0,0 +1,222 @@
1
+ {
2
+ "name": "@jupyter-ai/acp-client",
3
+ "version": "0.0.1",
4
+ "description": "The ACP client for Jupyter AI, allowing for ACP agents to be used in JupyterLab",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://github.com/jupyter-ai-contrib/jupyter-ai-acp-client",
11
+ "bugs": {
12
+ "url": "https://github.com/jupyter-ai-contrib/jupyter-ai-acp-client/issues"
13
+ },
14
+ "license": "BSD-3-Clause",
15
+ "author": {
16
+ "name": "Project Jupyter",
17
+ "email": "jupyter@googlegroups.com"
18
+ },
19
+ "files": [
20
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
21
+ "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
22
+ "src/**/*.{ts,tsx}"
23
+ ],
24
+ "main": "lib/index.js",
25
+ "types": "lib/index.d.ts",
26
+ "style": "style/index.css",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://github.com/jupyter-ai-contrib/jupyter-ai-acp-client.git"
30
+ },
31
+ "scripts": {
32
+ "build": "jlpm build:lib && jlpm build:labextension:dev",
33
+ "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
34
+ "build:labextension": "jupyter labextension build .",
35
+ "build:labextension:dev": "jupyter labextension build --development True .",
36
+ "build:lib": "tsc --sourceMap",
37
+ "build:lib:prod": "tsc",
38
+ "clean": "jlpm clean:lib",
39
+ "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
40
+ "clean:lintcache": "rimraf .eslintcache .stylelintcache",
41
+ "clean:labextension": "rimraf jupyter_ai_acp_client/labextension jupyter_ai_acp_client/_version.py",
42
+ "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
43
+ "eslint": "jlpm eslint:check --fix",
44
+ "eslint:check": "eslint . --cache --ext .ts,.tsx",
45
+ "install:extension": "jlpm build",
46
+ "lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
47
+ "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
48
+ "prettier": "jlpm prettier:base --write --list-different",
49
+ "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
50
+ "prettier:check": "jlpm prettier:base --check",
51
+ "stylelint": "jlpm stylelint:check --fix",
52
+ "stylelint:check": "stylelint --cache \"style/**/*.css\"",
53
+ "test": "jest --coverage",
54
+ "watch": "run-p watch:src watch:labextension",
55
+ "watch:src": "tsc -w --sourceMap",
56
+ "watch:labextension": "jupyter labextension watch ."
57
+ },
58
+ "dependencies": {
59
+ "@jupyter/chat": "^0.17.0",
60
+ "@jupyterlab/application": "^4.0.0",
61
+ "@jupyterlab/coreutils": "^6.0.0",
62
+ "@jupyterlab/services": "^7.0.0"
63
+ },
64
+ "devDependencies": {
65
+ "@jupyterlab/builder": "^4.0.0",
66
+ "@jupyterlab/testutils": "^4.0.0",
67
+ "@types/jest": "^29.2.0",
68
+ "@types/json-schema": "^7.0.11",
69
+ "@types/react": "^18.0.26",
70
+ "@types/react-addons-linked-state-mixin": "^0.14.22",
71
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
72
+ "@typescript-eslint/parser": "^6.1.0",
73
+ "css-loader": "^6.7.1",
74
+ "eslint": "^8.36.0",
75
+ "eslint-config-prettier": "^8.8.0",
76
+ "eslint-plugin-prettier": "^5.0.0",
77
+ "jest": "^29.2.0",
78
+ "mkdirp": "^1.0.3",
79
+ "npm-run-all2": "^7.0.1",
80
+ "prettier": "^3.0.0",
81
+ "rimraf": "^5.0.1",
82
+ "source-map-loader": "^1.0.2",
83
+ "style-loader": "^3.3.1",
84
+ "stylelint": "^15.10.1",
85
+ "stylelint-config-recommended": "^13.0.0",
86
+ "stylelint-config-standard": "^34.0.0",
87
+ "stylelint-csstree-validator": "^3.0.0",
88
+ "stylelint-prettier": "^4.0.0",
89
+ "typescript": "~5.5.4",
90
+ "yjs": "^13.5.0"
91
+ },
92
+ "resolutions": {
93
+ "lib0": "0.2.111"
94
+ },
95
+ "sideEffects": [
96
+ "style/*.css",
97
+ "style/index.js"
98
+ ],
99
+ "styleModule": "style/index.js",
100
+ "publishConfig": {
101
+ "access": "public"
102
+ },
103
+ "jupyterlab": {
104
+ "discovery": {
105
+ "server": {
106
+ "managers": [
107
+ "pip"
108
+ ],
109
+ "base": {
110
+ "name": "jupyter_ai_acp_client"
111
+ }
112
+ }
113
+ },
114
+ "extension": true,
115
+ "outputDir": "jupyter_ai_acp_client/labextension",
116
+ "sharedPackages": {
117
+ "@jupyter/chat": {
118
+ "bundled": false,
119
+ "singleton": true
120
+ }
121
+ },
122
+ "_build": {
123
+ "load": "static/remoteEntry.e615ae2e4254ce11d925.js",
124
+ "extension": "./extension",
125
+ "style": "./style"
126
+ }
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
+ }
190
+ },
191
+ "prettier": {
192
+ "singleQuote": true,
193
+ "trailingComma": "none",
194
+ "arrowParens": "avoid",
195
+ "endOfLine": "auto",
196
+ "overrides": [
197
+ {
198
+ "files": "package.json",
199
+ "options": {
200
+ "tabWidth": 4
201
+ }
202
+ }
203
+ ]
204
+ },
205
+ "stylelint": {
206
+ "extends": [
207
+ "stylelint-config-recommended",
208
+ "stylelint-config-standard",
209
+ "stylelint-prettier/recommended"
210
+ ],
211
+ "plugins": [
212
+ "stylelint-csstree-validator"
213
+ ],
214
+ "rules": {
215
+ "csstree/validator": true,
216
+ "property-no-vendor-prefix": null,
217
+ "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
218
+ "selector-no-vendor-prefix": null,
219
+ "value-no-vendor-prefix": null
220
+ }
221
+ }
222
+ }
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_jupyter_ai_acp_client=self.webpackChunk_jupyter_ai_acp_client||[]).push([[728],{56(e,t,n){e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},72(e){var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},c=[],i=0;i<e.length;i++){var s=e[i],u=r.base?s[0]+r.base:s[0],p=o[u]||0,l="".concat(u," ").concat(p);o[u]=p+1;var f=n(l),d={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var v=a(d,r);r.byIndex=i,t.splice(i,0,{identifier:l,updater:v,references:1})}c.push(l)}return c}function a(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var o=r(e=e||[],a=a||{});return function(e){e=e||[];for(var c=0;c<o.length;c++){var i=n(o[c]);t[i].references--}for(var s=r(e,a),u=0;u<o.length;u++){var p=n(o[u]);0===t[p].references&&(t[p].updater(),t.splice(p,1))}o=s}}},113(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},314(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var c={};if(r)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(c[s]=!0)}for(var u=0;u<e.length;u++){var p=[].concat(e[u]);r&&c[p[0]]||(void 0!==o&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=o),n&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=n):p[2]=n),a&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=a):p[4]="".concat(a)),t.push(p))}},t}},475(e,t,n){n.d(t,{A:()=>i});var r=n(601),a=n.n(r),o=n(314),c=n.n(o)()(a());c.push([e.id,"/*\n See the JupyterLab Developer Guide for useful CSS Patterns:\n\n https://jupyterlab.readthedocs.io/en/stable/developer/css.html\n*/\n",""]);const i=c},540(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},601(e){e.exports=function(e){return e[1]}},659(e){var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},728(e,t,n){var r=n(72),a=n.n(r),o=n(825),c=n.n(o),i=n(659),s=n.n(i),u=n(56),p=n.n(u),l=n(540),f=n.n(l),d=n(113),v=n.n(d),h=n(475),m={};m.styleTagTransform=v(),m.setAttributes=p(),m.insert=s().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=f(),a()(h.A,m),h.A&&h.A.locals&&h.A.locals},825(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_jupyter_ai_acp_client=self.webpackChunk_jupyter_ai_acp_client||[]).push([[750],{750(t,e,n){n.r(e),n.d(e,{SlashCommandProvider:()=>c,default:()=>u,slashCommandPlugin:()=>l});var a=n(845),r=n(526),s=n(125);async function o(t="",e={}){const n=s.ServerConnection.makeSettings(),a=r.URLExt.join(n.baseUrl,"ai/acp",t);let o;try{o=await s.ServerConnection.makeRequest(a,e,n)}catch(t){throw new s.ServerConnection.NetworkError(t)}let i=await o.text();if(i.length>0)try{i=JSON.parse(i)}catch(t){console.log("Not a JSON response body.",o)}if(!o.ok)throw new s.ServerConnection.ResponseError(o,i.message||i);return i}const i="@jupyter-ai/acp-client:slash-command-provider";class c{constructor(){this.id=i,this._regex=/\/([\w-]*)/g}async listCommandCompletions(t){var e;const n=t.currentWord||"",a=t.chatContext.name,r=this._getExistingMentions(t);if(!n.startsWith("/"))return[];if(r.size>1)return[];let s=null;r.size&&(s=null!==(e=r.values().next().value)&&void 0!==e?e:null);const i=await async function(t,e=null){let n;try{n=null===e?await o(`/slash_commands?chat_path=${t}`):await o(`/slash_commands/${e}?chat_path=${t}`)}catch(t){return console.warn("Error retrieving ACP slash commands: ",t),[]}return n.commands}(a,s),c=[];for(const t of i)t.name.startsWith(n)&&c.push({name:t.name,providerId:this.id,description:t.description,spaceOnAccept:!0});return c}_getExistingMentions(t){var e;const n=null===(e=t.value)||void 0===e?void 0:e.matchAll(/@([\w-]*)/g),a=new Set;for(const t of n){const e=null==t?void 0:t[1];e&&a.add(e)}return a}async onSubmit(t){}}const l={id:i,description:"Adds support for slash commands in Jupyter AI.",autoStart:!0,requires:[a.IChatCommandRegistry],activate:(t,e)=>{e.addProvider(new c)}},u=l}}]);
@@ -0,0 +1 @@
1
+ var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,a,i,u,l,c,s,f,p,d,h,v,g,b,y,m={174(e,r,t){var n={"./index":()=>t.e(750).then(()=>()=>t(750)),"./extension":()=>t.e(750).then(()=>()=>t(750)),"./style":()=>t.e(728).then(()=>()=>t(728))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},w={};function j(e){var r=w[e];if(void 0!==r)return r.exports;var t=w[e]={id:e,exports:{}};return m[e](t,t.exports,j),t.exports}j.m=m,j.c=w,j.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return j.d(r,{a:r}),r},j.d=(e,r)=>{for(var t in r)j.o(r,t)&&!j.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},j.f={},j.e=e=>Promise.all(Object.keys(j.f).reduce((r,t)=>(j.f[t](e,r),r),[])),j.u=e=>e+"."+{728:"f69b40505cc5a8669c1e",750:"a29148656dc2b5c07d11"}[e]+".js?v="+{728:"f69b40505cc5a8669c1e",750:"a29148656dc2b5c07d11"}[e],j.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),j.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@jupyter-ai/acp-client:",j.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var s=l[c];if(s.getAttribute("src")==t||s.getAttribute("data-webpack")==r+o){i=s;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",j.nc&&i.setAttribute("nonce",j.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),u&&document.head.appendChild(i)}},j.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{j.S={};var e={},r={};j.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];j.o(j.S,t)||(j.S[t]={});var a=j.S[t],i="@jupyter-ai/acp-client",u=[];return"default"===t&&((e,r,t,n)=>{var o=a[e]=a[e]||{},u=o[r];(!u||!u.loaded&&(1!=!u.eager?n:i>u.from))&&(o[r]={get:()=>j.e(750).then(()=>()=>j(750)),from:i,eager:!1})})("@jupyter-ai/acp-client","0.0.1"),e[t]=u.length?Promise.all(u).then(()=>e[t]=1):1}}})(),(()=>{var e;j.g.importScripts&&(e=j.g.location+"");var r=j.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),j.p=e})(),t=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],u=(typeof i)[0];if(a!=u)return"o"==a&&"n"==u||"s"==u||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(u=e[a]))[0]?"-":(n>0?".":"")+(n=2,u);return t}var i=[];for(a=1;a<e.length;a++){var u=e[a];i.push(0===u?"not("+l()+")":1===u?"("+l()+" || "+l()+")":2===u?i.pop()+" "+i.pop():o(u))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,u=1,l=!0;;u++,i++){var c,s,f=u<e.length?(typeof e[u])[0]:"";if(i>=r.length||"o"==(s=(typeof(c=r[i]))[0]))return!l||("u"==f?u>n&&!o:""==f!=o);if("u"==s){if(!l||"u"!=f)return!1}else if(l)if(f==s)if(u<=n){if(c!=e[u])return!1}else{if(o?c>e[u]:c<e[u])return!1;c!=e[u]&&(l=!1)}else if("s"!=f&&"n"!=f){if(o||u<=n)return!1;l=!1,u--}else{if(u<=n||s<f!=o)return!1;l=!1}else"s"!=f&&"n"!=f&&(l=!1,u--)}}var p=[],d=p.pop.bind(p);for(i=1;i<e.length;i++){var h=e[i];p.push(1==h?d()|d():2==h?d()&d():h?a(h,r):!d())}return!!d()},i=(e,r)=>e&&j.o(e,r),u=e=>(e.loaded=1,e.get()),l=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),c=(e,r,t)=>{var o=t?l(e[r]):e[r];return Object.keys(o).reduce((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e,0)},s=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",f=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},d=(e,r,t)=>t?t():((e,r)=>f("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,a){var i=j.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,j.S[r],t,!1,o,a)):e(r,j.S[r],t,n,o,a)})((e,r,t,n,o,l)=>{if(!i(r,t))return d(e,t,l);var f=c(r,t,n);return a(o,f)||p(s(r,t,f,o)),u(r[t][f])}),v={},g={125:()=>h("default","@jupyterlab/services",!1,[1,7,5,3]),526:()=>h("default","@jupyterlab/coreutils",!1,[1,6,5,3]),845:()=>h("default","@jupyter/chat",!1,[2,0,17,0])},b={750:[125,526,845]},y={},j.f.consumes=(e,r)=>{j.o(b,e)&&b[e].forEach(e=>{if(j.o(v,e))return r.push(v[e]);if(!y[e]){var t=r=>{v[e]=0,j.m[e]=t=>{delete j.c[e],t.exports=r()}};y[e]=!0;var n=r=>{delete v[e],j.m[e]=t=>{throw delete j.c[e],r}};try{var o=g[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={422:0};j.f.j=(r,t)=>{var n=j.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=j.p+j.u(r),i=new Error;j.l(a,t=>{if(j.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,u]=t,l=0;if(a.some(r=>0!==e[r])){for(n in i)j.o(i,n)&&(j.m[n]=i[n]);u&&u(j)}for(r&&r(t);l<a.length;l++)o=a[l],j.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_jupyter_ai_acp_client=self.webpackChunk_jupyter_ai_acp_client||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),j.nc=void 0;var S=j(174);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupyter-ai/acp-client"]=S})();
@@ -0,0 +1,4 @@
1
+ /* This is a generated file of CSS imports */
2
+ /* It was generated by @jupyterlab/builder in Build.ensureAssets() */
3
+
4
+ import '@jupyter-ai/acp-client/style/index.js';
@@ -0,0 +1,16 @@
1
+ {
2
+ "packages": [
3
+ {
4
+ "name": "css-loader",
5
+ "versionInfo": "6.11.0",
6
+ "licenseId": "MIT",
7
+ "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
8
+ },
9
+ {
10
+ "name": "style-loader",
11
+ "versionInfo": "3.3.4",
12
+ "licenseId": "MIT",
13
+ "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,304 @@
1
+ Metadata-Version: 2.4
2
+ Name: jupyter_ai_acp_client
3
+ Version: 0.0.1
4
+ Summary: The ACP client for Jupyter AI, allowing for ACP agents to be used in JupyterLab
5
+ Project-URL: Homepage, https://github.com/jupyter-ai-contrib/jupyter-ai-acp-client
6
+ Project-URL: Bug Tracker, https://github.com/jupyter-ai-contrib/jupyter-ai-acp-client/issues
7
+ Project-URL: Repository, https://github.com/jupyter-ai-contrib/jupyter-ai-acp-client.git
8
+ Author-email: Project Jupyter <jupyter@googlegroups.com>
9
+ License: BSD 3-Clause License
10
+
11
+ Copyright (c) 2026, Project Jupyter
12
+ All rights reserved.
13
+
14
+ Redistribution and use in source and binary forms, with or without
15
+ modification, are permitted provided that the following conditions are met:
16
+
17
+ 1. Redistributions of source code must retain the above copyright notice, this
18
+ list of conditions and the following disclaimer.
19
+
20
+ 2. Redistributions in binary form must reproduce the above copyright notice,
21
+ this list of conditions and the following disclaimer in the documentation
22
+ and/or other materials provided with the distribution.
23
+
24
+ 3. Neither the name of the copyright holder nor the names of its
25
+ contributors may be used to endorse or promote products derived from
26
+ this software without specific prior written permission.
27
+
28
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
32
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
35
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
36
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
+ License-File: LICENSE
39
+ Keywords: jupyter,jupyterlab,jupyterlab-extension
40
+ Classifier: Framework :: Jupyter
41
+ Classifier: Framework :: Jupyter :: JupyterLab
42
+ Classifier: Framework :: Jupyter :: JupyterLab :: 4
43
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
44
+ Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
45
+ Classifier: License :: OSI Approved :: BSD License
46
+ Classifier: Programming Language :: Python
47
+ Classifier: Programming Language :: Python :: 3
48
+ Classifier: Programming Language :: Python :: 3.10
49
+ Classifier: Programming Language :: Python :: 3.11
50
+ Classifier: Programming Language :: Python :: 3.12
51
+ Classifier: Programming Language :: Python :: 3.13
52
+ Classifier: Programming Language :: Python :: 3.14
53
+ Requires-Python: >=3.10
54
+ Requires-Dist: agent-client-protocol
55
+ Requires-Dist: jupyter-ai-persona-manager>=0.0.5
56
+ Requires-Dist: jupyter-server<3,>=2.4.0
57
+ Provides-Extra: dev
58
+ Requires-Dist: jupyterlab>=4; extra == 'dev'
59
+ Provides-Extra: test
60
+ Requires-Dist: coverage; extra == 'test'
61
+ Requires-Dist: pytest; extra == 'test'
62
+ Requires-Dist: pytest-asyncio; extra == 'test'
63
+ Requires-Dist: pytest-cov; extra == 'test'
64
+ Requires-Dist: pytest-jupyter[server]>=0.6.0; extra == 'test'
65
+ Description-Content-Type: text/markdown
66
+
67
+ # jupyter_ai_acp_client
68
+
69
+ [![Github Actions Status](https://github.com/jupyter-ai-contrib/jupyter-ai-acp-client/workflows/Build/badge.svg)](https://github.com/jupyter-ai-contrib/jupyter-ai-acp-client/actions/workflows/build.yml)
70
+
71
+ A proof-of-concept package providing a client implementation of the Agent Client
72
+ Protocol (ACP) in Jupyter AI v3, as well as helper classes for other developers
73
+ to use when custom AI personas wrapping ACP agents.
74
+
75
+ This package provides a default ACP client implementation as `JaiAcpClient`.
76
+ This client provides a `prompt_and_reply()` method which calls the ACP server
77
+ and streams the reply back to the chat. In addition, it provides file read, file
78
+ write, and terminal use capabilities.
79
+
80
+ This package also provides a default `BaseAcpPersona` class which can be easily
81
+ extended to add ACP agents as AI personas in JupyterLab. This base class takes
82
+ an additional `executable` argument which starts the ACP agent server. This
83
+ package also provides a default ACP client implementation as `JaiAcpClient`.
84
+
85
+ - `BaseAcpPersona` automatically creates new subprocesses for the ACP agent and
86
+ client when needed. These are stored as class attributes, so all instances of
87
+ the same ACP persona share a common ACP agent subprocess.
88
+
89
+ - Since `BaseAcpPersona` inherits from `BasePersona`, subclasses can be provided
90
+ simply as entry points to become available for use in Jupyter AI. (see
91
+ [documentation](https://jupyter-ai.readthedocs.io/en/v3/developers/entry_points_api/personas_group.html))
92
+
93
+ - Personas based on ACP now just need to derive from `BaseAcpPersona` and define
94
+ the persona name, the persona avatar, and the `executable` starting the ACP
95
+ agent server.
96
+
97
+ For example, the `@Claude-ACP` persona is defined in `claude.py` using less than
98
+ 20 lines of code:
99
+
100
+ ```py
101
+ class ClaudeAcpPersona(BaseAcpPersona):
102
+ def __init__(self, *args, **kwargs):
103
+ executable = ["claude-code-acp"]
104
+ super().__init__(*args, executable=executable, **kwargs)
105
+
106
+ @property
107
+ def defaults(self) -> PersonaDefaults:
108
+ avatar_path = str(os.path.abspath(
109
+ os.path.join(os.path.dirname(__file__), "..", "static", "claude.svg")
110
+ ))
111
+
112
+ return PersonaDefaults(
113
+ name="Claude-ACP",
114
+ description="Claude Code as an ACP agent persona.",
115
+ avatar_path=avatar_path,
116
+ system_prompt="unused"
117
+ )
118
+ ```
119
+
120
+ Currently, this package provides 2 personas: `@Test-ACP` and `@Claude-ACP`.
121
+ Note that `@Claude-ACP` requires the `claude-code-acp` executable to appear.
122
+ This can be installed via:
123
+
124
+ ```
125
+ npm install -g @zed-industries/claude-code-acp
126
+ ```
127
+
128
+ ## Requirements
129
+
130
+ - JupyterLab >= 4.0.0
131
+ - `jupyter-ai-persona-manager>=0.0.5`
132
+ - `agent_client_protocol`
133
+ - Optional: `claude-code-acp`
134
+
135
+ ## Install
136
+
137
+ To install the extension, execute:
138
+
139
+ ```bash
140
+ pip install jupyter_ai_acp_client
141
+ ```
142
+
143
+ ## Uninstall
144
+
145
+ To remove the extension, execute:
146
+
147
+ ```bash
148
+ pip uninstall jupyter_ai_acp_client
149
+ ```
150
+
151
+ ## Troubleshoot
152
+
153
+ If you are seeing the frontend extension, but it is not working, check
154
+ that the server extension is enabled:
155
+
156
+ ```bash
157
+ jupyter server extension list
158
+ ```
159
+
160
+ If the server extension is installed and enabled, but you are not seeing
161
+ the frontend extension, check the frontend extension is installed:
162
+
163
+ ```bash
164
+ jupyter labextension list
165
+ ```
166
+
167
+ ## Contributing
168
+
169
+ ### Development install
170
+
171
+ Note: You will need NodeJS to build the extension package.
172
+
173
+ The `jlpm` command is JupyterLab's pinned version of
174
+ [yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
175
+ `yarn` or `npm` in lieu of `jlpm` below.
176
+
177
+ ```bash
178
+ # Clone the repo to your local environment
179
+ # Change directory to the jupyter_ai_acp_client directory
180
+
181
+ # Set up a virtual environment and install package in development mode
182
+ python -m venv .venv
183
+ source .venv/bin/activate
184
+ pip install --editable ".[dev,test]"
185
+
186
+ # Link your development version of the extension with JupyterLab
187
+ jupyter labextension develop . --overwrite
188
+ # Server extension must be manually installed in develop mode
189
+ jupyter server extension enable jupyter_ai_acp_client
190
+
191
+ # Rebuild extension Typescript source after making changes
192
+ # IMPORTANT: Unlike the steps above which are performed only once, do this step
193
+ # every time you make a change.
194
+ jlpm build
195
+ ```
196
+
197
+ You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
198
+
199
+ ```bash
200
+ # Watch the source directory in one terminal, automatically rebuilding when needed
201
+ jlpm watch
202
+ # Run JupyterLab in another terminal
203
+ jupyter lab
204
+ ```
205
+
206
+ With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
207
+
208
+ By default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:
209
+
210
+ ```bash
211
+ jupyter lab build --minimize=False
212
+ ```
213
+
214
+ ### Development uninstall
215
+
216
+ ```bash
217
+ # Server extension must be manually disabled in develop mode
218
+ jupyter server extension disable jupyter_ai_acp_client
219
+ pip uninstall jupyter_ai_acp_client
220
+ ```
221
+
222
+ In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
223
+ command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
224
+ folder is located. Then you can remove the symlink named `@jupyter-ai/acp-client` within that folder.
225
+
226
+ ### Testing the extension
227
+
228
+ #### Server tests
229
+
230
+ This extension is using [Pytest](https://docs.pytest.org/) for Python code testing.
231
+
232
+ Install test dependencies (needed only once):
233
+
234
+ ```sh
235
+ pip install -e ".[test]"
236
+ # Each time you install the Python package, you need to restore the front-end extension link
237
+ jupyter labextension develop . --overwrite
238
+ ```
239
+
240
+ To execute them, run:
241
+
242
+ ```sh
243
+ pytest -vv -r ap --cov jupyter_ai_acp_client
244
+ ```
245
+
246
+ #### Frontend tests
247
+
248
+ This extension is using [Jest](https://jestjs.io/) for JavaScript code testing.
249
+
250
+ To execute them, execute:
251
+
252
+ ```sh
253
+ jlpm
254
+ jlpm test
255
+ ```
256
+
257
+ #### Integration tests
258
+
259
+ This extension uses [Playwright](https://playwright.dev/docs/intro) for the integration tests (aka user level tests).
260
+ More precisely, the JupyterLab helper [Galata](https://github.com/jupyterlab/jupyterlab/tree/master/galata) is used to handle testing the extension in JupyterLab.
261
+
262
+ More information are provided within the [ui-tests](./ui-tests/README.md) README.
263
+
264
+ ## AI Coding Assistant Support
265
+
266
+ This project includes an `AGENTS.md` file with coding standards and best practices for JupyterLab extension development. The file follows the [AGENTS.md standard](https://agents.md) for cross-tool compatibility.
267
+
268
+ ### Compatible AI Tools
269
+
270
+ `AGENTS.md` works with AI coding assistants that support the standard, including Cursor, GitHub Copilot, Windsurf, Aider, and others. For a current list of compatible tools, see [the AGENTS.md standard](https://agents.md).
271
+ This project also includes symlinks for tool-specific compatibility:
272
+
273
+ - `CLAUDE.md` → `AGENTS.md` (for Claude Code)
274
+
275
+ - `GEMINI.md` → `AGENTS.md` (for Gemini Code Assist)
276
+
277
+ Other conventions you might encounter:
278
+
279
+ - `.cursorrules` - Cursor's YAML/JSON format (Cursor also supports AGENTS.md natively)
280
+ - `CONVENTIONS.md` / `CONTRIBUTING.md` - For CodeConventions.ai and GitHub bots
281
+ - Project-specific rules in JetBrains AI Assistant settings
282
+
283
+ All tool-specific files should be symlinks to `AGENTS.md` as the single source of truth.
284
+
285
+ ### What's Included
286
+
287
+ The `AGENTS.md` file provides guidance on:
288
+
289
+ - Code quality rules and file-scoped validation commands
290
+ - Naming conventions for packages, plugins, and files
291
+ - Coding standards (TypeScript, Python)
292
+ - Development workflow and debugging
293
+ - Backend-frontend integration patterns (`APIHandler`, `requestAPI()`, routing)
294
+ - Common pitfalls and how to avoid them
295
+
296
+ ### Customization
297
+
298
+ You can edit `AGENTS.md` to add project-specific conventions or adjust guidelines to match your team's practices. The file uses plain Markdown with Do/Don't patterns and references to actual project files.
299
+
300
+ **Note**: `AGENTS.md` is living documentation. Update it when you change conventions, add dependencies, or discover new patterns. Include `AGENTS.md` updates in commits that modify workflows or coding standards.
301
+
302
+ ### Packaging the extension
303
+
304
+ See [RELEASE](RELEASE.md)
@@ -0,0 +1,26 @@
1
+ jupyter_ai_acp_client/__init__.py,sha256=_cN0Ysxz3WhPDBIr691rzrBpqfGKbB9-xPBuihHejnY,794
2
+ jupyter_ai_acp_client/_version.py,sha256=jxehA50LXxaVvohst17NRunsOEmKf3bX3faN9WR0fhQ,171
3
+ jupyter_ai_acp_client/base_acp_persona.py,sha256=zWebdfbi0dAoK-hNSVHd6WxQWH92606Tp7GXVZrAYYA,6142
4
+ jupyter_ai_acp_client/default_acp_client.py,sha256=r0Hq0Gim4u-vy1k8BbrcWmCCK8WNztaI2p9sNImGQew,12860
5
+ jupyter_ai_acp_client/extension_app.py,sha256=nwJcLCq5HaNRbJcjgu_uXlItNupy95gojB3irS0yqsg,934
6
+ jupyter_ai_acp_client/routes.py,sha256=VWrcYB_5SupRbk8weE8gv9aBMGxnjjeJlrCXV30admk,3042
7
+ jupyter_ai_acp_client/terminal_manager.py,sha256=CwMI17CWYCUIEA9atKeSUoo1OilfT-GXbQq-kYVu_nw,11236
8
+ jupyter_ai_acp_client/acp_personas/claude.py,sha256=pD5Si03sc-s7FUcslsyiG6bC-MgXedC---nlZN1-tMY,1048
9
+ jupyter_ai_acp_client/acp_personas/test.py,sha256=bue9LBXSwfLXGxF7VsulJAI-ocRdCcVaRhb8CZ7mZ4Q,878
10
+ jupyter_ai_acp_client/static/claude.svg,sha256=nmYj6cA0YsUfDPcfJOOL7I5uG5MJI2PmPfWApvCk2-A,4095
11
+ jupyter_ai_acp_client/static/test.svg,sha256=ZFuSnrgmBbsM_khYr-QP9xBoAnc1Ugs6YWt-tFJXMOU,1827
12
+ jupyter_ai_acp_client/tests/__init__.py,sha256=TEZsewAfkhD775fhojPdfYSyhzx-2CtCKR3AYcSxxv0,51
13
+ jupyter_ai_acp_client/tests/test_routes.py,sha256=CZVUU4uTmAxTje7vQ2DoYSeXla0f7b7Q0ji65FluYkI,373
14
+ jupyter_ai_acp_client-0.0.1.data/data/etc/jupyter/jupyter_server_config.d/jupyter_ai_acp_client.json,sha256=p4JSkCftHcJYvG4S3SVxOmamm2GtdYSm3oImR_kMwj4,96
15
+ jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/package.json,sha256=EJroVx8OKak-d5h22eTnBJ40HALLb43FgAEWmR3HpXk,6333
16
+ jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/728.f69b40505cc5a8669c1e.js,sha256=9ptAUFzFqGacHrv6CFEyvn_mFy232NkgRgu5I4qHwb0,3997
17
+ jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/750.a29148656dc2b5c07d11.js,sha256=opFIZW3CtcB9Ebe18XNO3mx5znzqHsrHyDr720aSecg,1750
18
+ jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/remoteEntry.e615ae2e4254ce11d925.js,sha256=5hWuLkJUzhHZJZu9-c_N2sK4IqYBLAXSf4vdEjccBzw,6729
19
+ jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/style.js,sha256=monz35usz8iYQbkssqJetCc32iQu1XWrZTyO3T101UE,165
20
+ jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453
21
+ jupyter_ai_acp_client-0.0.1.data/data/share/jupyter/labextensions/@jupyter-ai/acp-client/install.json,sha256=7wIGGMaX8Dhqt2sVdUoMPaCyiyRj7mAxkWvYuR-PiAg,203
22
+ jupyter_ai_acp_client-0.0.1.dist-info/METADATA,sha256=ZIhvxYZK6B3f_HoqBsX8EasH1MTPEyOfZbLzLuOvldQ,11991
23
+ jupyter_ai_acp_client-0.0.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
24
+ jupyter_ai_acp_client-0.0.1.dist-info/entry_points.txt,sha256=7QEfJmyeg-R9OmYvxvtreM5C7mETtBkVeErNOVwLR5U,160
25
+ jupyter_ai_acp_client-0.0.1.dist-info/licenses/LICENSE,sha256=pxk1D2G5egvVgn-NqubN_4cAGaN7sPZA0fDs7PZOgfs,1523
26
+ jupyter_ai_acp_client-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [jupyter_ai.personas]
2
+ claude-acp = jupyter_ai_acp_client.acp_personas.claude:ClaudeAcpPersona
3
+ test-acp = jupyter_ai_acp_client.acp_personas.test:TestAcpPersona
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Project Jupyter
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.