@difizen/libro-prompt-cell 0.1.28 → 0.1.29

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/es/index.d.ts CHANGED
@@ -2,5 +2,6 @@ export * from './prompt-cell-contribution.js';
2
2
  export * from './prompt-cell-model.js';
3
3
  export * from './prompt-cell-protocol.js';
4
4
  export * from './prompt-cell-view.js';
5
+ export * from './prompt-cell-script.js';
5
6
  export * from './module.js';
6
7
  //# sourceMappingURL=index.d.ts.map
package/es/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC"}
package/es/index.js CHANGED
@@ -2,4 +2,5 @@ export * from "./prompt-cell-contribution.js";
2
2
  export * from "./prompt-cell-model.js";
3
3
  export * from "./prompt-cell-protocol.js";
4
4
  export * from "./prompt-cell-view.js";
5
+ export * from "./prompt-cell-script.js";
5
6
  export * from "./module.js";
@@ -1,5 +1,5 @@
1
1
  export declare class PromptScript {
2
- readonly getChatObjects = "from libro_server import chat_object_manager\nchat_object_manager.dump_list_json()";
3
- readonly getChatRecoreds = "from libro_server import chat_record_provider\nchat_record_provider.get_records()";
2
+ readonly getChatObjects: string;
3
+ readonly getChatRecoreds: string;
4
4
  }
5
5
  //# sourceMappingURL=prompt-cell-script.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompt-cell-script.d.ts","sourceRoot":"","sources":["../src/prompt-cell-script.ts"],"names":[],"mappings":"AAEA,qBACa,YAAY;IACvB,SAAgB,cAAc,wFACM;IACpC,SAAgB,eAAe,uFACG;CACnC"}
1
+ {"version":3,"file":"prompt-cell-script.d.ts","sourceRoot":"","sources":["../src/prompt-cell-script.ts"],"names":[],"mappings":"AAEA,qBACa,YAAY;IACvB,SAAgB,cAAc,EAAE,MAAM,CACF;IACpC,SAAgB,eAAe,EAAE,MAAM,CACL;CACnC"}
@@ -8,6 +8,6 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
8
8
  import { singleton } from '@difizen/mana-app';
9
9
  export var PromptScript = (_dec = singleton(), _dec(_class = /*#__PURE__*/_createClass(function PromptScript() {
10
10
  _classCallCheck(this, PromptScript);
11
- this.getChatObjects = "from libro_server import chat_object_manager\nchat_object_manager.dump_list_json()";
12
- this.getChatRecoreds = "from libro_server import chat_record_provider\nchat_record_provider.get_records()";
11
+ this.getChatObjects = "from libro_ai import chat_object_manager\nchat_object_manager.dump_list_json()";
12
+ this.getChatRecoreds = "from libro_ai import chat_record_provider\nchat_record_provider.get_records()";
13
13
  })) || _class);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-prompt-cell",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -32,12 +32,12 @@
32
32
  "src"
33
33
  ],
34
34
  "dependencies": {
35
- "@difizen/libro-code-editor": "^0.1.28",
36
- "@difizen/libro-jupyter": "^0.1.28",
37
- "@difizen/libro-rendermime": "^0.1.28",
38
- "@difizen/libro-codemirror": "^0.1.28",
39
- "@difizen/libro-common": "^0.1.28",
40
- "@difizen/libro-core": "^0.1.28",
35
+ "@difizen/libro-code-editor": "^0.1.29",
36
+ "@difizen/libro-jupyter": "^0.1.29",
37
+ "@difizen/libro-rendermime": "^0.1.29",
38
+ "@difizen/libro-codemirror": "^0.1.29",
39
+ "@difizen/libro-common": "^0.1.29",
40
+ "@difizen/libro-core": "^0.1.29",
41
41
  "@ant-design/icons": "^5.1.0",
42
42
  "@difizen/mana-l10n": "latest",
43
43
  "@difizen/mana-app": "latest",
package/src/index.ts CHANGED
@@ -2,4 +2,5 @@ export * from './prompt-cell-contribution.js';
2
2
  export * from './prompt-cell-model.js';
3
3
  export * from './prompt-cell-protocol.js';
4
4
  export * from './prompt-cell-view.js';
5
+ export * from './prompt-cell-script.js';
5
6
  export * from './module.js';
@@ -2,8 +2,8 @@ import { singleton } from '@difizen/mana-app';
2
2
 
3
3
  @singleton()
4
4
  export class PromptScript {
5
- public readonly getChatObjects = `from libro_server import chat_object_manager
5
+ public readonly getChatObjects: string = `from libro_ai import chat_object_manager
6
6
  chat_object_manager.dump_list_json()`;
7
- public readonly getChatRecoreds = `from libro_server import chat_record_provider
7
+ public readonly getChatRecoreds: string = `from libro_ai import chat_record_provider
8
8
  chat_record_provider.get_records()`;
9
9
  }