@theia/ai-core 1.65.0-next.55 → 1.65.0

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.
@@ -34,7 +34,14 @@ export interface Agent {
34
34
  readonly name: string;
35
35
  /** A markdown description of its functionality and its privacy-relevant requirements, including function call handlers that access some data autonomously. */
36
36
  readonly description: string;
37
- /** The list of global variable identifiers this agent needs to clarify its context requirements. See #39. */
37
+ /**
38
+ * The list of global variable identifiers that are always available to this agent during execution,
39
+ * regardless of whether they are referenced in prompts.
40
+ *
41
+ * This array is primarily used for documentation purposes in the AI Configuration View
42
+ * to show which variables are guaranteed to be available to the agent. Referenced variables are NOT automatically handed over by the framework,
43
+ * this must be explicitly done in the agent implementation.
44
+ */
38
45
  readonly variables: string[];
39
46
  /** The prompts introduced and used by this agent. */
40
47
  readonly prompts: PromptVariantSet[];
@@ -42,9 +49,24 @@ export interface Agent {
42
49
  readonly languageModelRequirements: LanguageModelRequirement[];
43
50
  /** A list of tags to filter agents and to display capabilities in the UI */
44
51
  readonly tags?: string[];
45
- /** The list of local variable identifiers this agent needs to clarify its context requirements. */
52
+ /**
53
+ * The list of local variable identifiers that can be made available to this agent during execution,
54
+ * these variables are context specific and do not exist for other agents.
55
+ *
56
+ * This array is primarily used for documentation purposes in the AI Configuration View
57
+ * to show which variables can be made available to the agent.
58
+ * Referenced variables are NOT automatically handed over by the framework,
59
+ * this must be explicitly done in the agent implementation or in prompts.
60
+ */
46
61
  readonly agentSpecificVariables: AgentSpecificVariables[];
47
- /** The list of global function identifiers this agent needs to clarify its context requirements. */
62
+ /**
63
+ * The list of global function identifiers that are always available to this agent during execution,
64
+ * regardless of whether they are referenced in prompts.
65
+ *
66
+ * This array is primarily used for documentation purposes in the AI Configuration View
67
+ * to show which functions are guaranteed to be available to the agent. Referenced functions are NOT automatically handed over by the framework,
68
+ * this must be explicitly done in the agent implementation.
69
+ */
48
70
  readonly functions: string[];
49
71
  }
50
72
  //# sourceMappingURL=agent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/common/agent.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,kBAAkB,CAAC;IACnC,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC;CACnC;AAED,eAAO,MAAM,KAAK,eAAkB,CAAC;AACrC;;;;;;;;GAQG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,8JAA8J;IAC9J,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAE7B,6GAA6G;IAC7G,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,CAAC;IAE7B,qDAAqD;IACrD,QAAQ,CAAC,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAErC,mHAAmH;IACnH,QAAQ,CAAC,yBAAyB,EAAE,wBAAwB,EAAE,CAAC;IAE/D,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB,mGAAmG;IACnG,QAAQ,CAAC,sBAAsB,EAAE,sBAAsB,EAAE,CAAC;IAE1D,oGAAoG;IACpG,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,CAAC;CAChC"}
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/common/agent.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,kBAAkB,CAAC;IACnC,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC;CACnC;AAED,eAAO,MAAM,KAAK,eAAkB,CAAC;AACrC;;;;;;;;GAQG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,8JAA8J;IAC9J,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAE7B;;;;;;;OAOG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,CAAC;IAE7B,qDAAqD;IACrD,QAAQ,CAAC,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAErC,mHAAmH;IACnH,QAAQ,CAAC,yBAAyB,EAAE,wBAAwB,EAAE,CAAC;IAE/D,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB;;;;;;;;OAQG;IACH,QAAQ,CAAC,sBAAsB,EAAE,sBAAsB,EAAE,CAAC;IAE1D;;;;;;;OAOG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,CAAC;CAChC"}
package/package.json CHANGED
@@ -1,20 +1,19 @@
1
1
  {
2
2
  "name": "@theia/ai-core",
3
- "version": "1.65.0-next.55+d141c3601",
3
+ "version": "1.65.0",
4
4
  "description": "Theia - AI Core",
5
5
  "dependencies": {
6
- "@theia/core": "1.65.0-next.55+d141c3601",
7
- "@theia/editor": "1.65.0-next.55+d141c3601",
8
- "@theia/filesystem": "1.65.0-next.55+d141c3601",
9
- "@theia/monaco": "1.65.0-next.55+d141c3601",
6
+ "@theia/core": "1.65.0",
7
+ "@theia/editor": "1.65.0",
8
+ "@theia/filesystem": "1.65.0",
9
+ "@theia/monaco": "1.65.0",
10
10
  "@theia/monaco-editor-core": "1.96.302",
11
- "@theia/output": "1.65.0-next.55+d141c3601",
12
- "@theia/variable-resolver": "1.65.0-next.55+d141c3601",
13
- "@theia/workspace": "1.65.0-next.55+d141c3601",
11
+ "@theia/output": "1.65.0",
12
+ "@theia/variable-resolver": "1.65.0",
13
+ "@theia/workspace": "1.65.0",
14
14
  "@types/js-yaml": "^4.0.9",
15
15
  "fast-deep-equal": "^3.1.3",
16
16
  "js-yaml": "^4.1.0",
17
- "minimatch": "^5.1.0",
18
17
  "tslib": "^2.6.2"
19
18
  },
20
19
  "main": "lib/common",
@@ -53,10 +52,10 @@
53
52
  "watch": "theiaext watch"
54
53
  },
55
54
  "devDependencies": {
56
- "@theia/ext-scripts": "1.64.0"
55
+ "@theia/ext-scripts": "1.65.0"
57
56
  },
58
57
  "nyc": {
59
58
  "extends": "../../configs/nyc.json"
60
59
  },
61
- "gitHead": "d141c3601e8c3d9cd254468790fed3566aa23305"
60
+ "gitHead": "500dfc80cee94fd2a623b5fb59b22d5a575247c2"
62
61
  }
@@ -56,7 +56,14 @@ export interface Agent {
56
56
  /** A markdown description of its functionality and its privacy-relevant requirements, including function call handlers that access some data autonomously. */
57
57
  readonly description: string;
58
58
 
59
- /** The list of global variable identifiers this agent needs to clarify its context requirements. See #39. */
59
+ /**
60
+ * The list of global variable identifiers that are always available to this agent during execution,
61
+ * regardless of whether they are referenced in prompts.
62
+ *
63
+ * This array is primarily used for documentation purposes in the AI Configuration View
64
+ * to show which variables are guaranteed to be available to the agent. Referenced variables are NOT automatically handed over by the framework,
65
+ * this must be explicitly done in the agent implementation.
66
+ */
60
67
  readonly variables: string[];
61
68
 
62
69
  /** The prompts introduced and used by this agent. */
@@ -68,9 +75,24 @@ export interface Agent {
68
75
  /** A list of tags to filter agents and to display capabilities in the UI */
69
76
  readonly tags?: string[];
70
77
 
71
- /** The list of local variable identifiers this agent needs to clarify its context requirements. */
78
+ /**
79
+ * The list of local variable identifiers that can be made available to this agent during execution,
80
+ * these variables are context specific and do not exist for other agents.
81
+ *
82
+ * This array is primarily used for documentation purposes in the AI Configuration View
83
+ * to show which variables can be made available to the agent.
84
+ * Referenced variables are NOT automatically handed over by the framework,
85
+ * this must be explicitly done in the agent implementation or in prompts.
86
+ */
72
87
  readonly agentSpecificVariables: AgentSpecificVariables[];
73
88
 
74
- /** The list of global function identifiers this agent needs to clarify its context requirements. */
89
+ /**
90
+ * The list of global function identifiers that are always available to this agent during execution,
91
+ * regardless of whether they are referenced in prompts.
92
+ *
93
+ * This array is primarily used for documentation purposes in the AI Configuration View
94
+ * to show which functions are guaranteed to be available to the agent. Referenced functions are NOT automatically handed over by the framework,
95
+ * this must be explicitly done in the agent implementation.
96
+ */
75
97
  readonly functions: string[];
76
98
  }