ingestron 0.13.2 → 0.14.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.1
|
|
4
|
+
|
|
5
|
+
- Add `azure-blob` and `azure-blob@1.0.0` shortcuts, including qualified latest selection and MCP parity. No tag-prefix option is needed.
|
|
6
|
+
- Derive official-name help from the shared alias map and suggest checking/updating the CLI when a name is unknown.
|
|
7
|
+
|
|
8
|
+
## 0.14.0
|
|
9
|
+
|
|
10
|
+
- Add the official `files` plugin alias to CLI and MCP, with exact qualified catalogue resolution and unchanged cache-only installation.
|
|
11
|
+
- Keep core pinned to published 0.12.1; existing plugin identities and locks remain unchanged.
|
|
12
|
+
|
|
3
13
|
## 0.13.2
|
|
4
14
|
|
|
5
15
|
- Keep official plugin names short in ordinary install/list output; exact references remain in verbose and JSON output.
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ To install this checkout's CLI in your terminal:
|
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
31
|
pnpm pack --pack-destination build/release
|
|
32
|
-
npm install --global ./build/release/ingestron-0.
|
|
32
|
+
npm install --global ./build/release/ingestron-0.14.1.tgz
|
|
33
33
|
ingestron --version
|
|
34
34
|
```
|
|
35
35
|
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
/** Official-name convenience at the adapter boundary; core only receives exact references. */
|
|
2
2
|
import { type Context, type OperationName, type Result } from "@ingestron/core";
|
|
3
3
|
export declare const officialPlugins: {
|
|
4
|
+
readonly "azure-blob": {
|
|
5
|
+
readonly repository: "ingestron/connectors";
|
|
6
|
+
readonly path: "connectors/azure-blob/connector.yaml";
|
|
7
|
+
readonly tagPrefix: "azure-blob-";
|
|
8
|
+
};
|
|
9
|
+
readonly files: {
|
|
10
|
+
readonly repository: "ingestron/connectors";
|
|
11
|
+
readonly path: "connectors/files/connector.yaml";
|
|
12
|
+
readonly tagPrefix: "files-";
|
|
13
|
+
};
|
|
4
14
|
readonly github: {
|
|
5
15
|
readonly repository: "ingestron/connectors";
|
|
6
16
|
readonly path: "connectors/github/connector.yaml";
|
|
@@ -3,6 +3,16 @@ import { executeAsync, operationSchemas, } from "@ingestron/core";
|
|
|
3
3
|
import { check, packageLock, Problem } from "@ingestron/core/adapter";
|
|
4
4
|
import { coreVersion } from "../version.js";
|
|
5
5
|
export const officialPlugins = {
|
|
6
|
+
"azure-blob": {
|
|
7
|
+
repository: "ingestron/connectors",
|
|
8
|
+
path: "connectors/azure-blob/connector.yaml",
|
|
9
|
+
tagPrefix: "azure-blob-",
|
|
10
|
+
},
|
|
11
|
+
files: {
|
|
12
|
+
repository: "ingestron/connectors",
|
|
13
|
+
path: "connectors/files/connector.yaml",
|
|
14
|
+
tagPrefix: "files-",
|
|
15
|
+
},
|
|
6
16
|
github: {
|
|
7
17
|
repository: "ingestron/connectors",
|
|
8
18
|
path: "connectors/github/connector.yaml",
|
|
@@ -24,7 +34,7 @@ export function officialName(reference) {
|
|
|
24
34
|
if (reference.includes("/"))
|
|
25
35
|
return undefined;
|
|
26
36
|
const [name, version, extra] = reference.split("@");
|
|
27
|
-
check(Object.hasOwn(officialPlugins, name), "PACKAGE", `Unknown official plugin '${name}'. Use
|
|
37
|
+
check(Object.hasOwn(officialPlugins, name), "PACKAGE", `Unknown official plugin '${name}'. Use ${Object.keys(officialPlugins).join(", ")}, or an explicit owner/repository reference. Check ingestron --version and update the CLI if a documented name is missing.`);
|
|
28
38
|
check(extra === undefined &&
|
|
29
39
|
(version === undefined || version === "latest" || stable.test(version)), "PACKAGE", "Use a stable version, @latest, or omit the version for an official plugin");
|
|
30
40
|
return { name: name, version };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { officialName } from "./plugin-resolution.js";
|
|
1
|
+
import { officialName, officialPlugins } from "./plugin-resolution.js";
|
|
2
2
|
import { browsePlugins } from "./plugin-browser.js";
|
|
3
3
|
import * as prompts from "@clack/prompts";
|
|
4
4
|
import { friendlyReference } from "@ingestron/core/adapter";
|
|
@@ -182,7 +182,7 @@ export function workflowCommands(app, host) {
|
|
|
182
182
|
message: "Official plugin name or owner/repository",
|
|
183
183
|
validate: (value) => /^(github|local|[\w.-]+\/[\w.-]+)$/.test(value ?? "")
|
|
184
184
|
? undefined
|
|
185
|
-
:
|
|
185
|
+
: `Use ${Object.keys(officialPlugins).join(", ")} or owner/repository`,
|
|
186
186
|
}));
|
|
187
187
|
}
|
|
188
188
|
check(typeof reference === "string", "INPUT", "Choose a plugin reference");
|