@elaraai/e3-cloud-claude-plugin 1.1.3 → 1.1.4
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/.build/hooks/pre-read.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
1
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/host.js
|
|
2
2
|
import { existsSync } from "node:fs";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
var isCodex = existsSync(fileURLToPath(new URL("../../.codex-plugin/plugin.json", import.meta.url)));
|
|
@@ -6,7 +6,7 @@ function hostText(text) {
|
|
|
6
6
|
return isCodex ? text.replaceAll("mcp__plugin_east_east__", "").replaceAll("/east:", "$east-codex-plugin:").replaceAll("Claude Code", "Codex") : text;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
9
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/hook-io.js
|
|
10
10
|
async function readHookInput() {
|
|
11
11
|
let input = "";
|
|
12
12
|
for await (const chunk of process.stdin) {
|
|
@@ -34,10 +34,10 @@ function writeHookDecision(hookEventName, decision, reason) {
|
|
|
34
34
|
process.stdout.write(JSON.stringify(output));
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
37
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/transcript.js
|
|
38
38
|
var SEARCH_TOOLS = ["mcp__plugin_east_east__search_east_examples", "mcp__plugin_east_east__get_east_example", "mcp__east__search_east_examples", "mcp__east__get_east_example"];
|
|
39
39
|
|
|
40
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
40
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-guidance.js
|
|
41
41
|
var EAST_GUIDANCE = {
|
|
42
42
|
searchTool: "mcp__plugin_east_east__search_east_examples",
|
|
43
43
|
getTool: "mcp__plugin_east_east__get_east_example",
|
|
@@ -79,7 +79,7 @@ var GATE_TEXT = gateText(EAST_GUIDANCE);
|
|
|
79
79
|
var READ_TEXT = readText(EAST_GUIDANCE);
|
|
80
80
|
var isExampleCorpusRead = corpusReadFor(EAST_GUIDANCE.scope);
|
|
81
81
|
|
|
82
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
82
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-hooks.js
|
|
83
83
|
function preReadReminder(event, options) {
|
|
84
84
|
return options.isCorpusRead(event.tool_name ?? "", event.tool_input ?? {}) ? { decision: "context", text: options.readText } : null;
|
|
85
85
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
1
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-hooks.js
|
|
2
2
|
import { readFile as readFile2 } from "node:fs/promises";
|
|
3
3
|
import { existsSync as existsSync2, writeFileSync } from "node:fs";
|
|
4
4
|
import { tmpdir } from "node:os";
|
|
5
5
|
import { join } from "node:path";
|
|
6
6
|
|
|
7
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
7
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/host.js
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { fileURLToPath } from "node:url";
|
|
10
10
|
var isCodex = existsSync(fileURLToPath(new URL("../../.codex-plugin/plugin.json", import.meta.url)));
|
|
@@ -12,7 +12,7 @@ function hostText(text) {
|
|
|
12
12
|
return isCodex ? text.replaceAll("mcp__plugin_east_east__", "").replaceAll("/east:", "$east-codex-plugin:").replaceAll("Claude Code", "Codex") : text;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
15
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/hook-io.js
|
|
16
16
|
async function readHookInput() {
|
|
17
17
|
let input = "";
|
|
18
18
|
for await (const chunk of process.stdin) {
|
|
@@ -40,7 +40,7 @@ function writeHookDecision(hookEventName, decision, reason) {
|
|
|
40
40
|
process.stdout.write(JSON.stringify(output));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
43
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/transcript.js
|
|
44
44
|
import { readFile } from "node:fs/promises";
|
|
45
45
|
var SEARCH_TOOLS = ["mcp__plugin_east_east__search_east_examples", "mcp__plugin_east_east__get_east_example", "mcp__east__search_east_examples", "mcp__east__get_east_example"];
|
|
46
46
|
async function searchedInTranscript(transcriptPath, tools = SEARCH_TOOLS) {
|
|
@@ -53,7 +53,7 @@ async function searchedInTranscript(transcriptPath, tools = SEARCH_TOOLS) {
|
|
|
53
53
|
return tools.some((tool) => raw.includes(`"name":"${tool}"`) || raw.includes(`"name": "${tool}"`));
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
56
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-guidance.js
|
|
57
57
|
var EAST_GUIDANCE = {
|
|
58
58
|
searchTool: "mcp__plugin_east_east__search_east_examples",
|
|
59
59
|
getTool: "mcp__plugin_east_east__get_east_example",
|
|
@@ -95,7 +95,7 @@ var GATE_TEXT = gateText(EAST_GUIDANCE);
|
|
|
95
95
|
var READ_TEXT = readText(EAST_GUIDANCE);
|
|
96
96
|
var isExampleCorpusRead = corpusReadFor(EAST_GUIDANCE.scope);
|
|
97
97
|
|
|
98
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
98
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-hooks.js
|
|
99
99
|
async function preWriteGate(event, options) {
|
|
100
100
|
const cwd = event.cwd || process.cwd();
|
|
101
101
|
const filePath = event.tool_input?.file_path;
|
package/.build/mcp/server.js
CHANGED
|
@@ -21556,7 +21556,7 @@ var StdioServerTransport = class {
|
|
|
21556
21556
|
}
|
|
21557
21557
|
};
|
|
21558
21558
|
|
|
21559
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
21559
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search.js
|
|
21560
21560
|
import { readFile } from "node:fs/promises";
|
|
21561
21561
|
|
|
21562
21562
|
// ../../node_modules/.pnpm/minisearch@7.2.0/node_modules/minisearch/dist/es/index.js
|
|
@@ -23369,7 +23369,7 @@ var objectToNumericMapAsync = async (object3) => {
|
|
|
23369
23369
|
var wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
23370
23370
|
var SPACE_OR_PUNCTUATION = /[\n\r\p{Z}\p{P}]+/u;
|
|
23371
23371
|
|
|
23372
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
23372
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-guidance.js
|
|
23373
23373
|
var EAST_GUIDANCE = {
|
|
23374
23374
|
searchTool: "mcp__plugin_east_east__search_east_examples",
|
|
23375
23375
|
getTool: "mcp__plugin_east_east__get_east_example",
|
|
@@ -23411,7 +23411,7 @@ var GATE_TEXT = gateText(EAST_GUIDANCE);
|
|
|
23411
23411
|
var READ_TEXT = readText(EAST_GUIDANCE);
|
|
23412
23412
|
var isExampleCorpusRead = corpusReadFor(EAST_GUIDANCE.scope);
|
|
23413
23413
|
|
|
23414
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
23414
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search.js
|
|
23415
23415
|
var MIN_SCORE = 5;
|
|
23416
23416
|
async function loadIndexes(indexPaths) {
|
|
23417
23417
|
const entries = [];
|
|
@@ -23537,7 +23537,7 @@ function getEntry(index, id) {
|
|
|
23537
23537
|
return stored === void 0 ? null : stored;
|
|
23538
23538
|
}
|
|
23539
23539
|
|
|
23540
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
23540
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/mcp/example-tools.js
|
|
23541
23541
|
var EAST_PACKAGES = ["east", "east-node-std", "east-node-io", "east-py-datascience", "east-ui", "e3-ui", "e3", "e3-ui-cli", "e3-create"];
|
|
23542
23542
|
function isLoaded(index) {
|
|
23543
23543
|
return typeof index.then === "function";
|
|
@@ -23610,7 +23610,7 @@ function registerExampleTools(server2, options) {
|
|
|
23610
23610
|
import { fileURLToPath } from "node:url";
|
|
23611
23611
|
var E3_CLOUD_INDEX_PATH = fileURLToPath(new URL("../../index.json", import.meta.url));
|
|
23612
23612
|
|
|
23613
|
-
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.
|
|
23613
|
+
// ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.104_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/transcript.js
|
|
23614
23614
|
var SEARCH_TOOLS = ["mcp__plugin_east_east__search_east_examples", "mcp__plugin_east_east__get_east_example", "mcp__east__search_east_examples", "mcp__east__get_east_example"];
|
|
23615
23615
|
|
|
23616
23616
|
// ../e3-cloud-plugin/dist/lib/names.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "e3-cloud",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "e3 cloud - apps for hosted e3 workspaces with @elaraai/e3-cloud-ui, files from buckets as inputs with @elaraai/e3-cloud-files, the e3-cloud CLI and @elaraai/e3-cloud-client: skills, example search and the search-first hooks",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Elara AI",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elaraai/e3-cloud-claude-plugin",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "e3 cloud - apps for hosted e3 workspaces with @elaraai/e3-cloud-ui, files from buckets as inputs with @elaraai/e3-cloud-files, the e3-cloud CLI and @elaraai/e3-cloud-client: skills, example search and the search-first hooks",
|
|
5
5
|
"license": "AGPL-3.0-or-later",
|
|
6
6
|
"type": "module",
|