@octonodes/sdk 0.1.14 → 0.2.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.
package/PLUGINS.md CHANGED
@@ -324,3 +324,43 @@ inventories, project override precedence, npm argument/default behavior,
324
324
  workflow runtime integrity, artifact relocation, and existing installation flows.
325
325
  Decorators, executable configuration, multiple plugins in one package, custom
326
326
  canvas renderers, and another manifest format remain outside this contract.
327
+
328
+ ## Release files and GitHub publishing
329
+
330
+ SDK/CLI `0.2.0` supports `plugin.octonode.json`, `.yml`, and `.yaml` beside
331
+ `octonode.plugin.ts`. Keep exactly one release file. For example:
332
+
333
+ ```json
334
+ {
335
+ "apiVersion": "octonode.plugin/v1",
336
+ "id": "my-plugin",
337
+ "version": "1.0.0",
338
+ "scope": "public"
339
+ }
340
+ ```
341
+
342
+ The ID must match the TypeScript plugin. Release-file version, scope, and optional
343
+ contributors override the corresponding code metadata during compilation. Other
344
+ metadata and all node definitions remain in TypeScript. Scope can be `user`, `public`,
345
+ `team` with `teamId`, or `organization` with `orgId`.
346
+
347
+ `octonodes plugin version patch` updates the release file (also accepts `minor`,
348
+ `major`, or an exact version). `octonodes login` followed by
349
+ `octonodes plugin deploy .` builds, validates, hashes and publishes to
350
+ `https://plugins.octonodes.com`, using your existing account.
351
+
352
+ For automatic releases, connect the GitHub App repository and release-file path
353
+ in **Partner → GitHub publishing**, review its target, and enable publishing.
354
+ Use a GitHub sign-in with `repo` and `read:org` scopes. Installation requires the
355
+ personal account owner or an active organization admin; release review and consent
356
+ also require current repository admin permission.
357
+ Commit the downloaded workflow at `.github/workflows/octonode-publish.yml` (or the
358
+ explicit `workflow` path in your config). It runs
359
+ `octonodes plugin deploy . --github` with GitHub Actions `id-token: write`.
360
+ No marketplace secret is required. Only the authorized default-branch workflow
361
+ can publish; changing the target requires reconnection. Existing versions are
362
+ skipped; new bytes require a new version. Installed project pins remain unchanged.
363
+
364
+ Requires deployment of the corresponding engine/control-plane changes and
365
+ publication of SDK/CLI `0.2.0` or newer. Updating the source or opening a PR does not
366
+ apply production migrations, deploy Workers, or publish npm packages.
@@ -31,4 +31,8 @@ export declare const SOURCE_CONTROL_REGION_KINDS: readonly ["if", "switch", "for
31
31
  export declare const PLATFORM_CAPABILITIES: readonly ["workspace_identity", "workspace_social", "task_management", "workspace_admin", "workflow_execution", "billing", "design_review", "design_preview", "architecture", "repository_registry", "repository_discovery", "repository_git_read", "repository_git_write", "design_architecture_embed", "workspace_registry_backup_restore", "github", "slack", "google", "meta", "qwen", "workflow_agents", "cloud_terminal", "mcp_catalog", "monitoring", "agent_monitoring", "backup_restore", "write_authority", "community_read", "community_authoring", "community_publishing", "workflow_templates"];
32
32
  export declare const CAPABILITY_MODES: readonly ["trusted-local", "configured-local-cloud", "hosted"];
33
33
  export declare const CAPABILITY_UNAVAILABLE_REASONS: readonly ["not_implemented", "requires_cloud_configuration", "requires_hosted_runtime", "provider_not_configured", "disabled_by_policy", "missing_entitlement", "missing_permission"];
34
+ export declare const PLUGIN_RELEASE_FILES: readonly ["plugin.octonode.json", "plugin.octonode.yml", "plugin.octonode.yaml"];
35
+ export declare const PLUGIN_PUBLISH_AUDIENCE = "https://plugins.octonodes.com";
36
+ export declare const PLUGIN_CONFIG_MAX_BYTES = 65536;
37
+ export declare const PLUGIN_PUBLISH_MAX_BYTES: number;
34
38
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,qBAAqB,EAAG,GAAY,CAAC;AAClD,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,2BAA2B,QAAkB,CAAC;AAC3D,eAAO,MAAM,2BAA2B,QAAmB,CAAC;AAC5D,eAAO,MAAM,0BAA0B,QAAwD,CAAC;AAChG,eAAO,MAAM,qBAAqB,4FAOxB,CAAC;AACX,eAAO,MAAM,wBA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C;AAEnF,eAAO,MAAM,2BAA2B,oIAc9B,CAAC;AAEX,eAAO,MAAM,qBAAqB,8kBAgCxB,CAAC;AAEX,eAAO,MAAM,gBAAgB,gEAAiE,CAAC;AAE/F,eAAO,MAAM,8BAA8B,uLAQjC,CAAC;AAEX,eAAO,MAAM,oBAAoB,kFAAmF,CAAC;AACrH,eAAO,MAAM,uBAAuB,kCAAkC,CAAC;AACvE,eAAO,MAAM,uBAAuB,QAAS,CAAC;AAC9C,eAAO,MAAM,wBAAwB,QAAmB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CAPABILITY_UNAVAILABLE_REASONS = exports.CAPABILITY_MODES = exports.PLATFORM_CAPABILITIES = exports.SOURCE_CONTROL_REGION_KINDS = exports.TASK_RELEASE_STATES = exports.TASK_SPRINT_STATES = exports.TASK_LINK_TYPES = exports.TASK_VIEW_SORTS = exports.TASK_VIEW_GROUPS = exports.TASK_VIEW_LAYOUTS = exports.TASK_FIELD_TYPES = exports.WORK_ITEM_PRIORITIES = exports.BUILTIN_WORK_ITEM_TYPES = exports.WORK_ITEM_LEVELS = exports.TASK_STATUS_CATEGORIES = exports.TASK_SPACE_TEMPLATES = exports.COLLABORATION_ACTIONS = exports.AGENT_TOOL_RISKS = exports.AGENT_ERROR_CODES = exports.AGENT_RUN_STATUSES = exports.WORKSPACE_ACTIONS = exports.SETTINGS_SECTIONS = exports.SETTINGS_API_VERSION = exports.MARKETPLACE_SCOPES = exports.PLUGIN_DEFINITION_FILENAMES = exports.PLUGIN_MANIFEST_FILENAME = exports.COMMUNITY_MEDIA_TYPES = exports.COMMUNITY_MEDIA_BODY_BYTES = exports.COMMUNITY_MEDIA_VIDEO_BYTES = exports.COMMUNITY_MEDIA_IMAGE_BYTES = exports.PROJECT_JOB_PROTOCOL = exports.PLUGIN_SCHEMA_VERSION = void 0;
3
+ exports.PLUGIN_PUBLISH_MAX_BYTES = exports.PLUGIN_CONFIG_MAX_BYTES = exports.PLUGIN_PUBLISH_AUDIENCE = exports.PLUGIN_RELEASE_FILES = exports.CAPABILITY_UNAVAILABLE_REASONS = exports.CAPABILITY_MODES = exports.PLATFORM_CAPABILITIES = exports.SOURCE_CONTROL_REGION_KINDS = exports.TASK_RELEASE_STATES = exports.TASK_SPRINT_STATES = exports.TASK_LINK_TYPES = exports.TASK_VIEW_SORTS = exports.TASK_VIEW_GROUPS = exports.TASK_VIEW_LAYOUTS = exports.TASK_FIELD_TYPES = exports.WORK_ITEM_PRIORITIES = exports.BUILTIN_WORK_ITEM_TYPES = exports.WORK_ITEM_LEVELS = exports.TASK_STATUS_CATEGORIES = exports.TASK_SPACE_TEMPLATES = exports.COLLABORATION_ACTIONS = exports.AGENT_TOOL_RISKS = exports.AGENT_ERROR_CODES = exports.AGENT_RUN_STATUSES = exports.WORKSPACE_ACTIONS = exports.SETTINGS_SECTIONS = exports.SETTINGS_API_VERSION = exports.MARKETPLACE_SCOPES = exports.PLUGIN_DEFINITION_FILENAMES = exports.PLUGIN_MANIFEST_FILENAME = exports.COMMUNITY_MEDIA_TYPES = exports.COMMUNITY_MEDIA_BODY_BYTES = exports.COMMUNITY_MEDIA_VIDEO_BYTES = exports.COMMUNITY_MEDIA_IMAGE_BYTES = exports.PROJECT_JOB_PROTOCOL = exports.PLUGIN_SCHEMA_VERSION = void 0;
4
4
  // Generated from packages/schema/src/constants.ts. Do not edit; run the Octonode SDK sync.
5
5
  exports.PLUGIN_SCHEMA_VERSION = "1";
6
6
  exports.PROJECT_JOB_PROTOCOL = "octonode.project-job.v1";
@@ -205,4 +205,8 @@ exports.CAPABILITY_UNAVAILABLE_REASONS = [
205
205
  "missing_entitlement",
206
206
  "missing_permission",
207
207
  ];
208
+ exports.PLUGIN_RELEASE_FILES = ["plugin.octonode.json", "plugin.octonode.yml", "plugin.octonode.yaml"];
209
+ exports.PLUGIN_PUBLISH_AUDIENCE = "https://plugins.octonodes.com";
210
+ exports.PLUGIN_CONFIG_MAX_BYTES = 65_536;
211
+ exports.PLUGIN_PUBLISH_MAX_BYTES = 32 * 1024 * 1024;
208
212
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/plugins/schema/constants.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC9E,QAAA,qBAAqB,GAAG,GAAY,CAAC;AACrC,QAAA,oBAAoB,GAAG,yBAAyB,CAAC;AACjD,QAAA,2BAA2B,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AAC9C,QAAA,2BAA2B,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/C,QAAA,0BAA0B,GAAG,IAAI,CAAC,IAAI,CAAC,mCAA2B,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;AACnF,QAAA,qBAAqB,GAAG;IACnC,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,WAAW;IACX,WAAW;IACX,YAAY;CACJ,CAAC;AACE,QAAA,wBAAwB,GAAG,sBAAsB,CAAC;AAClD,QAAA,2BAA2B,GAAG;IACzC,cAAc;IACd,eAAe;IACf,eAAe;IACf,gCAAwB;CAChB,CAAC;AACE,QAAA,kBAAkB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAU,CAAC;AAEjE,QAAA,oBAAoB,GAAG,0BAAmC,CAAC;AAC3D,QAAA,iBAAiB,GAAG,CAAC,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAU,CAAC;AAEzF,QAAA,iBAAiB,GAAG;IAC/B,eAAe;IACf,gBAAgB;IAChB,eAAe;IACf,WAAW;IACX,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,cAAc;IACd,aAAa;IACb,cAAc;IACd,iBAAiB;IACjB,YAAY;IACZ,aAAa;IACb,cA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d,qBAAqB;IACrB,sBAAsB;IACtB,qBAAqB;IACrB,sBAAsB;IACtB,2BAA2B;IAC3B,mCAAmC;IACnC,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,MAAM;IACN,MAAM;IACN,iBAAiB;IACjB,gBAAgB;IAChB,aAAa;IACb,YAAY;IACZ,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,qBAAqB;IACrB,sBAAsB;IACtB,oBAAoB;CACZ,CAAC;AAEE,QAAA,gBAAgB,GAAG,CAAC,eAAe,EAAE,wBAAwB,EAAE,QAAQ,CAAU,CAAC;AAElF,QAAA,8BAA8B,GAAG;IAC5C,iBAAiB;IACjB,8BAA8B;IAC9B,yBAAyB;IACzB,yBAAyB;IACzB,oBAAoB;IACpB,qBAAqB;IACrB,oBAAoB;CACZ,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/plugins/schema/constants.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC9E,QAAA,qBAAqB,GAAG,GAAY,CAAC;AACrC,QAAA,oBAAoB,GAAG,yBAAyB,CAAC;AACjD,QAAA,2BAA2B,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AAC9C,QAAA,2BAA2B,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/C,QAAA,0BAA0B,GAAG,IAAI,CAAC,IAAI,CAAC,mCAA2B,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;AACnF,QAAA,qBAAqB,GAAG;IACnC,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,WAAW;IACX,WAAW;IACX,YAAY;CACJ,CAAC;AACE,QAAA,wBAAwB,GAAG,sBAAsB,CAAC;AAClD,QAAA,2BAA2B,GAAG;IACzC,cAAc;IACd,eAAe;IACf,eAAe;IACf,gCAAwB;CAChB,CAAC;AACE,QAAA,kBAAkB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAA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  icon: z.ZodOptional<z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>>;
196
196
  author: z.ZodOptional<z.ZodString>;
197
+ contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
198
+ repository: z.ZodOptional<z.ZodString>;
197
199
  homepage: z.ZodOptional<z.ZodString>;
198
200
  license: z.ZodOptional<z.ZodString>;
199
201
  scope: z.ZodDefault<z.ZodArray<z.ZodEnum<["user", "group", "org", "public"]>, "many">>;
@@ -530,6 +532,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
530
532
  resource: "project_data" | "secrets" | "network";
531
533
  access: "read" | "write" | "outbound";
532
534
  }[];
535
+ repository?: string | undefined;
533
536
  source?: {
534
537
  kind: "plugin";
535
538
  } | {
@@ -571,6 +574,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
571
574
  exports: string[];
572
575
  } | undefined;
573
576
  author?: string | undefined;
577
+ contributors?: string[] | undefined;
574
578
  homepage?: string | undefined;
575
579
  license?: string | undefined;
576
580
  }, {
@@ -618,6 +622,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
618
622
  export: string;
619
623
  } | undefined;
620
624
  }[] | undefined;
625
+ repository?: string | undefined;
621
626
  source?: {
622
627
  kind: "plugin";
623
628
  } | {
@@ -661,6 +666,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
661
666
  exports: string[];
662
667
  } | undefined;
663
668
  author?: string | undefined;
669
+ contributors?: string[] | undefined;
664
670
  homepage?: string | undefined;
665
671
  license?: string | undefined;
666
672
  permissions?: {
@@ -718,6 +724,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
718
724
  resource: "project_data" | "secrets" | "network";
719
725
  access: "read" | "write" | "outbound";
720
726
  }[];
727
+ repository?: string | undefined;
721
728
  source?: {
722
729
  kind: "plugin";
723
730
  } | {
@@ -759,6 +766,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
759
766
  exports: string[];
760
767
  } | undefined;
761
768
  author?: string | undefined;
769
+ contributors?: string[] | undefined;
762
770
  homepage?: string | undefined;
763
771
  license?: string | undefined;
764
772
  }, {
@@ -806,6 +814,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
806
814
  export: string;
807
815
  } | undefined;
808
816
  }[] | undefined;
817
+ repository?: string | undefined;
809
818
  source?: {
810
819
  kind: "plugin";
811
820
  } | {
@@ -849,6 +858,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
849
858
  exports: string[];
850
859
  } | undefined;
851
860
  author?: string | undefined;
861
+ contributors?: string[] | undefined;
852
862
  homepage?: string | undefined;
853
863
  license?: string | undefined;
854
864
  permissions?: {
@@ -909,6 +919,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
909
919
  resource: "project_data" | "secrets" | "network";
910
920
  access: "read" | "write" | "outbound";
911
921
  }[];
922
+ repository?: string | undefined;
912
923
  source?: {
913
924
  kind: "plugin";
914
925
  } | {
@@ -950,6 +961,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
950
961
  exports: string[];
951
962
  } | undefined;
952
963
  author?: string | undefined;
964
+ contributors?: string[] | undefined;
953
965
  homepage?: string | undefined;
954
966
  license?: string | undefined;
955
967
  };
@@ -1000,6 +1012,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
1000
1012
  export: string;
1001
1013
  } | undefined;
1002
1014
  }[] | undefined;
1015
+ repository?: string | undefined;
1003
1016
  source?: {
1004
1017
  kind: "plugin";
1005
1018
  } | {
@@ -1043,6 +1056,7 @@ export declare const AuthorizedPluginRelease: z.ZodObject<{
1043
1056
  exports: string[];
1044
1057
  } | undefined;
1045
1058
  author?: string | undefined;
1059
+ contributors?: string[] | undefined;
1046
1060
  homepage?: string | undefined;
1047
1061
  license?: string | undefined;
1048
1062
  permissions?: {
@@ -1 +1 @@
1
- {"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin/execution.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EASvB,CAAC;AACZ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE1E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAM1B,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAexB,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE5E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGlC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -0,0 +1,396 @@
1
+ import { z } from "zod";
2
+ export declare const PluginConfigPath: z.ZodEffects<z.ZodString, string, string>;
3
+ export declare const PluginReleaseConfig: z.ZodEffects<z.ZodObject<{
4
+ apiVersion: z.ZodLiteral<"octonode.plugin/v1">;
5
+ id: z.ZodString;
6
+ version: z.ZodString;
7
+ scope: z.ZodEnum<["user", "team", "organization", "public"]>;
8
+ teamId: z.ZodOptional<z.ZodString>;
9
+ orgId: z.ZodOptional<z.ZodString>;
10
+ contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11
+ workflow: z.ZodDefault<z.ZodString>;
12
+ }, "strict", z.ZodTypeAny, {
13
+ workflow: string;
14
+ id: string;
15
+ scope: "user" | "public" | "team" | "organization";
16
+ apiVersion: "octonode.plugin/v1";
17
+ version: string;
18
+ contributors?: string[] | undefined;
19
+ teamId?: string | undefined;
20
+ orgId?: string | undefined;
21
+ }, {
22
+ id: string;
23
+ scope: "user" | "public" | "team" | "organization";
24
+ apiVersion: "octonode.plugin/v1";
25
+ version: string;
26
+ workflow?: string | undefined;
27
+ contributors?: string[] | undefined;
28
+ teamId?: string | undefined;
29
+ orgId?: string | undefined;
30
+ }>, {
31
+ workflow: string;
32
+ id: string;
33
+ scope: "user" | "public" | "team" | "organization";
34
+ apiVersion: "octonode.plugin/v1";
35
+ version: string;
36
+ contributors?: string[] | undefined;
37
+ teamId?: string | undefined;
38
+ orgId?: string | undefined;
39
+ }, {
40
+ id: string;
41
+ scope: "user" | "public" | "team" | "organization";
42
+ apiVersion: "octonode.plugin/v1";
43
+ version: string;
44
+ workflow?: string | undefined;
45
+ contributors?: string[] | undefined;
46
+ teamId?: string | undefined;
47
+ orgId?: string | undefined;
48
+ }>;
49
+ export type PluginReleaseConfig = z.infer<typeof PluginReleaseConfig>;
50
+ export declare const pluginReleaseScope: (config: PluginReleaseConfig) => "user" | "group" | "org" | "public";
51
+ export declare const PluginPublisherInput: z.ZodObject<{
52
+ repositoryId: z.ZodNumber;
53
+ configPath: z.ZodEffects<z.ZodString, string, string>;
54
+ }, "strict", z.ZodTypeAny, {
55
+ repositoryId: number;
56
+ configPath: string;
57
+ }, {
58
+ repositoryId: number;
59
+ configPath: string;
60
+ }>;
61
+ export declare const PluginPublisherConsent: z.ZodObject<{
62
+ repositoryId: z.ZodNumber;
63
+ configPath: z.ZodEffects<z.ZodString, string, string>;
64
+ } & {
65
+ sha256: z.ZodString;
66
+ }, "strict", z.ZodTypeAny, {
67
+ sha256: string;
68
+ repositoryId: number;
69
+ configPath: string;
70
+ }, {
71
+ sha256: string;
72
+ repositoryId: number;
73
+ configPath: string;
74
+ }>;
75
+ export declare const PluginPublisherPreview: z.ZodObject<{
76
+ config: z.ZodEffects<z.ZodObject<{
77
+ apiVersion: z.ZodLiteral<"octonode.plugin/v1">;
78
+ id: z.ZodString;
79
+ version: z.ZodString;
80
+ scope: z.ZodEnum<["user", "team", "organization", "public"]>;
81
+ teamId: z.ZodOptional<z.ZodString>;
82
+ orgId: z.ZodOptional<z.ZodString>;
83
+ contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
84
+ workflow: z.ZodDefault<z.ZodString>;
85
+ }, "strict", z.ZodTypeAny, {
86
+ workflow: string;
87
+ id: string;
88
+ scope: "user" | "public" | "team" | "organization";
89
+ apiVersion: "octonode.plugin/v1";
90
+ version: string;
91
+ contributors?: string[] | undefined;
92
+ teamId?: string | undefined;
93
+ orgId?: string | undefined;
94
+ }, {
95
+ id: string;
96
+ scope: "user" | "public" | "team" | "organization";
97
+ apiVersion: "octonode.plugin/v1";
98
+ version: string;
99
+ workflow?: string | undefined;
100
+ contributors?: string[] | undefined;
101
+ teamId?: string | undefined;
102
+ orgId?: string | undefined;
103
+ }>, {
104
+ workflow: string;
105
+ id: string;
106
+ scope: "user" | "public" | "team" | "organization";
107
+ apiVersion: "octonode.plugin/v1";
108
+ version: string;
109
+ contributors?: string[] | undefined;
110
+ teamId?: string | undefined;
111
+ orgId?: string | undefined;
112
+ }, {
113
+ id: string;
114
+ scope: "user" | "public" | "team" | "organization";
115
+ apiVersion: "octonode.plugin/v1";
116
+ version: string;
117
+ workflow?: string | undefined;
118
+ contributors?: string[] | undefined;
119
+ teamId?: string | undefined;
120
+ orgId?: string | undefined;
121
+ }>;
122
+ sha256: z.ZodString;
123
+ repository: z.ZodString;
124
+ branch: z.ZodString;
125
+ }, "strip", z.ZodTypeAny, {
126
+ repository: string;
127
+ config: {
128
+ workflow: string;
129
+ id: string;
130
+ scope: "user" | "public" | "team" | "organization";
131
+ apiVersion: "octonode.plugin/v1";
132
+ version: string;
133
+ contributors?: string[] | undefined;
134
+ teamId?: string | undefined;
135
+ orgId?: string | undefined;
136
+ };
137
+ sha256: string;
138
+ branch: string;
139
+ }, {
140
+ repository: string;
141
+ config: {
142
+ id: string;
143
+ scope: "user" | "public" | "team" | "organization";
144
+ apiVersion: "octonode.plugin/v1";
145
+ version: string;
146
+ workflow?: string | undefined;
147
+ contributors?: string[] | undefined;
148
+ teamId?: string | undefined;
149
+ orgId?: string | undefined;
150
+ };
151
+ sha256: string;
152
+ branch: string;
153
+ }>;
154
+ export declare const PluginPublisherConnection: z.ZodObject<{
155
+ config: z.ZodEffects<z.ZodObject<{
156
+ apiVersion: z.ZodLiteral<"octonode.plugin/v1">;
157
+ id: z.ZodString;
158
+ version: z.ZodString;
159
+ scope: z.ZodEnum<["user", "team", "organization", "public"]>;
160
+ teamId: z.ZodOptional<z.ZodString>;
161
+ orgId: z.ZodOptional<z.ZodString>;
162
+ contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
163
+ workflow: z.ZodDefault<z.ZodString>;
164
+ }, "strict", z.ZodTypeAny, {
165
+ workflow: string;
166
+ id: string;
167
+ scope: "user" | "public" | "team" | "organization";
168
+ apiVersion: "octonode.plugin/v1";
169
+ version: string;
170
+ contributors?: string[] | undefined;
171
+ teamId?: string | undefined;
172
+ orgId?: string | undefined;
173
+ }, {
174
+ id: string;
175
+ scope: "user" | "public" | "team" | "organization";
176
+ apiVersion: "octonode.plugin/v1";
177
+ version: string;
178
+ workflow?: string | undefined;
179
+ contributors?: string[] | undefined;
180
+ teamId?: string | undefined;
181
+ orgId?: string | undefined;
182
+ }>, {
183
+ workflow: string;
184
+ id: string;
185
+ scope: "user" | "public" | "team" | "organization";
186
+ apiVersion: "octonode.plugin/v1";
187
+ version: string;
188
+ contributors?: string[] | undefined;
189
+ teamId?: string | undefined;
190
+ orgId?: string | undefined;
191
+ }, {
192
+ id: string;
193
+ scope: "user" | "public" | "team" | "organization";
194
+ apiVersion: "octonode.plugin/v1";
195
+ version: string;
196
+ workflow?: string | undefined;
197
+ contributors?: string[] | undefined;
198
+ teamId?: string | undefined;
199
+ orgId?: string | undefined;
200
+ }>;
201
+ sha256: z.ZodString;
202
+ repository: z.ZodString;
203
+ branch: z.ZodString;
204
+ } & {
205
+ id: z.ZodString;
206
+ repositoryId: z.ZodNumber;
207
+ configPath: z.ZodEffects<z.ZodString, string, string>;
208
+ lastVersion: z.ZodNullable<z.ZodString>;
209
+ lastSha: z.ZodNullable<z.ZodString>;
210
+ lastPublishedAt: z.ZodNullable<z.ZodNumber>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ repository: string;
213
+ config: {
214
+ workflow: string;
215
+ id: string;
216
+ scope: "user" | "public" | "team" | "organization";
217
+ apiVersion: "octonode.plugin/v1";
218
+ version: string;
219
+ contributors?: string[] | undefined;
220
+ teamId?: string | undefined;
221
+ orgId?: string | undefined;
222
+ };
223
+ id: string;
224
+ sha256: string;
225
+ repositoryId: number;
226
+ configPath: string;
227
+ branch: string;
228
+ lastVersion: string | null;
229
+ lastSha: string | null;
230
+ lastPublishedAt: number | null;
231
+ }, {
232
+ repository: string;
233
+ config: {
234
+ id: string;
235
+ scope: "user" | "public" | "team" | "organization";
236
+ apiVersion: "octonode.plugin/v1";
237
+ version: string;
238
+ workflow?: string | undefined;
239
+ contributors?: string[] | undefined;
240
+ teamId?: string | undefined;
241
+ orgId?: string | undefined;
242
+ };
243
+ id: string;
244
+ sha256: string;
245
+ repositoryId: number;
246
+ configPath: string;
247
+ branch: string;
248
+ lastVersion: string | null;
249
+ lastSha: string | null;
250
+ lastPublishedAt: number | null;
251
+ }>;
252
+ export declare const PluginPublisherConnections: z.ZodObject<{
253
+ items: z.ZodArray<z.ZodObject<{
254
+ config: z.ZodEffects<z.ZodObject<{
255
+ apiVersion: z.ZodLiteral<"octonode.plugin/v1">;
256
+ id: z.ZodString;
257
+ version: z.ZodString;
258
+ scope: z.ZodEnum<["user", "team", "organization", "public"]>;
259
+ teamId: z.ZodOptional<z.ZodString>;
260
+ orgId: z.ZodOptional<z.ZodString>;
261
+ contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
262
+ workflow: z.ZodDefault<z.ZodString>;
263
+ }, "strict", z.ZodTypeAny, {
264
+ workflow: string;
265
+ id: string;
266
+ scope: "user" | "public" | "team" | "organization";
267
+ apiVersion: "octonode.plugin/v1";
268
+ version: string;
269
+ contributors?: string[] | undefined;
270
+ teamId?: string | undefined;
271
+ orgId?: string | undefined;
272
+ }, {
273
+ id: string;
274
+ scope: "user" | "public" | "team" | "organization";
275
+ apiVersion: "octonode.plugin/v1";
276
+ version: string;
277
+ workflow?: string | undefined;
278
+ contributors?: string[] | undefined;
279
+ teamId?: string | undefined;
280
+ orgId?: string | undefined;
281
+ }>, {
282
+ workflow: string;
283
+ id: string;
284
+ scope: "user" | "public" | "team" | "organization";
285
+ apiVersion: "octonode.plugin/v1";
286
+ version: string;
287
+ contributors?: string[] | undefined;
288
+ teamId?: string | undefined;
289
+ orgId?: string | undefined;
290
+ }, {
291
+ id: string;
292
+ scope: "user" | "public" | "team" | "organization";
293
+ apiVersion: "octonode.plugin/v1";
294
+ version: string;
295
+ workflow?: string | undefined;
296
+ contributors?: string[] | undefined;
297
+ teamId?: string | undefined;
298
+ orgId?: string | undefined;
299
+ }>;
300
+ sha256: z.ZodString;
301
+ repository: z.ZodString;
302
+ branch: z.ZodString;
303
+ } & {
304
+ id: z.ZodString;
305
+ repositoryId: z.ZodNumber;
306
+ configPath: z.ZodEffects<z.ZodString, string, string>;
307
+ lastVersion: z.ZodNullable<z.ZodString>;
308
+ lastSha: z.ZodNullable<z.ZodString>;
309
+ lastPublishedAt: z.ZodNullable<z.ZodNumber>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ repository: string;
312
+ config: {
313
+ workflow: string;
314
+ id: string;
315
+ scope: "user" | "public" | "team" | "organization";
316
+ apiVersion: "octonode.plugin/v1";
317
+ version: string;
318
+ contributors?: string[] | undefined;
319
+ teamId?: string | undefined;
320
+ orgId?: string | undefined;
321
+ };
322
+ id: string;
323
+ sha256: string;
324
+ repositoryId: number;
325
+ configPath: string;
326
+ branch: string;
327
+ lastVersion: string | null;
328
+ lastSha: string | null;
329
+ lastPublishedAt: number | null;
330
+ }, {
331
+ repository: string;
332
+ config: {
333
+ id: string;
334
+ scope: "user" | "public" | "team" | "organization";
335
+ apiVersion: "octonode.plugin/v1";
336
+ version: string;
337
+ workflow?: string | undefined;
338
+ contributors?: string[] | undefined;
339
+ teamId?: string | undefined;
340
+ orgId?: string | undefined;
341
+ };
342
+ id: string;
343
+ sha256: string;
344
+ repositoryId: number;
345
+ configPath: string;
346
+ branch: string;
347
+ lastVersion: string | null;
348
+ lastSha: string | null;
349
+ lastPublishedAt: number | null;
350
+ }>, "many">;
351
+ }, "strip", z.ZodTypeAny, {
352
+ items: {
353
+ repository: string;
354
+ config: {
355
+ workflow: string;
356
+ id: string;
357
+ scope: "user" | "public" | "team" | "organization";
358
+ apiVersion: "octonode.plugin/v1";
359
+ version: string;
360
+ contributors?: string[] | undefined;
361
+ teamId?: string | undefined;
362
+ orgId?: string | undefined;
363
+ };
364
+ id: string;
365
+ sha256: string;
366
+ repositoryId: number;
367
+ configPath: string;
368
+ branch: string;
369
+ lastVersion: string | null;
370
+ lastSha: string | null;
371
+ lastPublishedAt: number | null;
372
+ }[];
373
+ }, {
374
+ items: {
375
+ repository: string;
376
+ config: {
377
+ id: string;
378
+ scope: "user" | "public" | "team" | "organization";
379
+ apiVersion: "octonode.plugin/v1";
380
+ version: string;
381
+ workflow?: string | undefined;
382
+ contributors?: string[] | undefined;
383
+ teamId?: string | undefined;
384
+ orgId?: string | undefined;
385
+ };
386
+ id: string;
387
+ sha256: string;
388
+ repositoryId: number;
389
+ configPath: string;
390
+ branch: string;
391
+ lastVersion: string | null;
392
+ lastSha: string | null;
393
+ lastPublishedAt: number | null;
394
+ }[];
395
+ }>;
396
+ //# sourceMappingURL=plugin-publishing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-publishing.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/plugin-publishing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,gBAAgB,2CAQ1B,CAAC;AACJ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuB5B,CAAC;AACL,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,eAAO,MAAM,kBAAkB,GAAI,QAAQ,mBAAmB,wCACoD,CAAC;AAEnH,eAAO,MAAM,oBAAoB;;;;;;;;;EAEtB,CAAC;AACZ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;EAA8E,CAAC;AAClH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKjC,CAAC;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0D,CAAC"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PluginPublisherConnections = exports.PluginPublisherConnection = exports.PluginPublisherPreview = exports.PluginPublisherConsent = exports.PluginPublisherInput = exports.pluginReleaseScope = exports.PluginReleaseConfig = exports.PluginConfigPath = void 0;
4
+ // Generated from packages/schema/src/plugin-publishing.ts. Do not edit; run the Octonode SDK sync.
5
+ const zod_1 = require("zod");
6
+ const plugin_version_1 = require("./plugin-version");
7
+ exports.PluginConfigPath = zod_1.z
8
+ .string()
9
+ .max(512)
10
+ .refine((path) => /^(?:[a-zA-Z0-9_.-]+\/)*plugin\.octonode\.(json|ya?ml)$/.test(path) &&
11
+ !path.split("/").some((part) => [".", "..", ".git", "node_modules"].includes(part)), "Select a repository-relative plugin.octonode.json or .yml file");
12
+ exports.PluginReleaseConfig = zod_1.z
13
+ .object({
14
+ apiVersion: zod_1.z.literal("octonode.plugin/v1"),
15
+ id: zod_1.z
16
+ .string()
17
+ .max(128)
18
+ .regex(/^[a-z0-9][a-z0-9-]*$/),
19
+ version: plugin_version_1.PluginVersion,
20
+ scope: zod_1.z.enum(["user", "team", "organization", "public"]),
21
+ teamId: zod_1.z.string().min(1).max(128).optional(),
22
+ orgId: zod_1.z.string().min(1).max(128).optional(),
23
+ contributors: zod_1.z.array(zod_1.z.string().trim().min(1).max(240)).max(100).optional(),
24
+ workflow: zod_1.z
25
+ .string()
26
+ .regex(/^\.github\/workflows\/[a-zA-Z0-9_-]+\.ya?ml$/)
27
+ .default(".github/workflows/octonode-publish.yml"),
28
+ })
29
+ .strict()
30
+ .superRefine((config, ctx) => {
31
+ if ((config.scope === "team") !== Boolean(config.teamId))
32
+ ctx.addIssue({ code: "custom", path: ["teamId"], message: "teamId is required only for team scope" });
33
+ if ((config.scope === "organization") !== Boolean(config.orgId))
34
+ ctx.addIssue({ code: "custom", path: ["orgId"], message: "orgId is required only for organization scope" });
35
+ });
36
+ const pluginReleaseScope = (config) => config.scope === "team" ? "group" : config.scope === "organization" ? "org" : config.scope;
37
+ exports.pluginReleaseScope = pluginReleaseScope;
38
+ exports.PluginPublisherInput = zod_1.z
39
+ .object({ repositoryId: zod_1.z.number().int().positive(), configPath: exports.PluginConfigPath })
40
+ .strict();
41
+ exports.PluginPublisherConsent = exports.PluginPublisherInput.extend({ sha256: zod_1.z.string().regex(/^[a-f0-9]{64}$/) });
42
+ exports.PluginPublisherPreview = zod_1.z.object({
43
+ config: exports.PluginReleaseConfig,
44
+ sha256: zod_1.z.string(),
45
+ repository: zod_1.z.string(),
46
+ branch: zod_1.z.string(),
47
+ });
48
+ exports.PluginPublisherConnection = exports.PluginPublisherPreview.extend({
49
+ id: zod_1.z.string().uuid(),
50
+ repositoryId: zod_1.z.number(),
51
+ configPath: exports.PluginConfigPath,
52
+ lastVersion: zod_1.z.string().nullable(),
53
+ lastSha: zod_1.z.string().nullable(),
54
+ lastPublishedAt: zod_1.z.number().nullable(),
55
+ });
56
+ exports.PluginPublisherConnections = zod_1.z.object({ items: zod_1.z.array(exports.PluginPublisherConnection) });
57
+ //# sourceMappingURL=plugin-publishing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-publishing.js","sourceRoot":"","sources":["../../../src/plugins/schema/plugin-publishing.ts"],"names":[],"mappings":";;;AAAA,mGAAmG;AACnG,6BAAwB;AACxB,qDA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AG,OAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,2BAAmB;IAC3B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AACU,QAAA,yBAAyB,GAAG,8BAAsB,CAAC,MAAM,CAAC;IACrE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,wBAAgB;IAC5B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AACU,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,iCAAyB,CAAC,EAAE,CAAC,CAAC"}
@@ -2,5 +2,7 @@ export * from "../plugin";
2
2
  export * from "../ipc-envelope";
3
3
  export * from "../icons";
4
4
  export { PreparedPluginRuntime } from "../plugin/execution";
5
- export { SETTINGS_API_VERSION, PLUGIN_SCHEMA_VERSION } from "../constants";
5
+ export { SETTINGS_API_VERSION, PLUGIN_SCHEMA_VERSION, PLUGIN_RELEASE_FILES, PLUGIN_PUBLISH_AUDIENCE, PLUGIN_CONFIG_MAX_BYTES, PLUGIN_PUBLISH_MAX_BYTES, } from "../constants";
6
+ export * from "../plugin-publishing";
7
+ export * from "../plugin-version";
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin-sdk/index.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin-sdk/index.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAEtB,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.PLUGIN_SCHEMA_VERSION = exports.SETTINGS_API_VERSION = exports.PreparedPluginRuntime = void 0;
17
+ exports.PLUGIN_PUBLISH_MAX_BYTES = exports.PLUGIN_CONFIG_MAX_BYTES = exports.PLUGIN_PUBLISH_AUDIENCE = exports.PLUGIN_RELEASE_FILES = exports.PLUGIN_SCHEMA_VERSION = exports.SETTINGS_API_VERSION = exports.PreparedPluginRuntime = void 0;
18
18
  // Generated from packages/schema/src/plugin-sdk/index.ts. Do not edit; run the Octonode SDK sync.
19
19
  __exportStar(require("../plugin"), exports);
20
20
  __exportStar(require("../ipc-envelope"), exports);
@@ -24,4 +24,10 @@ Object.defineProperty(exports, "PreparedPluginRuntime", { enumerable: true, get:
24
24
  var constants_1 = require("../constants");
25
25
  Object.defineProperty(exports, "SETTINGS_API_VERSION", { enumerable: true, get: function () { return constants_1.SETTINGS_API_VERSION; } });
26
26
  Object.defineProperty(exports, "PLUGIN_SCHEMA_VERSION", { enumerable: true, get: function () { return constants_1.PLUGIN_SCHEMA_VERSION; } });
27
+ Object.defineProperty(exports, "PLUGIN_RELEASE_FILES", { enumerable: true, get: function () { return constants_1.PLUGIN_RELEASE_FILES; } });
28
+ Object.defineProperty(exports, "PLUGIN_PUBLISH_AUDIENCE", { enumerable: true, get: function () { return constants_1.PLUGIN_PUBLISH_AUDIENCE; } });
29
+ Object.defineProperty(exports, "PLUGIN_CONFIG_MAX_BYTES", { enumerable: true, get: function () { return constants_1.PLUGIN_CONFIG_MAX_BYTES; } });
30
+ Object.defineProperty(exports, "PLUGIN_PUBLISH_MAX_BYTES", { enumerable: true, get: function () { return constants_1.PLUGIN_PUBLISH_MAX_BYTES; } });
31
+ __exportStar(require("../plugin-publishing"), exports);
32
+ __exportStar(require("../plugin-version"), exports);
27
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin-sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kGAAkG;AAClG,4CAA0B;AAC1B,kDAAgC;AAChC,2CAAyB;AACzB,iDAA4D;AAAnD,kHAAA,qBAAqB,OAAA;AAC9B,0CAA2E;AAAlE,iHAAA,oBAAoB,OAAA;AAAE,kHAAA,qBAAqB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/schema/plugin-sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kGAAkG;AAClG,4CAA0B;AAC1B,kDAAgC;AAChC,2CAAyB;AACzB,iDAA4D;AAAnD,kHAAA,qBAAqB,OAAA;AAC9B,0CAOsB;AANpB,iHAAA,oBAAoB,OAAA;AACpB,kHAAA,qBAAqB,OAAA;AACrB,iHAAA,oBAAoB,OAAA;AACpB,oHAAA,uBAAuB,OAAA;AACvB,oHAAA,uBAAuB,OAAA;AACvB,qHAAA,wBAAwB,OAAA;AAG1B,uDAAqC;AACrC,oDAAkC"}
@@ -0,0 +1,8 @@
1
+ import { z } from "zod";
2
+ /** SemVer 2.0.0: no leading zeroes in numeric identifiers. */
3
+ export declare const PluginVersion: z.ZodString;
4
+ /** Legacy invalid versions sort below SemVer; build metadata never affects precedence. */
5
+ export declare function comparePluginVersions(left: string, right: string): number;
6
+ /** Match npm's stable patch/minor/major bumps, including promotion from prereleases. */
7
+ export declare function bumpPluginVersion(version: string, release: "patch" | "minor" | "major"): string;
8
+ //# sourceMappingURL=plugin-version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-version.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/plugin-version.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,8DAA8D;AAC9D,eAAO,MAAM,aAAa,aAMvB,CAAC;AAEJ,0FAA0F;AAC1F,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAuBzE;AAED,wFAAwF;AACxF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAc/F"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PluginVersion = void 0;
4
+ exports.comparePluginVersions = comparePluginVersions;
5
+ exports.bumpPluginVersion = bumpPluginVersion;
6
+ // Generated from packages/schema/src/plugin-version.ts. Do not edit; run the Octonode SDK sync.
7
+ const zod_1 = require("zod");
8
+ /** SemVer 2.0.0: no leading zeroes in numeric identifiers. */
9
+ exports.PluginVersion = zod_1.z
10
+ .string()
11
+ .max(200)
12
+ .regex(/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/, "Use a semantic version such as 1.2.3 or 2.0.0-beta.1");
13
+ /** Legacy invalid versions sort below SemVer; build metadata never affects precedence. */
14
+ function comparePluginVersions(left, right) {
15
+ const validLeft = exports.PluginVersion.safeParse(left).success;
16
+ const validRight = exports.PluginVersion.safeParse(right).success;
17
+ if (!validLeft || !validRight)
18
+ return Number(validLeft) - Number(validRight) || left.localeCompare(right);
19
+ const [leftCore, ...leftPre] = left.split("+")[0].split("-");
20
+ const [rightCore, ...rightPre] = right.split("+")[0].split("-");
21
+ const numeric = (a, b) => a.length - b.length || (a > b ? 1 : a < b ? -1 : 0);
22
+ const a = leftCore.split(".");
23
+ const b = rightCore.split(".");
24
+ for (let i = 0; i < 3; i++) {
25
+ const difference = numeric(a[i], b[i]);
26
+ if (difference)
27
+ return difference;
28
+ }
29
+ if (!leftPre.length || !rightPre.length)
30
+ return Number(!leftPre.length) - Number(!rightPre.length);
31
+ const ap = leftPre.join("-").split(".");
32
+ const bp = rightPre.join("-").split(".");
33
+ for (let i = 0; i < Math.min(ap.length, bp.length); i++) {
34
+ if (ap[i] === bp[i])
35
+ continue;
36
+ const an = /^\d+$/.test(ap[i]);
37
+ const bn = /^\d+$/.test(bp[i]);
38
+ return an && bn ? numeric(ap[i], bp[i]) : an !== bn ? Number(bn) - Number(an) : ap[i] > bp[i] ? 1 : -1;
39
+ }
40
+ return ap.length - bp.length;
41
+ }
42
+ /** Match npm's stable patch/minor/major bumps, including promotion from prereleases. */
43
+ function bumpPluginVersion(version, release) {
44
+ exports.PluginVersion.parse(version);
45
+ const core = version.split("+")[0];
46
+ const prerelease = core.includes("-");
47
+ let [major, minor, patch] = core.split("-")[0].split(".").map(BigInt);
48
+ if (release === "major") {
49
+ major += !prerelease || minor !== 0n || patch !== 0n ? 1n : 0n;
50
+ minor = 0n;
51
+ patch = 0n;
52
+ }
53
+ else if (release === "minor") {
54
+ minor += !prerelease || patch !== 0n ? 1n : 0n;
55
+ patch = 0n;
56
+ }
57
+ else
58
+ patch += prerelease ? 0n : 1n;
59
+ return exports.PluginVersion.parse(`${major}.${minor}.${patch}`);
60
+ }
61
+ //# sourceMappingURL=plugin-version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-version.js","sourceRoot":"","sources":["../../../src/plugins/schema/plugin-version.ts"],"names":[],"mappings":";;;AAaA,sDAuBC;AAGD,8CAcC;AArDD,gGAAgG;AAChG,6BAAwB;AAExB,8DAA8D;AACjD,QAAA,aAAa,GAAG,OAAC;KAC3B,MAAM,EAAE;KACR,GAAG,CAAC,GAAG,CAAC;KACR,KAAK,CACJ,mLAAmL,EACnL,sDAAsD,CACvD,CAAC;AAEJ,0FAA0F;AAC1F,SAAgB,qBAAqB,CAAC,IAAY,EAAE,KAAa;IAC/D,MAAM,SAAS,GAAG,qBAAa,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC;IACxD,MAAM,UAAU,GAAG,qBAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;IAC1D,IAAI,CAAC,SAAS,IAAI,CAAC,UAAU;QAAE,OAAO,MAAM,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC1G,MAAM,CAAC,QAAQ,EAAE,GAAG,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC7D,MAAM,CAAC,SAAS,EAAE,GAAG,QAAQ,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAChE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,CAAC,EAAE,CAAC;QAC/D,KAAK,GAAG,EAAE,CAAC;QACX,KAAK,GAAG,EAAE,CAAC;IACb,CAAC;SAAM,IAAI,OAAO,KAAK,OAAO,EAAE,CAAC;QAC/B,KAAK,IAAI,CAAC,UAAU,IAAI,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/C,KAAK,GAAG,EAAE,CAAC;IACb,CAAC;;QAAM,KAAK,IAAI,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACrC,OAAO,qBAAa,CAAC,KAAK,CAAC,GAAG,KAAK,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC,CAAC;AAC3D,CAAC"}
@@ -446,6 +446,8 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
446
446
  }>>;
447
447
  icon: z.ZodOptional<z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>>;
448
448
  author: z.ZodOptional<z.ZodString>;
449
+ contributors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
450
+ repository: z.ZodOptional<z.ZodString>;
449
451
  homepage: z.ZodOptional<z.ZodString>;
450
452
  license: z.ZodOptional<z.ZodString>;
451
453
  /** Distribution tiers this plugin may be discovered/installed from. Private by default. */
@@ -790,6 +792,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
790
792
  resource: "project_data" | "secrets" | "network";
791
793
  access: "read" | "write" | "outbound";
792
794
  }[];
795
+ repository?: string | undefined;
793
796
  source?: {
794
797
  kind: "plugin";
795
798
  } | {
@@ -831,6 +834,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
831
834
  exports: string[];
832
835
  } | undefined;
833
836
  author?: string | undefined;
837
+ contributors?: string[] | undefined;
834
838
  homepage?: string | undefined;
835
839
  license?: string | undefined;
836
840
  }, {
@@ -878,6 +882,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
878
882
  export: string;
879
883
  } | undefined;
880
884
  }[] | undefined;
885
+ repository?: string | undefined;
881
886
  source?: {
882
887
  kind: "plugin";
883
888
  } | {
@@ -921,6 +926,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
921
926
  exports: string[];
922
927
  } | undefined;
923
928
  author?: string | undefined;
929
+ contributors?: string[] | undefined;
924
930
  homepage?: string | undefined;
925
931
  license?: string | undefined;
926
932
  permissions?: {
@@ -978,6 +984,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
978
984
  resource: "project_data" | "secrets" | "network";
979
985
  access: "read" | "write" | "outbound";
980
986
  }[];
987
+ repository?: string | undefined;
981
988
  source?: {
982
989
  kind: "plugin";
983
990
  } | {
@@ -1019,6 +1026,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
1019
1026
  exports: string[];
1020
1027
  } | undefined;
1021
1028
  author?: string | undefined;
1029
+ contributors?: string[] | undefined;
1022
1030
  homepage?: string | undefined;
1023
1031
  license?: string | undefined;
1024
1032
  }, {
@@ -1066,6 +1074,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
1066
1074
  export: string;
1067
1075
  } | undefined;
1068
1076
  }[] | undefined;
1077
+ repository?: string | undefined;
1069
1078
  source?: {
1070
1079
  kind: "plugin";
1071
1080
  } | {
@@ -1109,6 +1118,7 @@ export declare const PluginManifest: z.ZodEffects<z.ZodObject<{
1109
1118
  exports: string[];
1110
1119
  } | undefined;
1111
1120
  author?: string | undefined;
1121
+ contributors?: string[] | undefined;
1112
1122
  homepage?: string | undefined;
1113
1123
  license?: string | undefined;
1114
1124
  permissions?: {
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;GAIG;AACH,eAAO,MAAM,WAAW,+CAA6C,CAAC;AACtE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc,sCAAoC,CAAC;AAChE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,eAAO,MAAM,0BAA0B,QAAa,CAAC;AAerD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAed,CAAC;AACZ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC;AAE3C,0FAA0F;AAC1F,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAqBlB,CAAC;AACZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;IASrC,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEpF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAAoF,CAAC;AAErH;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;IAErB,oEAAoE;;;;;;;;;;IAUpE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOjF,oGAAoG;;IAKpG,8EAA8E;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0K5E,CAAC;AACL,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -158,6 +158,12 @@ exports.PluginManifest = zod_1.z
158
158
  .optional(),
159
159
  icon: icons_1.IconName.optional(),
160
160
  author: zod_1.z.string().optional(),
161
+ contributors: zod_1.z.array(zod_1.z.string().trim().min(1).max(240)).max(100).optional(),
162
+ repository: zod_1.z
163
+ .string()
164
+ .url()
165
+ .regex(/^https:\/\/github\.com\/[^/]+\/[^/]+\/?$/)
166
+ .optional(),
161
167
  homepage: zod_1.z.string().optional(),
162
168
  license: zod_1.z.string().optional(),
163
169
  /** Distribution tiers this plugin may be discovered/installed from. Private by default. */
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../src/plugins/schema/plugin.ts"],"names":[],"mappings":";;;AAAA,wFAAwF;AACxF,6BAAwB;AACxB,iDAA4C;AAC5C,mCAAmC;AACnC,2CAAoD;AAEpD;;;;GAIG;AACU,QAAA,WAAW,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;AAGzD,QAAA,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAEnD,QAAA,0BAA0B,GAAG,GAAG,GAAG,IAAI,CAAC;AAErD,MAAM,aAAa,GAAG,OAAC;KACpB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,KAAK,CAAC;KACV,MAAM,CACL,CAAC,KAAK,EAAE,EAAE,CACR,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC;IACtB,CAAC,KAAK,CAAC,Q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AE,CAAC,CAAC,MAAM;QAC9C,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,KAAK,SAAS,IAAI,UAAU,CAAC,MAAM,KAAK,MAAM,CAAC;QAE7G,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,aAAa,CAAC;YACrB,OAAO,EAAE,wDAAwD;SAClE,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -8,4 +8,6 @@ export type { PluginNodeOptions, SchemaValue } from "./types";
8
8
  export { PLUGIN_UI_BUNDLE_MAX_BYTES, PluginManifest, PluginNode, PluginConnection } from "../../schema/plugin-sdk";
9
9
  export { SETTINGS_API_VERSION } from "../../schema/plugin-sdk";
10
10
  export { PreparedPluginRuntime } from "../../schema/plugin-sdk";
11
+ export { PluginReleaseConfig, PluginConfigPath, pluginReleaseScope, bumpPluginVersion, PLUGIN_RELEASE_FILES, PLUGIN_CONFIG_MAX_BYTES, PLUGIN_PUBLISH_MAX_BYTES, PLUGIN_PUBLISH_AUDIENCE, } from "../../schema/plugin-sdk";
12
+ export type { PluginScope } from "../../schema/plugin-sdk";
11
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/sdk/plugins/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAClE,YAAY,EAAE,gBAAgB,EAAE,aAAa,E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 -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreparedPluginRuntime = exports.SETTINGS_API_VERSION = exports.PluginConnection = exports.PluginNode = exports.PluginManifest = exports.PLUGIN_UI_BUNDLE_MAX_BYTES = exports.validate = exports.NodeError = exports.processRequest = exports.runNode = exports.startPlugin = exports.definePlugin = exports.defineNode = void 0;
3
+ exports.PLUGIN_PUBLISH_AUDIENCE = exports.PLUGIN_PUBLISH_MAX_BYTES = exports.PLUGIN_CONFIG_MAX_BYTES = exports.PLUGIN_RELEASE_FILES = exports.bumpPluginVersion = exports.pluginReleaseScope = exports.PluginConfigPath = exports.PluginReleaseConfig = exports.PreparedPluginRuntime = exports.SETTINGS_API_VERSION = exports.PluginConnection = exports.PluginNode = exports.PluginManifest = exports.PLUGIN_UI_BUNDLE_MAX_BYTES = exports.validate = exports.NodeError = exports.processRequest = exports.runNode = exports.startPlugin = exports.definePlugin = exports.defineNode = void 0;
4
4
  // Generated from packages/plugin-runtime/src/plugins/index.ts. Do not edit; run the Octonode SDK sync.
5
5
  var define_node_1 = require("./define-node");
6
6
  Object.defineProperty(exports, "defineNode", { enumerable: true, get: function () { return define_node_1.defineNode; } });
@@ -22,4 +22,13 @@ var plugin_sdk_2 = require("../../schema/plugin-sdk");
22
22
  Object.defineProperty(exports, "SETTINGS_API_VERSION", { enumerable: true, get: function () { return plugin_sdk_2.SETTINGS_API_VERSION; } });
23
23
  var plugin_sdk_3 = require("../../schema/plugin-sdk");
24
24
  Object.defineProperty(exports, "PreparedPluginRuntime", { enumerable: true, get: function () { return plugin_sdk_3.PreparedPluginRuntime; } });
25
+ var plugin_sdk_4 = require("../../schema/plugin-sdk");
26
+ Object.defineProperty(exports, "PluginReleaseConfig", { enumerable: true, get: function () { return plugin_sdk_4.PluginReleaseConfig; } });
27
+ Object.defineProperty(exports, "PluginConfigPath", { enumerable: true, get: function () { return plugin_sdk_4.PluginConfigPath; } });
28
+ Object.defineProperty(exports, "pluginReleaseScope", { enumerable: true, get: function () { return plugin_sdk_4.pluginReleaseScope; } });
29
+ Object.defineProperty(exports, "bumpPluginVersion", { enumerable: true, get: function () { return plugin_sdk_4.bumpPluginVersion; } });
30
+ Object.defineProperty(exports, "PLUGIN_RELEASE_FILES", { enumerable: true, get: function () { return plugin_sdk_4.PLUGIN_RELEASE_FILES; } });
31
+ Object.defineProperty(exports, "PLUGIN_CONFIG_MAX_BYTES", { enumerable: true, get: function () { return plugin_sdk_4.PLUGIN_CONFIG_MAX_BYTES; } });
32
+ Object.defineProperty(exports, "PLUGIN_PUBLISH_MAX_BYTES", { enumerable: true, get: function () { return plugin_sdk_4.PLUGIN_PUBLISH_MAX_BYTES; } });
33
+ Object.defineProperty(exports, "PLUGIN_PUBLISH_AUDIENCE", { enumerable: true, get: function () { return plugin_sdk_4.PLUGIN_PUBLISH_AUDIENCE; } });
25
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/sdk/plugins/index.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AACvG,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,oCAAsD;AAA7C,sGAAA,YAAY,OAAA;AAAE,qGAAA,WAAW,OAAA;AAClC,oCAA+D;AAAtD,iGAAA,OAAO,OAAA;AAAE,wGAAA,cAAc,OAAA;AAAE,mGAAA,SAAS,OAAA;AAC3C,8CAA0C;AAAjC,uGAAA,QAAQ,OAAA;AAIjB,sDAAmH;AAA1G,wHAAA,0BAA0B,OAAA;AAAE,4GAAA,cAAc,OAAA;AAAE,wGAAA,UAAU,OAAA;AAAE,8GAAA,gBAAgB,OAAA;AACjF,sDAA+D;AAAtD,kHAAA,oBAAoB,OAAA;AAC7B,sDAAgE;AAAvD,mHAAA,qBAAqB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plugins/sdk/plugins/index.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AACvG,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,oCAAsD;AAA7C,sGAAA,YAAY,OAAA;AAAE,qGAAA,WAAW,OAAA;AAClC,oCAA+D;AAAtD,iGAAA,OAAO,OAAA;AAAE,wGAAA,cAAc,OAAA;AAAE,mGAAA,SAAS,OAAA;AAC3C,8CAA0C;AAAjC,uGAAA,QAAQ,OAAA;AAIjB,sDAAmH;AAA1G,wHAAA,0BAA0B,OAAA;AAAE,4GAAA,cAAc,OAAA;AAAE,wGAAA,UAAU,OAAA;AAAE,8GAAA,gBAAgB,OAAA;AACjF,sDAA+D;AAAtD,kHAAA,oBAAoB,OAAA;AAC7B,sDAAgE;AAAvD,mHAAA,qBAAqB,OAAA;AAE9B,sDASiC;AAR/B,iHAAA,mBAAmB,OAAA;AACnB,8GAAA,gBAAgB,OAAA;AAChB,gHAAA,kBAAkB,OAAA;AAClB,+GAAA,iBAAiB,OAAA;AACjB,kHAAA,oBAAoB,OAAA;AACpB,qHAAA,uBAAuB,OAAA;AACvB,sHAAA,wBAAwB,OAAA;AACxB,qHAAA,uBAAuB,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octonodes/sdk",
3
- "version": "0.1.14",
3
+ "version": "0.2.0",
4
4
  "description": "Octonode API client and code-first plugin SDK.",
5
5
  "license": "MIT",
6
6
  "repository": {